]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
[BZ #19129][ARM] Fix _dl_tlsdesc_resolve_hold to save r0
[thirdparty/glibc.git] / ChangeLog
1 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
2
3 [BZ #19129]
4 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
5 r0 and r1.
6
7 2015-10-14 Namhyung Kim <namhyung@gmail.com>
8
9 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
10
11 2015-10-14 Carlos O'Donell <carlos@redhat.com>
12
13 * include/stap-probe.h: Fix macro definition formatting.
14
15 2015-10-14 Florian Weimer <fweimer@redhat.com>
16
17 [BZ #19074]
18 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19 load and store num_ifs.
20
21 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
22
23 [BZ #18822]
24 * sysdeps/unix/sysv/linux/sched_getaffinity.c
25 (__sched_getaffinity_new): Add libc_hidden_proto and
26 libc_hidden_def.
27
28 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
29
30 [BZ #19007]
31 * scripts/localplt.awk: Also allow GOT references.
32 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
33 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
34 with "+ REL R_386_GLOB_DAT".
35 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
36 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
37
38 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
39
40 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
41 INLINE_SYSCALL_ERROR_RETURN_VALUE.
42 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
43 Likewise.
44 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
45 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
46 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
47 INTERNAL_SYSCALLINTERNAL_SYSCALL and
48 INLINE_SYSCALL_ERROR_RETURN_VALUE.
49 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
50 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
51 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
52 Likewise.
53 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54
55 2015-10-13 Joseph Myers <joseph@codesourcery.com>
56
57 [BZ #19125]
58 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
59 <math_private.h> and <stdint.h>.
60 (__llround): Avoid conversions to and from long long int, and
61 subtractions, where those might raise spurious exceptions.
62 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
63 <math_private.h> and <stdint.h>.
64 (__llroundf): Avoid conversions to and from long long int, and
65 subtractions, where those might raise spurious exceptions.
66
67 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
68
69 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
70 INLINE_SYSCALL_ERROR_RETURN_VALUE.
71 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
72 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
73 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
74 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
75 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
76 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
77 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
78 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
79 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
80 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
81 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
82 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
83 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
84 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
85 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
86 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
87 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
88 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
89 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
90 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
91 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
92 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
93 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
94 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
95 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
96 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
97 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
98 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
99 (__xstat64_conv): Likewise.
100 (__xstat32_conv): Likewise.
101
102 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
103
104 * sysdeps/unix/sysv/linux/sysdep.h: New file.
105 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
106 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
107 <sysdeps/unix/sysv/linux/sysdep.h>.
108 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
109 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
110 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
111 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
112 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
113 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
114 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
115 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
116 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
117 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
119 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
120 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
121 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
122 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
124 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
125 (sysdep-dl-routines): Add sysdep.
126 [$(subdir) == nptl] (libpthread-routines): Likewise.
127 [$(subdir) == rt] (librt-routines): Likewise.
128 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
129 PIC when branching to SYSCALL_ERROR_LABEL.
130 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
131 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
132 <sysdeps/unix/sysv/linux/sysdep.h>.
133 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
134 (SYSCALL_ERROR_ERRNO): Removed.
135 (SYSCALL_ERROR_HANDLER): Changed to empty.
136 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
137 (__syscall_error): New prototype.
138 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
139 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
140
141 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
142
143 [BZ #19124]
144 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
145 (_dl_runtime_resolve_avx512): Make it a hidden alias of
146 _dl_runtime_resolve_avx.
147 (_dl_runtime_profile_avx512): Make it a hidden alias of
148 _dl_runtime_profile_avx.
149
150 2015-10-13 Joseph Myers <joseph@codesourcery.com>
151
152 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
153 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
154 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
155 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
156
157 [BZ #16422]
158 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
159 New configure test.
160 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
161 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
162 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
163 <math_private.h> and <stdint.h>.
164 (__llrint): Avoid conversions to long long int where those might
165 raise spurious exceptions.
166 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
167 <math_private.h> and <stdint.h>.
168 (__llrintf): Avoid conversions to long long int where those might
169 raise spurious exceptions.
170
171 2015-10-12 Andreas Schwab <schwab@suse.de>
172
173 [BZ #18969]
174 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
175 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
176 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
177 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
178 $(gen-locales).
179 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
180 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
181 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
182 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
183 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
184 $(gen-locales).
185 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
186 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
187 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
188 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
189 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
190 ($(objpfx)tst-ftell-active-handler.out)
191 ($(objpfx)tst-ftell-append.out)
192 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
193 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
194 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
195 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
196 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
197 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
198 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
199 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
200 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
201 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
202 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
203 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
204 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
205 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
206 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
207 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
208 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
209 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
210 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
211 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
212 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
213 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
214 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
215 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
216 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
217 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
218 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
219 $(gen-locales).
220 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
221 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
222 $(gen-locales).
223 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
224 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
225 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
226 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
227 $(gen-locales).
228 * libio/tst_wprintf2.c (main): Use explicit locale.
229 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
230
231 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
232
233 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
234 __msg_sig_post.
235 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
236
237 2015-10-09 Joseph Myers <joseph@codesourcery.com>
238
239 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
240 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
241
242 * sysdeps/arm/libm-test-ulps: Regenerated.
243
244 [BZ #15470]
245 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
246
247 [BZ #16399]
248 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
249 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
250 and <fix-fp-int-convert-overflow.h>.
251 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
252 FIX_DBL_LLONG_CONVERT_OVERFLOW.
253 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
254 and <fix-fp-int-convert-overflow.h>.
255 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
256 FIX_DBL_LLONG_CONVERT_OVERFLOW.
257 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
258 <fix-fp-int-convert-overflow.h>.
259 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
260 FIX_DBL_LLONG_CONVERT_OVERFLOW.
261 * sysdeps/ieee754/dbl-64/s_lround.c: Include
262 <fix-fp-int-convert-overflow.h>.
263 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
264 FIX_DBL_LLONG_CONVERT_OVERFLOW.
265 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
266 and <fix-fp-int-convert-overflow.h>.
267 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
268 FIX_DBL_LLONG_CONVERT_OVERFLOW.
269 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
270 <limits.h> and <fix-fp-int-convert-overflow.h>.
271 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
272 FIX_DBL_LLONG_CONVERT_OVERFLOW.
273 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
274 and <fix-fp-int-convert-overflow.h>.
275 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
276 FIX_DBL_LLONG_CONVERT_OVERFLOW.
277 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
278 and <fix-fp-int-convert-overflow.h>.
279 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
280 FIX_DBL_LLONG_CONVERT_OVERFLOW.
281 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
282
283 2015-10-09 Carlos O'Donell <carlos@redhat.com>
284
285 [BZ #18589]
286 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
287 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
288 $(gen-locales).
289
290 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
291 Phil Blundell <pb@pbcl.net>
292
293 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
294 * nptl/tst-cancel26.c: New file.
295 * nptl/tst-cancel27.c: Likewise.
296
297 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
298
299 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
300 __ILP32__ isn't defined.
301 (lrint): Likewise.
302 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
303 (lrintf): Likewise.
304 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
305 (lrintl): Likewise.
306 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
307 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
308 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
309
310 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
311
312 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
313 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
314
315 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
316 file.
317 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
318 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
319
320 2015-10-09 Joseph Myers <joseph@codesourcery.com>
321
322 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
323 configure test.
324 * sysdeps/i386/configure: Regenerated.
325 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
326 configure test.
327 * sysdeps/x86_64/configure: Regenerated.
328 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
329 Make code unconditional.
330
331 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
332 test.
333 * sysdeps/i386/configure: Regenerated.
334 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
335 test.
336 * sysdeps/x86_64/configure: Regenerated.
337 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
338 Make code unconditional.
339 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
340 Likewise.
341 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
342 Likewise.
343 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
344 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
345 code unconditional.
346 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
347 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
348 code unconditional.
349 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
350 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
351 code unconditional.
352 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
353 code unconditional.
354 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
355 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
356 code unconditional.
357 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
358 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
359 code unconditional.
360 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
361 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
362 code unconditional.
363 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
364 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
365 code unconditional.
366 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
367 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
368
369 [BZ #19095]
370 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
371 mantissa to long int before shifting left.
372
373 2015-10-08 Joseph Myers <joseph@codesourcery.com>
374
375 [BZ #19094]
376 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
377 <limits.h>.
378 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
379 when result overflows but exception would not result from cast.
380 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
381 <limits.h>.
382 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
383 when result overflows but exception would not result from cast.
384 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
385 <limits.h>.
386 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
387 when result overflows but exception would not result from cast.
388 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
389 <limits.h>.
390 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
391 when result overflows but exception would not result from cast.
392 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
393 <limits.h>.
394 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
395 when result overflows but exception would not result from cast.
396 * math/libm-test.inc (lrint_test_data): Add more tests.
397 (llrint_test_data): Likewise.
398
399 2015-10-08 Roland McGrath <roland@hack.frob.com>
400
401 [BZ #18872]
402 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
403 Move out from under [$(run-built-tests) = yes] conditional.
404 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
405 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
406
407 2015-10-08 Carlos O'Donell <carlos@redhat.com>
408
409 [BZ #18589]
410 * string/Makefile (tests): Add bug-strcoll2.
411 (LOCALES): Add cs_CZ.UTF-8.
412 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
413
414 [BZ #18589]
415 * string/bug-strcoll2.c: New file.
416 * locale/categories.def: Revert commit
417 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
418 * locale/langinfo.h: Likewise.
419 * locale/localeinfo.h: Likewise.
420 * locale/C-collate.c: Likewise.
421 * locale/programs/ld-collate.c (collate_output): Likewise.
422 * string/strcoll_l.c (STRDIFF): Likewise.
423 (STRCOLL): Likewise.
424 * wcsmbs/wcscoll_l.c: Likewise.
425
426 2015-10-08 Joseph Myers <joseph@codesourcery.com>
427
428 * math/libm-test.inc (lround_test_data): Do not expect the absence
429 of "inexact" for some tests with non-integer arguments.
430 (llround_test_data): Likewise.
431
432 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
433 test.
434 (libc_cv_cc_sse2avx): Likewise.
435 * sysdeps/i386/configure: Regenerated.
436 * sysdeps/i386/i686/multiarch/Makefile
437 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
438 [$(subdir) = math].
439 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
440 code unconditional.
441 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
442 Likewise.
443 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
444 Likewise.
445 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
446 Likewise.
447 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
448 test.
449 (libc_cv_cc_sse2avx): Likewise.
450 * sysdeps/x86_64/configure: Regenerated.
451 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
452 unconditional.
453 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
454 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
455 unconditional.
456 (_dl_runtime_profile)
457 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
458 conditional code.
459 * sysdeps/x86_64/fpu/multiarch/Makefile
460 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
462 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
463 * sysdeps/x86_64/fpu/multiarch/e_exp.c
464 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
465 * sysdeps/x86_64/fpu/multiarch/e_log.c
466 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
467 * sysdeps/x86_64/fpu/multiarch/s_atan.c
468 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
469 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
470 Likewise.
471 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
472 Likewise.
473 * sysdeps/x86_64/fpu/multiarch/s_sin.c
474 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
475 * sysdeps/x86_64/fpu/multiarch/s_tan.c
476 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
477 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
478 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
479 (HAVE_SSE2AVX_SUPPORT): Likewise.
480
481 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
482
483 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
484 instead of #pragma optimize.
485
486 2015-10-07 Carlos O'Donell <carlos@redhat.com>
487
488 [BZ #17195]
489 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
490 as is similarly done in systrim and _int_free already.
491
492 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
493
494 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
495
496 2015-10-07 Joseph Myers <joseph@codesourcery.com>
497
498 [BZ #19088]
499 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
500 <limits.h>.
501 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
502 overflows but exception would not result from cast.
503 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
504 and <limits.h>.
505 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
506 overflows but exception would not result from cast.
507 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
508 <limits.h>.
509 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
510 overflows but exception would not result from cast.
511 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
512 <limits.h>.
513 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
514 overflows but exception would not result from cast.
515 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
516 <limits.h>.
517 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
518 overflows but exception would not result from cast.
519 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
520 <limits.h>.
521 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
522 overflows but exception would not result from cast.
523 * math/libm-test.inc (lround_test_data): Add more tests.
524 (llround_test_data): Likewise.
525
526 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
527
528 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
529 (CFLAGS-ialloc.c): Ditto.
530 (CFLAGS-scheck.c): Ditto.
531
532 2015-10-07 Carlos O'Donell <carlos@redhat.com>
533
534 [BZ #19086]
535 * manual/filesys.texi (Storage Allocation): Fix argument order for
536 posix_fallocate64.
537
538 2015-10-07 Joseph Myers <joseph@codesourcery.com>
539
540 [BZ #19085]
541 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
542 exponent below 48 inside case for non-overflowing exponent.
543 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
544
545 2015-10-07 Florian Weimer <fweimer@redhat.com>
546
547 * iconvdata/cp737.h (from_idx): Add const.
548 * iconvdata/cp775.h (from_idx): Likewise.
549
550 2015-10-07 Joseph Myers <joseph@codesourcery.com>
551
552 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
553 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
554 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
555
556 [BZ #19079]
557 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
558 file, conditioned on [!_LP64].
559 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
560 [!_LP64] (__lround): Do not define as function or alias.
561 [!_LP64] (lround): Likewise.
562 [!_LP64] (__lroundl): Likewise.
563 [!_LP64] (lroundl): Likewise.
564 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
565 macro.
566 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
567 Likewise.
568
569 2015-10-06 Joseph Myers <joseph@codesourcery.com>
570
571 * math/libm-test.inc (lrint_test_data): Add more tests.
572 (llrint_test_data): Likewise.
573 (lround_test_data): Likewise.
574 (llround_test_data): Likewise.
575
576 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
577 (llrint_test_data): Add tests used for lrint.
578
579 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
580 test.
581 * sysdeps/i386/configure: Regenerated.
582 * sysdeps/i386/i686/multiarch/Makefile
583 [$(config-cflags-sse4) = yes]: Make code unconditional.
584 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
585 Likewise.
586 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
587 Likewise.
588 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
589 test.
590 * sysdeps/x86_64/configure: Regenerated.
591 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
592 Make code unconditional.
593 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
594 Likewise.
595 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
596 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
597
598 * scripts/rpm2dynsym.sh: Remove file.
599
600 2015-10-06 Florian Weimer <fweimer@redhat.com>
601
602 * configure.ac (libc_cv_cxx_thread_local): Define.
603 * configure: Regenerate.
604 * config.make.in (have-cxx-thread_local): Define.
605 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
606 (LDLIBS-tst-thread_local1): Define.
607 (tests): Add tst-thread_local1.
608 [have-cxx-thread_local != yes] (tests-unsupported): Add
609 tst-thread_local1.
610 * nptl/tst-thread_local1.cc: New file.
611
612 2015-10-06 Joseph Myers <joseph@codesourcery.com>
613
614 [BZ #19078]
615 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
616 (u_thres): Likewise.
617 (__expl): Determine whether to call __kernel_standard_l based on
618 value of result, not argument.
619
620 * math/libm-test.inc (scalb_test_data): Add more expectations for
621 the "inexact" exception.
622
623 [BZ #19077]
624 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
625 0.0L for argument 1.0L.
626
627 [BZ #19076]
628 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
629 constant 0.0L when computing infinite result.
630
631 2015-10-06 Florian Weimer <fweimer@redhat.com>
632
633 [BZ #10432]
634 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
635 malloc_usable_size.
636
637 2015-10-06 Florian Weimer <fweimer@redhat.com>
638
639 [BZ #19018]
640 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
641 Mangle function pointer before storing it.
642 (__call_tls_dtors): Demangle function pointer before calling it.
643
644 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
645
646 [BZ #19012]
647 * iconv/gconv_db.c (gen_steps): Check for additional errors.
648 Clean up on failure.
649
650 2015-10-05 Joseph Myers <joseph@codesourcery.com>
651
652 [BZ #19071]
653 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
654 long int variable to store possibly incremented high part of
655 mantissa.
656 * math/libm-test.inc (lround_test_data): Add tests used for
657 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
658 for tests requiring 64-bit long. Do not condition tests on
659 [TEST_FLOAT] unnecessarily.
660 (llround_test_data): Add tests used for lround. Add another
661 expectation for the "inexact" exception. Do not condition tests
662 on [TEST_FLOAT] unnecessarily.
663
664 [BZ #887]
665 [BZ #19049]
666 [BZ #19050]
667 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
668 * sysdeps/ieee754/dbl-64/e_log10.c: Include
669 <fix-int-fp-convert-zero.h>.
670 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
671 * sysdeps/ieee754/dbl-64/e_log2.c: Include
672 <fix-int-fp-convert-zero.h>.
673 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
674 * sysdeps/ieee754/dbl-64/s_erf.c: Include
675 <fix-int-fp-convert-zero.h>.
676 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
677 * sysdeps/ieee754/dbl-64/s_logb.c: Include
678 <fix-int-fp-convert-zero.h>.
679 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
680 * sysdeps/ieee754/flt-32/e_log10f.c: Include
681 <fix-int-fp-convert-zero.h>.
682 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
683 * sysdeps/ieee754/flt-32/e_log2f.c: Include
684 <fix-int-fp-convert-zero.h>.
685 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
686 * sysdeps/ieee754/flt-32/s_erff.c: Include
687 <fix-int-fp-convert-zero.h>.
688 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
689 * sysdeps/ieee754/flt-32/s_logbf.c: Include
690 <fix-int-fp-convert-zero.h>.
691 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
692 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
693 <fix-int-fp-convert-zero.h>.
694 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
695 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
696 <fix-int-fp-convert-zero.h>.
697 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
698 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
699 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
700 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
701 file.
702 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
703
704 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
705
706 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
707
708 2015-10-02 Joseph Myers <joseph@codesourcery.com>
709
710 [BZ #19059]
711 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
712 overflowing computation.
713 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
714 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
715 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
716 Likewise.
717 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
718 Likewise.
719 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
720 Likewise.
721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
722 Likewise.
723 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
724 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
725 Likewise.
726 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
727 Likewise.
728 * math/libm-test.inc (nexttoward_test_data): Add more tests.
729
730 * nss/rewrite_field.c (__nss_rewrite_field): Use
731 internal_function.
732 * nss/valid_field.c (__nss_valid_field): Likewise.
733 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
734
735 2015-10-02 Florian Weimer <fweimer@redhat.com>
736
737 [BZ #18724]
738 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
739 (__nss_invalid_field_characters, __nss_valid_field)
740 (__nss_valid_list_field, __nss_rewrite_field): Declare.
741 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
742 tst-field.c: New file.
743 * nss/Makefile (routines): Add valid_field, rewrite_field.
744 (tests-static): Define unconditionally.
745 (tests): Include tests-static.
746 [build-static-nss] (tests-static): Use append.
747 [build-static-nss] (tests): Remove modification.
748 * nss/getent.c (print_group): Call putgrent. Report error.
749 (print_gshadow): Call putsgent. Report error.
750 (print_passwd): Call putpwent. Report error.
751 (print_shadow): Call putspent. Report error.
752 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
753 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
754 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
755 name, password, directory, shell fields for valid syntax. Rewrite
756 GECOS field to match syntax.
757 * pwd/Makefile (tests): Add tst-putpwent.
758 * pwd/tst-putpwent.c: New file.
759 * grp/putgrent.c (putgrent): Convert to ISO function definition.
760 Check grName, grpasswd, gr_mem fields for valid syntax.
761 Change loop variable i to size_t.
762 * grp/Makefile (tests): Add tst-putgrent.
763 * grp/tst-putgrent.c: New file.
764 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
765 valid syntax.
766 * shadow/Makefile (tests): Add tst-putspent.
767 * shadow/tst-putspent.c: New file.
768 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
769 sg_mem fields for valid syntax.
770 * gshadow/Makefile (tests): Add tst-putsgent.
771 * gshadow/tst-putsgent.c: New file.
772
773 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
774
775 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
776 assembly instructions.
777
778 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
779
780 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
781 prefix from operands.
782
783 2015-10-01 Joseph Myers <joseph@codesourcery.com>
784
785 [BZ #16347]
786 [BZ #19046]
787 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
788 <libc-internal.h>.
789 (MAXLGM): Do not use diagnostic control macros.
790 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
791 threshold for ldbl-128ibm.
792 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
793 instead of multiplying by log then subtracting.
794 * math/auto-libm-test-in: Add more tests of lgamma.
795 * math/auto-libm-test-out: Regenerated.
796
797 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
798 (TYPE_HEX_DIG): Likewise.
799 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
800 precisions when printing floating-point numbers.
801 (check_float_internal): Likewise.
802
803 2015-09-30 Joseph Myers <joseph@codesourcery.com>
804
805 [BZ #16620]
806 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
807 of log (10) rounded downward to 48 bits.
808 (log10_low): Use corresponding low part of log (10).
809
810 [BZ #19032]
811 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
812 compute result as (x - x) / (x - x) not as 0 / 0.
813 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
814 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
815
816 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
817 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
818 and expm1.
819 * math/auto-libm-test-out: Regenerated.
820 * math/libm-test.inc (acos_test_data): Add more tests.
821 (asin_test_data): Likewise.
822 (asinh_test_data): Likewise.
823 (atan_test_data): Likewise.
824 (atanh_test_data): Likewise.
825 (atan2_test_data): Likewise.
826 (cbrt_test_data): Likewise.
827 (ceil_test_data): Likewise.
828 (copysign_test_data): Likewise.
829 (cos_test_data): Likewise.
830 (cosh_test_data): Likewise.
831 (erf_test_data): Likewise.
832 (erfc_test_data): Likewise.
833 (exp_test_data): Likewise.
834 (exp10_test_data): Likewise.
835 (exp2_test_data): Likewise.
836 (expm1_test_data): Likewise.
837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
838
839 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
840
841 [BZ #19006]
842 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
843 to ...
844 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
845 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
846 to ...
847 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
848 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
849 to ...
850 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
851 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
852 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
853 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
854 to ...
855 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
856 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
857 Moved to ...
858 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
859 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
860 Moved to ...
861 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
862 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
863 to ...
864 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
865 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
866 Moved to ...
867 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
868 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
869 to ...
870 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
871 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
872 Removed.
873 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
874 Likewise.
875 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
876 Likewise.
877 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
878 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
879 Likewise.
880 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
881 Likewise.
882 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
883 Likewise.
884 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
885 Likewise.
886 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
887 Likewise.
888 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
889 Likewise.
890 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
891 Likewise.
892 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
893 Likewise.
894 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
895 Likewise.
896 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
897 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
898 Likewise.
899 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
900 Likewise.
901 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
902 Likewise.
903 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
904 Likewise.
905 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
906 Likewise.
907 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
908 Replace ../i486/pthread_cond_timedwait.S with
909 ../pthread_cond_timedwait.S.
910
911 2015-09-30 Joseph Myers <joseph@codesourcery.com>
912
913 * math/libm-test.inc (acos_test_data): Refine expectations for
914 errno and "inexact" exceptions.
915 (acosh_test_data): Likewise.
916 (asin_test_data): Likewise.
917 (asinh_test_data): Likewise.
918 (atan_test_data): Likewise.
919 (atanh_test_data): Likewise.
920 (atan2_test_data): Likewise.
921 (cbrt_test_data): Likewise.
922 (ceil_test_data): Likewise.
923 (copysign_test_data): Likewise.
924 (cosh_test_data): Likewise.
925 (erf_test_data): Likewise.
926 (erfc_test_data): Likewise.
927 (exp_test_data): Likewise.
928 (exp10_test_data): Likewise.
929 (exp2_test_data): Likewise.
930 (expm1_test_data): Likewise.
931 (fabs_test_data): Likewise.
932 (floor_test_data): Likewise.
933 (fma_test_data): Likewise.
934 (fmax_test_data): Likewise.
935 (fmin_test_data): Likewise.
936 (fmod_test_data): Likewise.
937 (fpclassify_test_data): Likewise.
938 (frexp_test_data): Likewise.
939 (hypot_test_data): Likewise.
940 (ilogb_test_data): Likewise.
941 (isgreater_test_data): Likewise.
942 (isgreaterequal_test_data): Likewise.
943 (isinf_test_data): Likewise.
944 (isless_test_data): Likewise.
945 (islessequal_test_data): Likewise.
946 (islessgreater_test_data): Likewise.
947 (isnan_test_data): Likewise.
948 (isnormal_test_data): Likewise.
949 (issignaling_test_data): Likewise.
950 (isunordered_test_data): Likewise.
951 (j0_test_data): Likewise.
952 (j1_test_data): Likewise.
953 (jn_test_data): Likewise.
954 (lgamma_test_data): Likewise.
955 (lrint_test_data): Likewise.
956 (llrint_test_data): Likewise.
957 (log_test_data): Likewise.
958 (log10_test_data): Likewise.
959 (log1p_test_data): Likewise.
960 (log2_test_data): Likewise.
961 (logb_test_data): Likewise.
962 (lround_test_data): Likewise.
963 (llround_test_data): Likewise.
964 (modf_test_data): Likewise.
965 (nearbyint_test_data): Likewise.
966 (nextafter_test_data): Likewise.
967 (nexttoward_test_data): Likewise.
968 (pow_test_data): Likewise.
969 (remainder_test_data): Likewise.
970 (remquo_test_data): Likewise.
971 (rint_test_data): Likewise.
972 (round_test_data): Likewise.
973 (signbit_test_data): Likewise.
974 (sinh_test_data): Likewise.
975 (sqrt_test_data): Likewise.
976 (tanh_test_data): Likewise.
977 (tgamma_test_data): Likewise.
978 (trunc_test_data): Likewise.
979 (y0_test_data): Likewise.
980 (y1_test_data): Likewise.
981 (yn_test_data): Likewise.
982 (significand_test_data): Likewise.
983
984 2015-09-29 Carlos O'Donell <carlos@redhat.com>
985
986 * manual/filesys.texi (Storage Allocation): Document that
987 posix_fallocate emulation fails when fd is open with O_WRONLY.
988
989 2015-09-28 Joseph Myers <joseph@codesourcery.com>
990
991 [BZ #19016]
992 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
993 allow more cases with X^2 + Y^2 >= 0.5.
994 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
995 normal element in sum instead of special-casing based on values of
996 arguments.
997 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
998 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
999 -1 as normal element in sum instead of special-casing based on
1000 values of arguments.
1001 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
1002 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
1003 (__x2y2m1): Update comment.
1004 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
1005 as normal element in sum instead of special-casing based on values
1006 of arguments.
1007 * math/s_clog.c (__clog): Handle more cases using log1p without
1008 hypot.
1009 * math/s_clog10.c (__clog10): Likewise.
1010 * math/s_clog10f.c (__clog10f): Likewise.
1011 * math/s_clog10l.c (__clog10l): Likewise.
1012 * math/s_clogf.c (__clogf): Likewise.
1013 * math/s_clogl.c (__clogl): Likewise.
1014 * math/auto-libm-test-in: Add more tests of clog and clog10.
1015 * math/auto-libm-test-out: Regenerated.
1016 * sysdeps/i386/fpu/libm-test-ulps: Update.
1017 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1018
1019 2015-09-28 Martin Sebor <msebor@redhat.com>
1020
1021 [BZ #18969]
1022 * string/Makefile (LOCALES): Define.
1023 (gen-locales.mk): Include.
1024 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
1025 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
1026 * string/tst-strxfrm2.c (do_test): Print the name of the locale
1027 on setlocale failure.
1028
1029 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
1030
1031 [BZ #18985]
1032 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
1033 (__strftime_internal): Likewise.
1034 * time/tst-strftime.c (do_bz18985): New test.
1035 (do_test): Call it.
1036
1037 2015-09-26 Joseph Myers <joseph@codesourcery.com>
1038
1039 [BZ #18956]
1040 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
1041 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
1042 extracting high part.
1043 * math/auto-libm-test-in: Add another test of pow.
1044 * math/auto-libm-test-out: Regenerated.
1045 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
1046
1047 2015-09-25 Joseph Myers <joseph@codesourcery.com>
1048
1049 [BZ #18825]
1050 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
1051 New macro.
1052 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
1053 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1054 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
1055 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
1056 DBL_NARROW_EVAL, reloading the PIC register as needed.
1057 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
1058 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
1059 FLT_NARROW_EVAL. Use separate return path for case when first
1060 argument is NaN.
1061 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
1062 DEFINE_LDBL_MIN.
1063 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
1064 PIC register.
1065 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
1066 math_check_force_underflow_nonneg.
1067 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
1068 underflow for subnormal result.
1069 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
1070 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
1071 math_check_force_underflow_nonneg.
1072 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
1073 math_check_force_underflow.
1074 * sysdeps/x86_64/fpu/x86_64-math-asm.h
1075 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
1076 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
1077 DEFINE_LDBL_MIN.
1078 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
1079 * math/auto-libm-test-in: Add more tests of pow.
1080 * math/auto-libm-test-out: Regenerated.
1081
1082 2015-09-25 Florian Weimer <fweimer@redhat.com>
1083
1084 * nss/bug17079.c (init_test_items): Add diagnostic for
1085 inconsistent entries.
1086 (test_buffer_size): Skip inconsistent entries.
1087
1088 2015-09-25 Joseph Myers <joseph@codesourcery.com>
1089
1090 [BZ #13304]
1091 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
1092 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
1093 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
1094
1095 [BZ #13304]
1096 * sysdeps/microblaze/s_fma.c: New file.
1097 * sysdeps/microblaze/s_fmaf.c: Likewise.
1098 * sysdeps/microblaze/sfp-machine.h: Likewise.
1099
1100 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
1101
1102 [BZ #17250]
1103 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
1104 member.
1105
1106 2015-09-24 Joseph Myers <joseph@codesourcery.com>
1107
1108 [BZ #18803]
1109 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
1110 (MO): New macro.
1111 (__ieee754_hypot) [PIC]: Load PIC register.
1112 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
1113 DBL_NARROW_EVAL.
1114 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
1115 math_check_force_underflow_nonneg in case where result might be
1116 tiny.
1117 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
1118 Likewise.
1119 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
1120 Likewise.
1121 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
1122 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
1123 * math/auto-libm-test-in: Add more tests of hypot.
1124 * math/auto-libm-test-out: Regenerated.
1125
1126 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
1127
1128 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
1129
1130 2015-09-24 Joseph Myers <joseph@codesourcery.com>
1131
1132 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
1133 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
1134 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1135 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1136 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
1137 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1138 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1139
1140 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
1141 LOAD_PIC_REG.
1142
1143 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
1144 (FLT_CHECK_FORCE_UFLOW): Likewise.
1145 (DBL_CHECK_FORCE_UFLOW): Likewise.
1146 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
1147 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
1148 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
1149 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1150 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
1151 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1152 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1153 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
1154 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
1155 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1156 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
1157 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
1158 (flt_min): Replace with use of DEFINE_FLT_MIN.
1159 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
1160 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
1161 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1162 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
1163 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
1164 (flt_min): Replace with use of DEFINE_FLT_MIN.
1165 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
1166 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
1167 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1168 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
1169 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
1170 (flt_min): Replace with use of DEFINE_FLT_MIN.
1171 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
1172 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
1173 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
1174 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
1175 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
1176 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
1177 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
1178 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
1179 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1180 (__atan): Use DBL_CHECK_FORCE_UFLOW.
1181 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
1182 (flt_min): Replace with use of DEFINE_FLT_MIN.
1183 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
1184 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
1185 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1186 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
1187 main computation.
1188 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
1189 (flt_min): Replace with use of DEFINE_FLT_MIN.
1190 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
1191 main computation.
1192 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
1193 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1194 (MO): New macro.
1195 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
1196 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
1197 (flt_min): Replace with use of DEFINE_FLT_MIN.
1198 (MO): New macro.
1199 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
1200 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
1201 (__log1pl): Use MO.
1202
1203 [BZ #19003]
1204 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
1205 $(config-cflags-nofma).
1206
1207 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
1208
1209 * sysdeps/aarch64/libm-test-ulps: Regenerated.
1210
1211 2015-09-23 Joseph Myers <joseph@codesourcery.com>
1212
1213 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
1214 (TWO127): Likewise.
1215
1216 * sysdeps/generic/math_private.h (fabs_tg): New macro.
1217 (min_of_type): Likewise.
1218 (math_check_force_underflow): Likewise.
1219 (math_check_force_underflow_nonneg): Likewise.
1220 (math_check_force_underflow_complex): Likewise.
1221 * math/e_exp2l.c (__ieee754_exp2l): Use
1222 math_check_force_underflow_nonneg.
1223 * math/k_casinh.c (__kernel_casinh): Likewise.
1224 * math/k_casinhf.c (__kernel_casinhf): Likewise.
1225 * math/k_casinhl.c (__kernel_casinhl): Likewise.
1226 * math/s_catan.c (__catan): Use
1227 math_check_force_underflow_complex.
1228 * math/s_catanf.c (__catanf): Likewise.
1229 * math/s_catanh.c (__catanh): Likewise.
1230 * math/s_catanhf.c (__catanhf): Likewise.
1231 * math/s_catanhl.c (__catanhl): Likewise.
1232 * math/s_catanl.c (__catanl): Likewise.
1233 * math/s_ccosh.c (__ccosh): Likewise.
1234 * math/s_ccoshf.c (__ccoshf): Likewise.
1235 * math/s_ccoshl.c (__ccoshl): Likewise.
1236 * math/s_cexp.c (__cexp): Likewise.
1237 * math/s_cexpf.c (__cexpf): Likewise.
1238 * math/s_cexpl.c (__cexpl): Likewise.
1239 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
1240 * math/s_clog10.c (__clog10): Likewise.
1241 * math/s_clog10f.c (__clog10f): Likewise.
1242 * math/s_clog10l.c (__clog10l): Likewise.
1243 * math/s_clogf.c (__clogf): Likewise.
1244 * math/s_clogl.c (__clogl): Likewise.
1245 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
1246 * math/s_csinf.c (__csinf): Likewise.
1247 * math/s_csinh.c (__csinh): Likewise.
1248 * math/s_csinhf.c (__csinhf): Likewise.
1249 * math/s_csinhl.c (__csinhl): Likewise.
1250 * math/s_csinl.c (__csinl): Likewise.
1251 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
1252 * math/s_csqrtf.c (__csqrtf): Likewise.
1253 * math/s_csqrtl.c (__csqrtl): Likewise.
1254 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
1255 * math/s_ctanf.c (__ctanf): Likewise.
1256 * math/s_ctanh.c (__ctanh): Likewise.
1257 * math/s_ctanhf.c (__ctanhf): Likewise.
1258 * math/s_ctanhl.c (__ctanhl): Likewise.
1259 * math/s_ctanl.c (__ctanl): Likewise.
1260 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
1261 instead of volatile.
1262 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
1263 math_check_force_underflow.
1264 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
1265 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
1266 volatile when forcing underflow.
1267 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
1268 math_check_force_underflow_nonneg.
1269 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
1270 Likewise.
1271 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
1272 math_check_force_underflow.
1273 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
1274 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1275 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
1276 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
1277 math_check_force_underflow_nonneg.
1278 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
1279 math_check_force_underflow.
1280 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
1281 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
1282 instead of volatile.
1283 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
1284 math_check_force_underflow.
1285 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
1286 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
1287 math_check_force_underflow_nonneg.
1288 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
1289 math_check_force_underflow.
1290 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
1291 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
1292 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
1293 math_check_force_underflow_nonneg.
1294 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1295 Likewise.
1296 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
1297 math_check_force_underflow.
1298 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
1299 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1300 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
1301 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
1302 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
1303 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
1304 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
1305 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
1306 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1307 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
1308 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
1309 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
1310 Likewise.
1311 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
1312 math_check_force_underflow_nonneg.
1313 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1314 Likewise.
1315 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
1316 math_check_force_underflow.
1317 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
1318 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
1319 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
1320 Likewise.
1321 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
1322 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
1323 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
1324 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
1325 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
1326 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
1327 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
1328 instead of volatile.
1329 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
1330 math_check_force_underflow.
1331 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
1332 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
1333 math_check_force_underflow.
1334 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
1335 Likewise.
1336 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1337 Use math_check_force_underflow_nonneg.
1338 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
1339 math_check_force_underflow.
1340 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
1341 Likewise.
1342 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
1343 Likewise.
1344 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
1345 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
1346 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
1347 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
1348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
1349 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
1350 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
1351 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
1352 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
1353 math_check_force_underflow_nonneg.
1354 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
1355 math_check_force_underflow.
1356 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
1357 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
1358 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
1359 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
1360 math_check_force_underflow_nonneg.
1361 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
1362 math_check_force_underflow.
1363 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
1364 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
1365 instead of volatile.
1366 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
1367 math_check_force_underflow.
1368
1369 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
1370 * stdlib/strtod_l.c: Include <math_private.h>.
1371 (overflow_value): Use math_narrow_eval.
1372 (underflow_value): Likewise.
1373 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
1374 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
1375 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
1376 (__ieee754_gamma_r): Likewise.
1377 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
1378 Likewise.
1379 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1380 Likewise.
1381 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
1382 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
1383 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
1384 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
1385 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
1386 (__ieee754_gammaf_r): Likewise.
1387 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1388 Likewise.
1389 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
1390 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
1391 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
1392 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
1393 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
1394 volatile.
1395 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
1396 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
1397 math_narrow_eval.
1398 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
1399 Likewise.
1400 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
1401 Likewise.
1402 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
1403 Likewise.
1404 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
1405 volatile.
1406 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
1407 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
1408 math_narrow_eval.
1409 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
1410 Likewise.
1411 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
1412 Likewise.
1413
1414 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
1415
1416 * nptl/Versions: Remove ignored symbols.
1417
1418 2015-09-22 Florian Weimer <fweimer@redhat.com>
1419
1420 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
1421 * nss/Makefile (tests): Update.
1422
1423 2015-09-22 Florian Weimer <fweimer@redhat.com>
1424
1425 * nss/bug18287.c: New file.
1426 * nss/Makefile (tests): Add bug18287.
1427
1428 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
1429
1430 * mach/Versions (__mach_host_self_): Add symbol.
1431
1432 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
1433
1434 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
1435 vm_page_size.
1436
1437 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
1438
1439 Really fix sysdeps/i386/fpu/s_scalbn.S build
1440
1441 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
1442 (libc: GLIBC_2_22): Remove unused version set.
1443
1444 2015-09-18 Mike Frysinger <vapier@gentoo.org>
1445
1446 * config.make.in (enable-timezone-tools): New variable.
1447 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
1448 (enable_timezone_tools): Export to generated files.
1449 * configure: Regenerate.
1450 * INSTALL: Regenerate.
1451 * manual/install.texi (--disable-timezone-tools): Document new flag.
1452 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
1453 ifeq ($(enable-timezone-tools),yes) check.
1454
1455 2015-09-18 Joseph Myers <joseph@codesourcery.com>
1456
1457 * timezone/Makefile: Revert previous change.
1458
1459 [BZ #18980]
1460 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
1461 (DEFINE_DBL_MIN): Likewise.
1462 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1463 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
1464 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1465 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
1466 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
1467 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1468 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1469 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
1470 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
1471 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1472 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1473 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
1474 (flt_min): Replace with use of DEFINE_FLT_MIN.
1475 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1476 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
1477 (dbl_min): Replace with use of DEFINE_DBL_MIN.
1478 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
1479 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
1480 (flt_min): Replace with use of DEFINE_FLT_MIN.
1481 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1482 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
1483 (flt_min): Replace with use of DEFINE_FLT_MIN.
1484 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
1485 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
1486 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
1487 (__ieee754_hypot): Use DBL_NARROW_EVAL.
1488 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
1489 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
1490 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
1491 (__ieee754_pow): Use DBL_NARROW_EVAL.
1492 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
1493 (__ieee754_powf): Use FLT_NARROW_EVAL.
1494 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
1495 (__ieee754_expf_sse2): Convert double-precision result to single
1496 precision.
1497 * sysdeps/i386/fpu/libm-test-ulps: Update.
1498
1499 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1500
1501 * timezone/Makefile: Ignore unused variable errors due to private.h
1502 (time_t_min) and (time_t_max).
1503 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
1504 Likewise.
1505
1506 2015-09-18 Joseph Myers <joseph@codesourcery.com>
1507
1508 [BZ #18981]
1509 * sysdeps/i386/fpu/i386-math-asm.h: New file.
1510 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
1511 (__ieee754_scalb): Use DBL_NARROW_EVAL.
1512 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
1513 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
1514 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
1515 (__scalbn): Use DBL_NARROW_EVAL.
1516 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
1517 (__scalbnf): Use FLT_NARROW_EVAL.
1518
1519 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1520
1521 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
1522 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
1523 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
1524 * stdio-common/printf_fp.c (___printf_fp):
1525 Use signbit to get the sign. Use isinf macro to allow inlining.
1526 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
1527 * stdio-common/printf_size.c (__printf_size): Likewise.
1528
1529 2015-09-18 Mike Frysinger <vapier@gentoo.org>
1530
1531 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
1532
1533 2015-09-18 Joseph Myers <joseph@codesourcery.com>
1534
1535 [BZ #18980]
1536 * sysdeps/generic/math_private.h: Include <float.h>.
1537 (math_narrow_eval): New macro.
1538 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
1539 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
1540 math_narrow_eval on overflowing return value.
1541 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
1542 Likewise.
1543 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
1544 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
1545 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
1546 Likewise.
1547 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
1548
1549 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1550
1551 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
1552 * math/Makefile: Remove isinf_ns.c.
1553 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
1554 * math/multc3.c (__multc3): Likewise.
1555 * math/s_casin.c (__casin): Likewise.
1556 * math/s_casinf.c (__casinf): Likewise.
1557 * math/s_casinl.c (__casinl): Likewise.
1558 * math/s_cproj.c (__cproj): Likewise.
1559 * math/s_cprojf.c (__cprojf): Likewise.
1560 * math/s_cprojl.c (__cprofl): Likewise.
1561 * math/s_ctan.c (__ctan): Likewise.
1562 * math/s_ctanf.c (__ctanf): Likewise.
1563 * math/s_ctanh.c (__ctanh): Likewise.
1564 * math/s_ctanhf.c (__ctanhf): Likewise.
1565 * math/s_ctanhl.c (__ctanhl): Likewise.
1566 * math/s_ctanl.c (__ctanl): Likewise.
1567 * math/w_fmod.c (__fmod): Likewise.
1568 * math/w_fmodf.c (__fmodf): Likewise.
1569 * math/w_fmodl.c (_fmodl): Likewise.
1570 * math/w_remainder.c (__remainder): Likewise.
1571 * math/w_remainderf.c (__remainderf): Likewise.
1572 * math/w_remainderl.c (__remainderl): Likewise.
1573 * math/w_scalb.c (__scalb): Likewise.
1574 * math/w_scalbf.c (__scalbf): Likewise.
1575 * math/w_scalbl.c (__scalbl): Likewise.
1576 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
1577 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
1578 with isinf.
1579 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
1580 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
1581 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
1582 __isinf_nsf with isinf.
1583 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
1584 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
1585 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
1586 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
1587 with isinf.
1588 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
1589 __isinf_nsl with isinf.
1590 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
1591 with isinf.
1592 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
1593 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
1594 __isinf_nsl with isinf.
1595 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
1596 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
1597 with isinf.
1598
1599 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1600
1601 * resolv/base64.c (rcsid): Remove unused static.
1602 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
1603 static. (tqpi1): Likewise.
1604 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
1605 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
1606 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
1607 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
1608 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
1609 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
1610 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
1611 * timezone/private.h (time_t_min): Likewise. (time_t_max):
1612 Likewise.
1613
1614 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
1617 <nptl/pthreadP.h>.
1618 (_longjmp_unwind): Use __libc_ptf_call.
1619 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
1620
1621 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
1622
1623 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
1624 * sysdeps/arm/__longjmp.S: Likewise
1625
1626 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1627
1628 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
1629 Use __builtin_signbit.
1630 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
1631 Use __builtin_signbitf.
1632 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
1633 Use __builtin_signbitl.
1634 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
1635 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
1636
1637 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1638
1639 [BZ #15367]
1640 [BZ #17441]
1641
1642 * math/Makefile: Build test-snan.c with -fsignaling-nans.
1643 * math/math.h (fpclassify): Use __builtin_fpclassify when
1644 available. (signbit): Use __builtin_signbit(f/l).
1645 (isfinite): Use__builtin_isfinite. (isnormal): Use
1646 __builtin_isnormal. (isnan): Use __builtin_isnan.
1647 (isinf): Use __builtin_isinf_sign.
1648
1649 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
1650
1651 * benchtests/Makefile: Add bench-math-inlines, link with libm.
1652 * benchtests/bench-math-inlines.c: New benchmark.
1653 * benchtests/bench-util.h: New file.
1654 * benchtests/bench-util.c: New file.
1655 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
1656
1657 2015-09-18 Carlos O'Donell <carlos@redhat.com>
1658
1659 * elf/tst-dlmopen1.c: Define TEST_SO.
1660 (do_test): Use TEST_SO.
1661
1662 * elf/dl-load.c: Include libc-internal.h.
1663 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
1664
1665 2015-09-18 Vincent Bernat <vincent@bernat.im>
1666
1667 [BZ #17887]
1668 * time/strptime_l.c (__strptime_internal): Make %z accept
1669 [+-]HH:MM time zones.
1670
1671 2015-09-18 Vincent Bernat <vincent@bernat.im>
1672
1673 [BZ #17886]
1674 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
1675 valid time zone.
1676
1677 2015-09-17 Mike Frysinger <vapier@gentoo.org>
1678
1679 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
1680 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
1681 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1682 (__ASSUME_FDATASYNC): Delete.
1683
1684 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1685
1686 * conform/linknamespace.pl: Require weak undefined symbols to be
1687 in the standard namespace.
1688 (%strong_syms): Rename to %seen_syms.
1689 (%strong_seen): Rename to %seen_where.
1690
1691 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
1692
1693 [BZ #18970]
1694 * misc/error.c (error): Replace pthread_setcancelstate with
1695 __pthread_setcancelstate.
1696 (error_at_line): Likewise.
1697 * posix/wordexp.c (parse_comm): Likewise.
1698 * stdlib/fmtmsg.c (fmtmsg): Likewise.
1699 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
1700 (__pthread_setcancelstate): This.
1701 (pthread_setcancelstate): Add an alias.
1702 * nptl/nptl-init.c (pthread_functions): Replace
1703 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
1704 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
1705 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
1706 hidden_proto.
1707 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
1708 it with hidden_def.
1709 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
1710 (pthread_setcancelstate): Renamed to ...
1711 (__pthread_setcancelstate): This.
1712 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
1713 __libc_ptf_call with __pthread_setcancelstate.
1714
1715 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1716 Andreas Schwab <schwab@suse.de>
1717
1718 [BZ #17118]
1719 * math/s_ctan.c (__ctan): Determine sign of zero real part of
1720 result when imaginary part of argument is infinite using sine and
1721 cosine.
1722 * math/s_ctanf.c (__ctanf): Likewise.
1723 * math/s_ctanl.c (__ctanl): Likewise.
1724 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
1725 of result when real part of argument is infinite using sine and
1726 cosine.
1727 * math/s_ctanhf.c (__ctanhf): Likewise.
1728 * math/s_ctanhl.c (__ctanhl): Likewise.
1729 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
1730 (ctanh_test_data): Add more tests of ctanh.
1731
1732 2015-09-17 Joseph Myers <joseph@codesourcery.com>
1733
1734 [BZ #15384]
1735 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
1736 bit-mask as in subtraction.
1737 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
1738 Likewise.
1739 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
1740 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
1741 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
1742
1743 [BZ #18951]
1744 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
1745 underflow exception for small results.
1746 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
1747 Likewise.
1748 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
1749 Likewise.
1750 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
1751 Likewise.
1752 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
1753 Likewise.
1754 * math/auto-libm-test-in: Add more tests of tgamma.
1755 * math/auto-libm-test-out: Regenerated.
1756
1757 2015-09-17 Andreas Schwab <schwab@suse.de>
1758
1759 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
1760
1761 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1762
1763 [BZ #18977]
1764 * math/bits/mathcalls.h
1765 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
1766 not declare.
1767 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
1768 Likewise.
1769 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
1770 Likewise.
1771 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
1772 Likewise.
1773 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
1774 Likewise.
1775 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
1776 Likewise.
1777 * conform/data/math.h-data
1778 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
1779 function.
1780 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
1781 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
1782 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
1783 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
1784 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
1785 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
1786 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
1787 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
1788 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
1789 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
1790 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
1791
1792 [BZ #6803]
1793 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
1794 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
1795 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
1796 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
1797 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
1798 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
1799 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
1800 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
1801 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1802 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
1803 Likewise.
1804 [NO_LONG_DOUBLE] (scalbnl): Likewise.
1805 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
1806 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
1807 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
1808 long_double_symbol calls.
1809 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
1810 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
1811 strong alias of __ldexpl.
1812 (scalbnl): Define using long_double_symbol.
1813 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
1814 Remove alias.
1815 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
1816 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
1817 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
1818 (scalbln_test_data): Add more errno expectations.
1819
1820 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
1821
1822 Cache the host port like we cache the task port. This way we do not
1823 need to call the kernel just to get the port. Furthermore, we no
1824 longer increase the reference count on every invocation of
1825 `mach_host_self'.
1826
1827 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
1828 Protect declarations against the macro expansion.
1829 * mach/mach_init.c (__mach_host_self_): New variable.
1830 (mach_init): Initialize `__mach_host_self_'.
1831 * mach/mach_init.h (__mach_host_self_): New declaration.
1832 (__mach_host_self, mach_host_self): New macros.
1833 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
1834 Release reference.
1835
1836 2015-09-16 Joseph Myers <joseph@codesourcery.com>
1837
1838 [BZ #4404]
1839 * po/de.po: Update from Translation Project.
1840
1841 [BZ #16415]
1842 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
1843 (__expm1l): Remove code to handle positive infinity and overflow.
1844 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
1845 variable.
1846 (__expm1l): Remove code to handle positive infinity and overflow.
1847
1848 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
1849 Paul Pluzhnikov <ppluzhnikov@google.com>
1850
1851 [BZ #18872]
1852 * stdio-common/Makefile (tst-printf-bz18872): New test.
1853 (tst-printf-bz18872-mem.out): Likewise.
1854 * stdio-common/tst-printf-bz18872.sh: Generate new test.
1855 * stdio-common/vfprintf.c: Fix memory leaks.
1856
1857 2015-09-16 Andreas Schwab <schwab@suse.de>
1858
1859 [BZ #17244]
1860 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
1861 Remove extra va_start/va_end calls.
1862
1863 [BZ #17243]
1864 * posix/execl.c (execl): Add missing va_end.
1865 * posix/execle.c (execle): Likewise.
1866 * posix/execlp.c (execlp): Likewise.
1867
1868 2015-09-15 Roland McGrath <roland@hack.frob.com>
1869
1870 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
1871 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
1872
1873 2015-09-15 Joseph Myers <joseph@codesourcery.com>
1874
1875 [BZ #18967]
1876 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
1877 undefine around includes of <bits/mathcalls.h>.
1878 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
1879 not declare function.
1880 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
1881 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
1882 (scalb): Likewise.
1883 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
1884 not define macro.
1885 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
1886 variable.
1887 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
1888 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
1889 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
1890
1891 [BZ #18857]
1892 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
1893 return non-finite argument without doing ordered comparisons on
1894 it.
1895
1896 [BZ #16296]
1897 * math/fenv.h (fegetround): Use __attribute_pure__.
1898 * include/fenv.h (__fegetround): Likewise.
1899
1900 [BZ #18595]
1901 * math/s_ctan.c (__ctan): Force underflow exception for results
1902 whose real or imaginary part has small absolute value.
1903 * math/s_ctanf.c (__ctanf): Likewise.
1904 * math/s_ctanh.c (__ctanh): Likewise.
1905 * math/s_ctanhf.c (__ctanhf): Likewise.
1906 * math/s_ctanhl.c (__ctanhl): Likewise.
1907 * math/s_ctanl.c (__ctanl): Likewise.
1908 * math/auto-libm-test-in: Do not allow missing underflow for ctan
1909 and ctanh. Add more tests of ctan and ctanh.
1910
1911 [BZ #15918]
1912 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
1913 handling of cases where one argument is an infinity.
1914
1915 [BZ #18875]
1916 [BZ #18966]
1917 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
1918 (MO): New macro.
1919 (__ieee754_exp10): For small results, force underflow exception
1920 and remove excess range and precision from return value.
1921 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
1922 (MO): New macro.
1923 (__ieee754_exp10f): For small results, force underflow exception
1924 and remove excess range and precision from return value.
1925 * math/auto-libm-test-in: Add more tests of exp10.
1926 * math/auto-libm-test-out: Regenerated.
1927
1928 2015-09-14 Joseph Myers <joseph@codesourcery.com>
1929
1930 [BZ #18875]
1931 [BZ #18961]
1932 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
1933 (MO): New macro.
1934 (__ieee754_exp): For small results, force underflow exception and
1935 remove excess range and precision from return value.
1936 (__exp_finite): Likewise.
1937 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
1938 (MO): New macro.
1939 (__ieee754_expf): For small results, force underflow exception and
1940 remove excess range and precision from return value.
1941 (__expf_finite): Likewise.
1942 * math/auto-libm-test-in: Add more tests of exp.
1943 * math/auto-libm-test-out: Regenerated.
1944
1945 [BZ #16521]
1946 [BZ #18875]
1947 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
1948 small results.
1949 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
1950 (MO): New macro.
1951 (__ieee754_exp2): For small results, force underflow exception and
1952 remove excess range and precision from return value.
1953 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
1954 (MO): New macro.
1955 (__ieee754_exp2f): For small results, force underflow exception
1956 and remove excess range and precision from return value.
1957 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
1958 (MO): New macro.
1959 (__ieee754_exp2l): Force underflow exception for small results.
1960 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1961 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1962 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
1963 (MO): New macro.
1964 (__ieee754_exp2l): Force underflow exception for small results.
1965 * math/auto-libm-test-in: Add more tests or exp2.
1966 * math/auto-libm-test-out: Regenerated.
1967
1968 2015-09-14 Carlos O'Donell <carlos@redhat.com>
1969
1970 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
1971
1972 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
1973 /dev/null.
1974
1975 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
1976
1977 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
1978 io fs process)): Drop spurious backslash.
1979
1980 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
1981
1982 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
1983 Use sysinfo system call instead of parsing /proc/meminfo.
1984 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
1985 Likewise.
1986
1987 2015-09-11 Mike Frysinger <vapier@gentoo.org>
1988
1989 [BZ #16985]
1990 * programs/localedef.c (main): Display argv[remaining] when
1991 output_path is NULL.
1992
1993 2015-09-11 Joseph Myers <joseph@codesourcery.com>
1994
1995 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
1996 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
1997 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
1998 tanh.
1999 * math/auto-libm-test-out: Regenerated.
2000 * sysdeps/i386/fpu/libm-test-ulps: Update.
2001 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2002 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2004
2005 2015-09-11 Roland McGrath <roland@hack.frob.com>
2006
2007 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
2008 Use 'override' keyword to freeze the value here, preventing
2009 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
2010
2011 2015-09-11 Joseph Myers <joseph@codesourcery.com>
2012
2013 [BZ #14912]
2014 * sysdeps/aarch64/bits/atomic.h: Move to ...
2015 * sysdeps/aarch64/atomic-machine.h: ...here.
2016 (_AARCH64_BITS_ATOMIC_H): Rename macro to
2017 _AARCH64_ATOMIC_MACHINE_H.
2018 * sysdeps/alpha/bits/atomic.h: Move to ...
2019 * sysdeps/alpha/atomic-machine.h: ...here.
2020 * sysdeps/arm/bits/atomic.h: Move to ...
2021 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
2022 * bits/atomic.h: Move to ...
2023 * sysdeps/generic/atomic-machine.h: ...here.
2024 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2025 * sysdeps/i386/bits/atomic.h: Move to ...
2026 * sysdeps/i386/atomic-machine.h: ...here.
2027 * sysdeps/ia64/bits/atomic.h: Move to ...
2028 * sysdeps/ia64/atomic-machine.h: ...here.
2029 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
2030 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
2031 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2032 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
2033 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
2034 * sysdeps/microblaze/bits/atomic.h: Move to ...
2035 * sysdeps/microblaze/atomic-machine.h: ...here.
2036 * sysdeps/mips/bits/atomic.h: Move to ...
2037 * sysdeps/mips/atomic-machine.h: ...here.
2038 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
2039 * sysdeps/powerpc/bits/atomic.h: Move to ...
2040 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
2041 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
2042 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
2043 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
2044 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
2045 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
2046 <atomic-machine.h> instead of <bits/atomic.h>.
2047 * sysdeps/s390/bits/atomic.h: Move to ...
2048 * sysdeps/s390/atomic-machine.h: ...here.
2049 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
2050 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
2051 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2052 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
2053 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
2054 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
2055 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
2056 * sysdeps/tile/bits/atomic.h: Move to ...
2057 * sysdeps/tile/atomic-machine.h: ...here.
2058 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
2059 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
2060 <sysdeps/tile/atomic-machine.h> instead of
2061 <sysdeps/tile/bits/atomic.h>.
2062 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2063 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
2064 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
2065 <sysdeps/tile/atomic-machine.h> instead of
2066 <sysdeps/tile/bits/atomic.h>.
2067 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2068 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
2069 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
2070 <sysdeps/arm/atomic-machine.h> instead of
2071 <sysdeps/arm/bits/atomic.h>.
2072 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
2073 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
2074 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2075 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
2076 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
2077 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
2078 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
2079 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
2080 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
2081 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
2082 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
2083 * sysdeps/x86_64/bits/atomic.h: Move to ...
2084 * sysdeps/x86_64/atomic-machine.h: ...here.
2085 * include/atomic.h: Include <atomic-machine.h> instead of
2086 <bits/atomic.h>.
2087
2088 * sysdeps/mips/mips32/libm-test-ulps: Update.
2089 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2090
2091 [BZ #18952]
2092 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
2093 not convert non-integer negative arguments to int to determine the
2094 value of signgam.
2095 * math/auto-libm-test-in: Add more tests of lgamma.
2096 * math/auto-libm-test-out: Regenerated.
2097
2098 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
2099 cosh, csqrt, erfc, expm1 and lgamma.
2100 * math/auto-libm-test-out: Regenerated.
2101 * sysdeps/i386/fpu/libm-test-ulps: Update.
2102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2103
2104 2015-09-10 Joseph Myers <joseph@codesourcery.com>
2105
2106 [BZ #2542]
2107 [BZ #2543]
2108 [BZ #2558]
2109 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
2110 __lgamma_neg for arguments from -28.0 to -2.0.
2111 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
2112 __lgamma_negf for arguments from -15.0 to -2.0.
2113 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
2114 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
2115 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
2116 Call __lgamma_negl for arguments from -33.0 to -2.0.
2117 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
2118 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
2119 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
2120 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
2121 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2122 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2123 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
2124 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
2125 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
2126 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
2127 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
2128 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
2129 (__lgamma_neg): Likewise.
2130 (__lgamma_negl): Likewise.
2131 (__lgamma_product): Likewise.
2132 (__lgamma_productl): Likewise.
2133 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
2134 * math/auto-libm-test-in: Add more tests of lgamma.
2135 * math/auto-libm-test-out: Regenerated.
2136 * sysdeps/i386/fpu/libm-test-ulps: Update.
2137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2138
2139 2015-09-09 Justin Maggard <jmaggard@netgear.com>
2140
2141 [BZ #18675]
2142 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
2143
2144 2015-09-08 Joseph Myers <joseph@codesourcery.com>
2145
2146 [BZ #14912]
2147 * bits/libc-lock.h: Move to ...
2148 * sysdeps/generic/libc-lock.h: ...here.
2149 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2150 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
2151 * sysdeps/mach/hurd/libc-lock.h: ...here.
2152 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2153 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
2154 * sysdeps/mach/bits/libc-lock.h: Move to ...
2155 * sysdeps/mach/libc-lock.h: ...here.
2156 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2157 * sysdeps/nptl/bits/libc-lock.h: Move to ...
2158 * sysdeps/nptl/libc-lock.h: ...here.
2159 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
2160 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
2161 * sysdeps/nptl/libc-lockP.h: ...here.
2162 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
2163 * crypt/crypt_util.c: Include <libc-lock.h> instead of
2164 <bits/libc-lock.h>.
2165 * dirent/scandir-tail.c: Likewise.
2166 * dlfcn/dlerror.c: Likewise.
2167 * elf/dl-close.c: Likewise.
2168 * elf/dl-iteratephdr.c: Likewise.
2169 * elf/dl-lookup.c: Likewise.
2170 * elf/dl-open.c: Likewise.
2171 * elf/dl-support.c: Likewise.
2172 * elf/dl-writev.h: Likewise.
2173 * elf/rtld.c: Likewise.
2174 * grp/fgetgrent.c: Likewise.
2175 * gshadow/fgetsgent.c: Likewise.
2176 * gshadow/sgetsgent.c: Likewise.
2177 * iconv/gconv_conf.c: Likewise.
2178 * iconv/gconv_db.c: Likewise.
2179 * iconv/gconv_dl.c: Likewise.
2180 * iconv/gconv_int.h: Likewise.
2181 * iconv/gconv_trans.c: Likewise.
2182 * include/link.h: Likewise.
2183 * inet/getnameinfo.c: Likewise.
2184 * inet/getnetgrent.c: Likewise.
2185 * inet/getnetgrent_r.c: Likewise.
2186 * intl/bindtextdom.c: Likewise.
2187 * intl/dcigettext.c: Likewise.
2188 * intl/finddomain.c: Likewise.
2189 * intl/gettextP.h: Likewise.
2190 * intl/loadmsgcat.c: Likewise.
2191 * intl/localealias.c: Likewise.
2192 * intl/textdomain.c: Likewise.
2193 * libidn/idn-stub.c: Likewise.
2194 * libio/libioP.h: Likewise.
2195 * locale/duplocale.c: Likewise.
2196 * locale/freelocale.c: Likewise.
2197 * locale/newlocale.c: Likewise.
2198 * locale/setlocale.c: Likewise.
2199 * login/getutent_r.c: Likewise.
2200 * login/getutid_r.c: Likewise.
2201 * login/getutline_r.c: Likewise.
2202 * login/utmp-private.h: Likewise.
2203 * login/utmpname.c: Likewise.
2204 * malloc/mtrace.c: Likewise.
2205 * misc/efgcvt.c: Likewise.
2206 * misc/error.c: Likewise.
2207 * misc/fstab.c: Likewise.
2208 * misc/getpass.c: Likewise.
2209 * misc/mntent.c: Likewise.
2210 * misc/syslog.c: Likewise.
2211 * nis/nis_call.c: Likewise.
2212 * nis/nis_callback.c: Likewise.
2213 * nis/nss-default.c: Likewise.
2214 * nis/nss_compat/compat-grp.c: Likewise.
2215 * nis/nss_compat/compat-initgroups.c: Likewise.
2216 * nis/nss_compat/compat-pwd.c: Likewise.
2217 * nis/nss_compat/compat-spwd.c: Likewise.
2218 * nis/nss_nis/nis-alias.c: Likewise.
2219 * nis/nss_nis/nis-ethers.c: Likewise.
2220 * nis/nss_nis/nis-grp.c: Likewise.
2221 * nis/nss_nis/nis-hosts.c: Likewise.
2222 * nis/nss_nis/nis-network.c: Likewise.
2223 * nis/nss_nis/nis-proto.c: Likewise.
2224 * nis/nss_nis/nis-pwd.c: Likewise.
2225 * nis/nss_nis/nis-rpc.c: Likewise.
2226 * nis/nss_nis/nis-service.c: Likewise.
2227 * nis/nss_nis/nis-spwd.c: Likewise.
2228 * nis/nss_nisplus/nisplus-alias.c: Likewise.
2229 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
2230 * nis/nss_nisplus/nisplus-grp.c: Likewise.
2231 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
2232 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
2233 * nis/nss_nisplus/nisplus-network.c: Likewise.
2234 * nis/nss_nisplus/nisplus-proto.c: Likewise.
2235 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
2236 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
2237 * nis/nss_nisplus/nisplus-service.c: Likewise.
2238 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
2239 * nis/ypclnt.c: Likewise.
2240 * nptl/libc_pthread_init.c: Likewise.
2241 * nss/getXXbyYY.c: Likewise.
2242 * nss/getXXent.c: Likewise.
2243 * nss/getXXent_r.c: Likewise.
2244 * nss/nss_db/db-XXX.c: Likewise.
2245 * nss/nss_db/db-netgrp.c: Likewise.
2246 * nss/nss_db/nss_db.h: Likewise.
2247 * nss/nss_files/files-XXX.c: Likewise.
2248 * nss/nss_files/files-alias.c: Likewise.
2249 * nss/nsswitch.c: Likewise.
2250 * posix/regex_internal.h: Likewise.
2251 * posix/wordexp.c: Likewise.
2252 * pwd/fgetpwent.c: Likewise.
2253 * resolv/res_hconf.c: Likewise.
2254 * resolv/res_libc.c: Likewise.
2255 * shadow/fgetspent.c: Likewise.
2256 * shadow/lckpwdf.c: Likewise.
2257 * shadow/sgetspent.c: Likewise.
2258 * socket/opensock.c: Likewise.
2259 * stdio-common/reg-modifier.c: Likewise.
2260 * stdio-common/reg-printf.c: Likewise.
2261 * stdio-common/reg-type.c: Likewise.
2262 * stdio-common/vfprintf.c: Likewise.
2263 * stdio-common/vfscanf.c: Likewise.
2264 * stdlib/abort.c: Likewise.
2265 * stdlib/cxa_atexit.c: Likewise.
2266 * stdlib/fmtmsg.c: Likewise.
2267 * stdlib/random.c: Likewise.
2268 * stdlib/setenv.c: Likewise.
2269 * string/strsignal.c: Likewise.
2270 * sunrpc/auth_none.c: Likewise.
2271 * sunrpc/bindrsvprt.c: Likewise.
2272 * sunrpc/create_xid.c: Likewise.
2273 * sunrpc/key_call.c: Likewise.
2274 * sunrpc/rpc_thread.c: Likewise.
2275 * sysdeps/arm/backtrace.c: Likewise.
2276 * sysdeps/generic/ldsodefs.h: Likewise.
2277 * sysdeps/generic/stdio-lock.h: Likewise.
2278 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
2279 * sysdeps/i386/backtrace.c: Likewise.
2280 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
2281 * sysdeps/m68k/backtrace.c: Likewise.
2282 * sysdeps/mach/hurd/cthreads.c: Likewise.
2283 * sysdeps/mach/hurd/dirstream.h: Likewise.
2284 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2285 * sysdeps/nptl/malloc-machine.h: Likewise.
2286 * sysdeps/nptl/stdio-lock.h: Likewise.
2287 * sysdeps/posix/dirstream.h: Likewise.
2288 * sysdeps/posix/getaddrinfo.c: Likewise.
2289 * sysdeps/posix/system.c: Likewise.
2290 * sysdeps/pthread/aio_suspend.c: Likewise.
2291 * sysdeps/s390/s390-32/backtrace.c: Likewise.
2292 * sysdeps/s390/s390-64/backtrace.c: Likewise.
2293 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2294 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
2296 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
2297 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
2298 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2299 * sysdeps/unix/sysv/linux/system.c: Likewise.
2300 * sysdeps/x86_64/backtrace.c: Likewise.
2301 * time/alt_digit.c: Likewise.
2302 * time/era.c: Likewise.
2303 * time/tzset.c: Likewise.
2304 * wcsmbs/wcsmbsload.c: Likewise.
2305 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
2306 instead of <bits/libc-lock.h> in comment.
2307
2308 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
2309
2310 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
2311 Only use .set mips2 if the current ISA is below mips2.
2312 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
2313 Likewise.
2314 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
2315 mips32r2 if the current ISA is below mips32r2.
2316 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
2317 (TLS_IE): Updated to use the TLD_RDHWR macro.
2318 (TLS_LE): Likewise.
2319 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
2320 __ASSEMBLER__ condition.
2321
2322 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2323
2324 Fix parallel build of before-compile targets.
2325
2326 * sysdeps/mach/Makefile ($(patsubst
2327 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
2328 mach-before-compile target.
2329 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2330 io fs process)): Move rule to dedicated hurd-before-compile target.
2331
2332 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
2333
2334 Fix rules generating headers in hurd/ and mach/ when initial make call
2335 has subdir= explicitly set.
2336
2337 * sysdeps/mach/Makefile ($(patsubst
2338 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
2339 calling $(MAKE).
2340 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
2341 io fs process)): Force subdir to hurd when calling $(MAKE).
2342 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
2343 subdir to mach when calling $(MAKE).
2344
2345 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
2346
2347 Check sysheaders when looking for Mach and Hurd headers
2348
2349 * sysdeps/mach/configure.ac: Add sysheaders check.
2350 * sysdeps/mach/configure: Regenerate.
2351 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
2352 * sysdeps/mach/hurd/configure: Regenerate.
2353
2354 2015-09-04 Roland McGrath <roland@hack.frob.com>
2355
2356 [BZ #18921]
2357 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
2358 Fix inverted sense of test of 'o_directory_works' value.
2359 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
2360 Bernhard Voelker <mail@bernhard-voelker.de>.
2361
2362 2015-09-04 Joseph Myers <joseph@codesourcery.com>
2363
2364 [BZ #14912]
2365 * bits/linkmap.h: Move to ...
2366 * sysdeps/generic/linkmap.h: ...here.
2367 * sysdeps/aarch64/bits/linkmap.h: Move to ...
2368 * sysdeps/aarch64/linkmap.h: ...here.
2369 * sysdeps/arm/bits/linkmap.h: Move to ...
2370 * sysdeps/arm/linkmap.h: ...here.
2371 * sysdeps/hppa/bits/linkmap.h: Move to ...
2372 * sysdeps/hppa/linkmap.h: ...here.
2373 * sysdeps/ia64/bits/linkmap.h: Move to ...
2374 * sysdeps/ia64/linkmap.h: ...here.
2375 * sysdeps/mips/bits/linkmap.h: Move to ...
2376 * sysdeps/mips/linkmap.h: ...here.
2377 * sysdeps/s390/bits/linkmap.h: Move to ...
2378 * sysdeps/s390/linkmap.h: ...here.
2379 * sysdeps/sh/bits/linkmap.h: Move to ...
2380 * sysdeps/sh/linkmap.h: ...here.
2381 * sysdeps/x86/bits/linkmap.h: Move to ...
2382 * sysdeps/x86/linkmap.h: ...here.
2383 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
2384
2385 2015-09-04 Andreas Schwab <schwab@suse.de>
2386
2387 [BZ #18635]
2388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
2389 (__makecontext): Terminate FDE before return label.
2390 (__novec_makecontext): Likewise.
2391
2392 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2393
2394 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
2395 first member of struct sv in syscall macro.
2396
2397 2015-09-04 Joseph Myers <joseph@codesourcery.com>
2398
2399 [BZ #14912]
2400 * bits/stdio-lock.h: Move to ...
2401 * sysdeps/generic/stdio-lock.h: ...here.
2402 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2403 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
2404 * sysdeps/nptl/stdio-lock.h: ...here.
2405 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
2406 * include/libio.h: Include <stdio-lock.h> instead of
2407 <bits/stdio-lock.h>.
2408 * sysdeps/nptl/fork.c: Likewise.
2409 * sysdeps/pthread/flockfile.c: Likewise.
2410 * sysdeps/pthread/ftrylockfile.c: Likewise.
2411 * sysdeps/pthread/funlockfile.c: Likewise.
2412
2413 [BZ #14912]
2414 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
2415 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
2416 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
2417 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
2418 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
2419 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2420 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
2421
2422 2015-09-03 Roland McGrath <roland@hack.frob.com>
2423
2424 * elf/Makefile (test-xfail-tst-protected1a): New variable.
2425 (test-xfail-tst-protected1b): New variable.
2426
2427 2015-09-03 Joseph Myers <joseph@codesourcery.com>
2428
2429 [BZ #14912]
2430 * bits/libc-tsd.h: Move to ...
2431 * sysdeps/generic/libc-tsd.h: ...here.
2432 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
2433 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
2434 * sysdeps/mach/hurd/libc-tsd.h: ...here.
2435 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
2436 * include/ctype.h: Include <libc-tsd.h> instead of
2437 <bits/libc-tsd.h>.
2438 * include/rpc/rpc.h: Likewise.
2439 * locale/localeinfo.h: Likewise.
2440 * sunrpc/rpc_thread.c: Likewise.
2441 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
2442 * sysdeps/nptl/malloc-machine.h: Likewise.
2443
2444 * Makefile (headers): Remove bits/libc-lock.h.
2445 * libio/Makefile (headers): Remove bits/stdio-lock.h.
2446
2447 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
2448 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
2449 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
2450 <bits/stdio-lock.h>.
2451 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
2452 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
2453
2454 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2455
2456 [BZ #18757]
2457 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
2458 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
2459 BZ #18757.
2460
2461 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
2462
2463 * malloc/mtrace.pl: Filter out NULL entries.
2464
2465 2015-09-01 Joseph Myers <joseph@codesourcery.com>
2466
2467 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
2468 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
2469 macro.
2470
2471 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
2472 (TCP_CC_INFO): Likewise.
2473 (TCP_SAVE_SYN): Likewise.
2474 (TCP_SAVED_SYN): Likewise.
2475
2476 2015-08-31 Brett Neumeier <brett@neumeier.us>
2477
2478 [BZ #18870]
2479 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
2480
2481 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
2482
2483 [BZ #18873]
2484 Fix broken overflow check in posix_fallocate
2485 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
2486 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
2487 Fix parenthesization typo.
2488
2489 2015-08-28 Mike Frysinger <vapier@gentoo.org>
2490
2491 [BZ #18887]
2492 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
2493 tst-mntent-blank-passno.
2494 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
2495 * misc/tst-mntent-blank-corrupt.c: New test.
2496 * misc/tst-mntent-blank-passno.c: New test ripped from ...
2497 * misc/tst-mntent.c (do_test): ... here.
2498
2499 2015-08-29 Mike Frysinger <vapier@gentoo.org>
2500
2501 [BZ #4404]
2502 * po/de.po: Fix SIGALRM typo.
2503
2504 2015-08-28 James Perkins <james@loowit.net>
2505
2506 * time/tst-strptime2.c (tests): Replace short list of test
2507 strings for strptime %z specifier with code which exhaustively
2508 tests every combination of sign and 0 to 5 digits. Tests for
2509 rejection of invalid strings.
2510
2511 2015-08-28 James Perkins <james@loowit.net>
2512
2513 [BZ #16141]
2514 * time/strptime_l.c (__strptime_internal): Fix %z minutes
2515 calculation, removing incorrect decimal time rounding, so that
2516 all minute values result in a valid seconds value.
2517 * time/strptime_l.c (__strptime_internal): Extend %z time zone
2518 offset range limits to UTC-99:59 through UTC+99:59 to parse
2519 current and historical use cases.
2520 * time/tst-strptime2.c (tests): Modify and add tests for the
2521 strptime %z input field descriptor, specifically conversion of
2522 minutes to seconds and validating an offset range of -9959 to
2523 +9959.
2524
2525 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2526 Dmitry V. Levin <ldv@altlinux.org>
2527
2528 [BZ #18877]
2529 * posix/Makefile (tests): Add tst-mmap-offset.
2530 * posix/tst-mmap.c: New file.
2531 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
2532 offset calculation for negative values.
2533
2534 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2535
2536 * sysdeps/i386/init-arch.h: New file.
2537 * sysdeps/i386/i586/init-arch.h: Likewise.
2538 * sysdeps/i386/i686/init-arch.h: Likewise.
2539 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
2540 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
2541 * sysdeps/x86/cpu-features.h (bit_I586): New.
2542 (bit_I686): Likewise.
2543 (bit_CX8): Likewise.
2544 (bit_CMOV): Likewise.
2545 (index_CX8): Likewise.
2546 (index_CMOV): Likewise.
2547 (index_I586): Likewise.
2548 (index_I686): Likewise.
2549 (reg_CX8): Likewise.
2550 (reg_CMOV): Likewise.
2551 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
2552 available at compile-time.
2553 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
2554 available at compile-time.
2555 * sysdeps/x86/init-arch.h (USE_I586): New macro.
2556 (USE_I686): Likewise.
2557
2558 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2559
2560 * sysdeps/i386/bcopy.S: New file.
2561 * sysdeps/i386/bzero.S: Likewise.
2562 * sysdeps/i386/memcpy.S: Likewise.
2563 * sysdeps/i386/memmove.S: Likewise.
2564 * sysdeps/i386/mempcpy.S: Likewise.
2565 * sysdeps/i386/memset.S: Likewise.
2566 * sysdeps/i386/bzero.c: Removed.
2567 * sysdeps/i386/memset.c: Likewise.
2568 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
2569 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
2570 * sysdeps/i386/i586/memset_chk.S: Likewise.
2571 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
2572 * sysdeps/i386/memcpy_chk.S: Here.
2573 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
2574 * sysdeps/i386/memmove_chk.S: Here.
2575 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
2576 * sysdeps/i386/mempcpy_chk.S: Likewise.
2577 * sysdeps/i386/i686/memset_chk.S: Moved to ...
2578 * sysdeps/i386/memset_chk.S: Likewise.
2579
2580 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
2581
2582 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
2583 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
2584 file, move DIAG_POP_NEEDS_COMMENT to end of file.
2585 * soft-fp/fmadf4.c: Ditto.
2586 * soft-fp/fmatf4.c: Ditto.
2587
2588 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2589
2590 * sysdeps/i386/i586/Implies: Removed.
2591 * sysdeps/i386/i686/Implies: Likewise.
2592
2593 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2594
2595 * sysdeps/i386/i486/strlen.S: Moved to ...
2596 * sysdeps/i386/strlen.S: Here.
2597
2598 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2599
2600 * sysdeps/i386/i486/strcat.S: Moved to ...
2601 * sysdeps/i386/strcat.S: Here.
2602
2603 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2604
2605 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
2606 * sysdeps/i386/pthread_spin_trylock.S: Here.
2607 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
2608 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
2609
2610 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2611
2612 * sysdeps/i386/i486/string-inlines.c: Moved to ...
2613 * sysdeps/i386/string-inlines.c: Here.
2614
2615 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2616
2617 * sysdeps/i386/i486/htonl.S: Moved ...
2618 * sysdeps/i386/htonl.S: here.
2619
2620 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2621
2622 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
2623 * sysdeps/i386/bits/atomic.h: Here.
2624
2625 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
2626
2627 * sysdeps/i386/i486/Versions: Removed.
2628
2629 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2630
2631 [BZ #2898]
2632 * misc/mktemp.c: Add mkdtemp to the link_warning message.
2633 Based on patch by Aurelien Jarno.
2634
2635 2015-08-26 Stan Shebs <stanshebs@google.com>
2636
2637 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
2638 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
2639
2640 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
2641
2642 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
2643 * sysdeps/powerpc/dl-procinfo.c:
2644 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
2645 feature so it shows when LD_SHOW_AUXV=1.
2646
2647 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
2648
2649 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
2650 (__arch_compare_and_exchange_val_32_acq): Remove and use common
2651 definition. ISA 2.07B no longer requires full sync.
2652
2653 2015-08-26 Mike Frysinger <vapier@gentoo.org>
2654
2655 [BZ #18863]
2656 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
2657 (si_call_addr): Define.
2658 (si_syscall): Define.
2659 (si_arch): Define.
2660
2661 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
2662
2663 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
2664 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
2665 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
2666 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2667 (__memset_zero_constant_len_parameter): New.
2668 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
2669 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
2670 (__memset_zero_constant_len_parameter): Don't define if
2671 __memset_chk or USE_AS_BZERO are defined.
2672
2673 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
2674 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
2675 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
2676
2677 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
2678 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
2679 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
2680 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
2681 comments.
2682 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
2683 -mno-mmx for $(all-rtld-routines).
2684 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
2685 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
2686 i386.
2687
2688 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
2689
2690 * sysdeps/generic/unwind.h
2691 (_Unwind_Word): Use __mode__(__unwind_word__)
2692 instead of __mode__(__word__).
2693 (_Unwind_Sword): Likewise.
2694
2695 * sysdeps/s390/s390-64/utf8-utf16-z9.c
2696 (MAX_NEEDED_INPUT): New define.
2697 (MAX_NEEDED_OUTPUT): New define.
2698
2699 * NEWS: New item for IBM z13 string optimizations.
2700
2701 * sysdeps/s390/multiarch/memrchr-c.c: New File.
2702 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
2703 * sysdeps/s390/multiarch/memrchr.c: Likewise.
2704 * sysdeps/s390/multiarch/Makefile
2705 (sysdep_routines): Add memrchr functions.
2706 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2707 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
2708
2709 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
2710 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
2711 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
2712 * sysdeps/s390/multiarch/Makefile
2713 (sysdep_routines): Add wmemcmp functions.
2714 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2715 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
2716 * benchtests/bench-wmemcmp.c: New File.
2717 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
2718
2719 * sysdeps/s390/multiarch/wmemset-c.c: New File.
2720 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
2721 * sysdeps/s390/multiarch/wmemset.c: Likewise.
2722 * sysdeps/s390/multiarch/Makefile
2723 (sysdep_routines): Add wmemset functions.
2724 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2725 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
2726 * wcsmbs/wmemset.c: Use WMEMSET if defined.
2727 * string/test-memset.c: Add wmemset support.
2728 * wcsmbs/test-wmemset.c: New File.
2729 * wcsmbs/Makefile (strop-tests): Add wmemset.
2730 * benchtests/bench-memset.c: Add wmemset support.
2731 * benchtests/bench-wmemset.c: New File.
2732 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
2733
2734 * sysdeps/s390/multiarch/memccpy-c.c: New File.
2735 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
2736 * sysdeps/s390/multiarch/memccpy.c: Likewise.
2737 * sysdeps/s390/multiarch/Makefile
2738 (sysdep_routines): Add memccpy functions.
2739 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2740 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
2741 * string/memccpy.c: Use MEMCCPY if defined.
2742
2743 * sysdeps/s390/multiarch/memchr-vx.S: New File.
2744 * sysdeps/s390/multiarch/memchr.c: Likewise.
2745 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
2746 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
2747 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
2748 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
2749 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
2750 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
2751 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
2752 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
2753 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
2754 and rawmemchr functions.
2755 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
2756 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
2757 and wmemchr.
2758 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
2759 * string/test-memchr.c: Add wmemchr support.
2760 * wcsmbs/test-wmemchr.c: New File.
2761 * wcsmbs/Makefile (strop-tests): Add wmemchr.
2762 * benchtests/bench-memchr.c: Add wmemchr support.
2763 * benchtests/bench-wmemchr.c: New File.
2764 * benchtests/Makefile (wcsmbs-bench): wmemchr.
2765
2766 * sysdeps/s390/multiarch/strcspn-c.c: New File.
2767 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
2768 * sysdeps/s390/multiarch/strcspn.c: Likewise.
2769 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
2770 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
2771 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
2772 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
2773 wcscspn functions.
2774 * sysdeps/s390/multiarch/ifunc-impl-list.c
2775 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
2776 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
2777 * string/test-strcspn.c: Add wcscspn support.
2778 * wcsmbs/test-wcscspn.c: New File.
2779 * wcsmbs/Makefile (strop-tests): Add wcscspn.
2780 * benchtests/bench-strcspn.c: Add wcscspn support.
2781 * benchtests/bench-wcscspn.c: New File.
2782 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
2783
2784 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
2785 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
2786 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
2787 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
2788 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
2789 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
2790 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
2791 wcspbrk functions.
2792 * sysdeps/s390/multiarch/ifunc-impl-list.c
2793 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
2794 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
2795 * string/test-strpbrk.c: Add wcspbrk support.
2796 * wcsmbs/test-wcspbrk.c: New File.
2797 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
2798 * benchtests/bench-strpbrk.c: Add wcspbrk support.
2799 * benchtests/bench-wcspbrk.c: New File.
2800 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
2801
2802 * sysdeps/s390/multiarch/strspn-c.c: New File.
2803 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
2804 * sysdeps/s390/multiarch/strspn.c: Likewise.
2805 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
2806 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
2807 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
2808 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
2809 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
2810 wcsspn functions.
2811 * sysdeps/s390/multiarch/ifunc-impl-list.c
2812 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
2813 * string/test-strspn.c: Add wcsspn support.
2814 * wcsmbs/test-wcsspn.c: New File.
2815 * wcsmbs/Makefile (strop-tests): Add wcsspn.
2816 * benchtests/bench-strspn.c: Add wcsspn support.
2817 * benchtests/bench-wcsspn.c: New File.
2818 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
2819
2820 * sysdeps/s390/multiarch/strrchr-c.c: New File.
2821 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
2822 * sysdeps/s390/multiarch/strrchr.c: Likewise.
2823 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
2824 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
2825 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
2826 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
2827 wcsrchr functions.
2828 * sysdeps/s390/multiarch/ifunc-impl-list.c
2829 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
2830 * benchtests/bench-wcsrchr.c: New File.
2831 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
2832
2833 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
2834 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
2835 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
2836 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
2837 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
2838 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
2839 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
2840 wcschrnul functions.
2841 * sysdeps/s390/multiarch/ifunc-impl-list.c
2842 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
2843 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
2844 * string/test-strchr.c: Add wcschrnul support.
2845 * wcsmbs/test-wcschrnul.c: New File.
2846 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
2847 * benchtests/bench-strchr.c: Add wcschrnul support.
2848 * benchtests/bench-wcschrnul.c: New File.
2849 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
2850
2851 * sysdeps/s390/multiarch/strchr-c.c: New File.
2852 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
2853 * sysdeps/s390/multiarch/strchr.c: Likewise.
2854 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
2855 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
2856 * sysdeps/s390/multiarch/wcschr.c: Likewise.
2857 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
2858 wcschr functions.
2859 * sysdeps/s390/multiarch/ifunc-impl-list.c
2860 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
2861 * string/strchr.c (STRCHR): Define and use macro.
2862 * benchtests/bench-wcschr.c: New File.
2863 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
2864
2865 * sysdeps/s390/multiarch/strncmp-c.c: New File.
2866 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
2867 * sysdeps/s390/multiarch/strncmp.c: Likewise.
2868 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
2869 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
2870 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
2871 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
2872 wcsncmp functions.
2873 * sysdeps/s390/multiarch/ifunc-impl-list.c
2874 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
2875 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
2876 * benchtests/bench-strncmp.c: Add wcsncmp support.
2877 * benchtests/bench-wcsncmp.c: New File.
2878 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
2879
2880 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
2881 * sysdeps/s390/multiarch/strcmp.c: Likewise.
2882 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
2883 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
2884 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
2885 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
2886 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
2887 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
2888 wcscmp functions.
2889 * sysdeps/s390/multiarch/ifunc-impl-list.c
2890 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
2891 * string/strcmp.c (STRCMP): Define and use macro.
2892 * benchtests/bench-wcscmp.c: New File.
2893 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
2894 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
2895 instead of _HAVE_STRING_ARCH_memchr.
2896
2897 * sysdeps/s390/multiarch/strncat-c.c: New File.
2898 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
2899 * sysdeps/s390/multiarch/strncat.c: Likewise.
2900 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
2901 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
2902 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
2903 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
2904 wcsncat functions.
2905 * sysdeps/s390/multiarch/ifunc-impl-list.c
2906 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
2907 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
2908 * string/test-strncat.c: Add wcsncat support.
2909 * wcsmbs/test-wcsncat.c: New File.
2910 * wcsmbs/Makefile (strop-tests): Add wcsncat.
2911 * benchtests/bench-strncat.c: Add wcsncat support.
2912 * benchtests/bench-wcsncat.c: New File.
2913 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
2914
2915 * sysdeps/s390/multiarch/strcat-c.c: New File.
2916 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
2917 * sysdeps/s390/multiarch/strcat.c: Likewise.
2918 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
2919 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
2920 * sysdeps/s390/multiarch/wcscat.c: Likewise.
2921 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
2922 wcscat functions.
2923 * sysdeps/s390/multiarch/ifunc-impl-list.c
2924 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
2925 * string/strcat.c (STRCAT): Define and use macro.
2926 * wcsmbs/wcscat.c: Use WCSCAT if defined.
2927 * string/test-strcat.c: Add wcscat support.
2928 * wcsmbs/test-wcscat.c: New File.
2929 * wcsmbs/Makefile (strop-tests): Add wcscat.
2930 * benchtests/bench-strcat.c: Add wcscat support.
2931 * benchtests/bench-wcscat.c: New File.
2932 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
2933
2934 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
2935 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
2936 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
2937 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
2938 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
2939 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
2940 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
2941 wcpncpy functions.
2942 * sysdeps/s390/multiarch/ifunc-impl-list.c
2943 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
2944 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
2945 * string/test-stpncpy.c: Add wcpncpy support.
2946 * wcsmbs/test-wcpncpy.c: New File.
2947 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
2948 * benchtests/bench-stpncpy.c: Add wcpncpy support.
2949 * benchtests/bench-wcpncpy.c: New File.
2950 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
2951
2952 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
2953 * sysdeps/s390/multiarch/strncpy.c: Likewise.
2954 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
2955 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
2956 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
2957 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
2958 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
2959 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
2960 wcsncpy functions.
2961 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
2962 * sysdeps/s390/multiarch/ifunc-impl-list.c
2963 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
2964 * string/test-strncpy.c: Add wcsncpy support.
2965 * wcsmbs/test-wcsncpy.c: New File.
2966 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
2967 * benchtests/bench-strncpy.c: Add wcsncpy support.
2968 * benchtests/bench-wcsncpy.c: New File.
2969 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
2970
2971 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
2972 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
2973 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
2974 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
2975 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
2976 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
2977 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
2978 wcpcpy functions.
2979 * string/stpcpy.c: Use STPCPY if defined.
2980 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
2981 * sysdeps/s390/multiarch/ifunc-impl-list.c
2982 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
2983 * string/test-stpcpy.c: Add wcpcpy support.
2984 * wcsmbs/test-wcpcpy.c: New File.
2985 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
2986 * benchtests/bench-stpcpy.c: Add wcpcpy support.
2987 * benchtests/bench-wcpcpy.c: New File.
2988 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
2989
2990 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
2991 * sysdeps/s390/multiarch/strcpy.c: Likewise.
2992 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
2993 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
2994 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
2995 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
2996 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
2997 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
2998 wcscpy functions.
2999 * sysdeps/s390/multiarch/ifunc-impl-list.c
3000 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
3001 * benchtests/bench-wcscpy.c: New File.
3002 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
3003
3004 * sysdeps/s390/multiarch/strnlen-c.c: New File.
3005 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
3006 * sysdeps/s390/multiarch/strnlen.c: Likewise.
3007 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
3008 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
3009 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
3010 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
3011 wcsnlen functions.
3012 * sysdeps/s390/multiarch/ifunc-impl-list.c
3013 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
3014 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
3015 * string/test-strnlen.c: Add wcsnlen support.
3016 * wcsmbs/test-wcsnlen.c: New File.
3017 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
3018 * benchtests/bench-strnlen.c: Add wcsnlen support.
3019 * benchtests/bench-wcsnlen.c: New File.
3020 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
3021
3022 * sysdeps/s390/multiarch/Makefile: New File.
3023 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
3024 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
3025 * sysdeps/s390/multiarch/strlen.c: Likewise.
3026 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
3027 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
3028 * sysdeps/s390/multiarch/wcslen.c: Likewise.
3029 * string/strlen.c (STRLEN): Define and use macro.
3030 * sysdeps/s390/multiarch/ifunc-impl-list.c
3031 (IFUNC_VX_IMPL): New macro function.
3032 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
3033 * benchtests/Makefile (wcsmbs-bench): New variable.
3034 (string-bench-all): Added wcsmbs-bench.
3035 * benchtests/bench-wcslen.c: New File.
3036
3037 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
3038 s390_vx_libc_ifunc2): New macro function.
3039
3040 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
3041 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
3042 assembler support.
3043 * sysdeps/s390/configure: Regenerated.
3044
3045 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
3046 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
3047
3048 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
3049 * sysdeps/s390/dl-procinfo.h: Add vector capability.
3050 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
3051
3052 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
3053 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
3054 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
3055 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
3056 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
3057 (memcmp, bcmp): Use __memcmp_default as alias source.
3058 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
3059 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
3060 Rename to __memcmp_default.
3061 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
3062 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
3063 (memcpy): Use __memcpy_default as alias source.
3064 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
3065 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
3066 Rename to __memcpy_default.
3067 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
3068 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
3069 (memset): Use __memset_default as alias source.
3070 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
3071 * sysdeps/s390/s390-32/memset.S (__memset_g5):
3072 Rename to __memset_default.
3073 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
3074 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
3075 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
3076 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
3077 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
3078 (memcmp, bcmp): Use __memcmp_default as alias source.
3079 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
3080 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
3081 Rename to __memcmp_default.
3082 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
3083 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
3084 (memcpy): Use __memcpy_default as alias source.
3085 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
3086 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
3087 Rename to __memcpy_default.
3088 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
3089 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
3090 (memset): Use __memset_default as alias source.
3091 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
3092 * sysdeps/s390/s390-64/memset.S (__memset_z900):
3093 Rename to __memset_default.
3094 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
3095 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
3096
3097 [BZ #18610]
3098 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
3099 __ieee_instruction_pointer to __unused.
3100 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
3101 __ieee_instruction_pointer.
3102 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
3103 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
3104 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
3105 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
3106 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
3107 Mark dxc-field as reserved.
3108
3109 2015-08-25 Roland McGrath <roland@hack.frob.com>
3110
3111 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
3112 if the weak reference is not null.
3113
3114 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
3115
3116 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
3117
3118 [BZ #11214]
3119 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
3120
3121 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3122
3123 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
3124 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
3125 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
3126 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
3127 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
3128 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
3129 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
3130 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
3131 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
3132 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
3133 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
3134 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
3135 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
3136 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
3137 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
3138 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
3139 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
3140 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
3141
3142 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
3143
3144 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
3145 register other than r0 for tabort, it has special meaning.
3146 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise
3147 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
3148 transaction before starting syscall.
3149
3150 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3151
3152 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
3153
3154 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
3155
3156 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
3157
3158 * sysdeps/x86_64/rtld-memcmp.c: Removed.
3159 * sysdeps/x86_64/rtld-memset.S: Likewise.
3160 * sysdeps/x86_64/rtld-strchr.S: Likewise.
3161 * sysdeps/x86_64/rtld-strlen.S: Likewise.
3162 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
3163 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
3164
3165 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
3166
3167 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
3168
3169 * debug/strcpy_chk.c: Improve performance.
3170 * debug/stpcpy_chk.c: Likewise.
3171 * sysdeps/x86_64/strcpy_chk.S: Remove.
3172 * sysdeps/x86_64/stpcpy_chk.S: Remove.
3173
3174 [BZ #18240]
3175 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
3176
3177 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
3178
3179 [BZ #15128]
3180 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
3181 ifuncmain8.
3182 (modules-names): Add ifuncmod8.
3183 ($(objpfx)ifuncmain8): New rule.
3184 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
3185 <cpuid.h>.
3186 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
3187 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
3188 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
3189 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
3190 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
3191 * sysdeps/x86_64/dl-trampoline.h: Likewise.
3192 * sysdeps/x86_64/ifuncmain8.c: New file.
3193 * sysdeps/x86_64/ifuncmod8.c: Likewise.
3194 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
3195 Removed.
3196 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
3197 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
3198 Change rtld_savespace_sse to __glibc_unused2.
3199 (RTLD_CHECK_FOREIGN_CALL): Removed.
3200 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
3201 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
3202 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
3203
3204 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
3205
3206 * sysdeps/aarch64/bzero.S (__bzero): Remove.
3207
3208 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
3209
3210 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
3211 Unconditionally set __fpcr to avoid uninialized warning.
3212 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
3213
3214 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3215
3216 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
3217 is corrupt.
3218
3219 * malloc/arena.c (arena_get2): Drop unused argument.
3220 (arena_lock): Adjust.
3221 (arena_get_retry): Likewise.
3222
3223 2015-08-24 Andreas Schwab <schwab@suse.de>
3224
3225 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
3226 Don't define.
3227 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
3228 (__ASSUME_IPC64): Don't undef.
3229 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
3230 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
3231 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
3232 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
3233 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
3234 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
3235 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
3236 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
3237 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
3238 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
3239 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
3240 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
3241 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
3242 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
3243 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
3244 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
3245 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
3246 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
3247 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
3248 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
3249 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
3250
3251 2015-08-21 Mike Frysinger <vapier@gentoo.org>
3252
3253 * manual/Makefile (install): Only build manual when perl is available.
3254
3255 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3256
3257 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
3258 '#undef memcpy' by '#undef memchr'.
3259
3260 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3261
3262 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
3263 memchr not point to the internal __GI_memchr implementation.
3264
3265 2015-08-20 Joseph Myers <joseph@codesourcery.com>
3266
3267 * timezone/Makefile (CFLAGS-zdump.c): Remove
3268 -Wno-strict-prototypes.
3269 (CFLAGS-zic.c): Likewise.
3270 (CFLAGS-ialloc.c): Likewise.
3271 (CFLAGS-scheck.c): Likewise.
3272
3273 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
3274 -Wno-error=undef.
3275
3276 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
3277
3278 * i386/i686/multiarch/strcasestr-c.c: Removed.
3279 * x86_64/multiarch/strcasestr.c: Likewise.
3280 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3281 Remove strcasestr.
3282
3283 2015-08-20 Joseph Myers <joseph@codesourcery.com>
3284
3285 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
3286
3287 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
3288 variables for high and low parts before possibly modifying them.
3289
3290 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
3291
3292 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
3293 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
3294 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
3295 of "multiarch/init-arch.h".
3296 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
3297 * sysdeps/x86/init-arch.h: This.
3298
3299 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
3300
3301 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
3302 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
3303
3304 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
3305
3306 [BZ #17787]
3307 * manual/macros.texi: Add twoexp macro.
3308 * manual/filesys.texi: Fix exponents.
3309 * manual/llio.texi: Likewise.
3310 * manual/stdio.texi: Likewise.
3311
3312 2015-08-20 Florian Weimer <fweimer@redhat.com>
3313
3314 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
3315 incorrect use.
3316
3317 2015-08-19 Joseph Myers <joseph@codesourcery.com>
3318
3319 [BZ #18370]
3320 * math/s_csqrt.c (__csqrt): Force underflow exception for results
3321 whose real or imaginary part has small absolute value.
3322 * math/s_csqrtf.c (__csqrtf): Likewise.
3323 * math/s_csqrtl.c (__csqrtl): Likewise.
3324 * math/auto-libm-test-in: Add more tests of csqrt.
3325 * math/auto-libm-test-out: Regenerated.
3326 * sysdeps/i386/fpu/libm-test-ulps: Update.
3327
3328 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
3329
3330 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
3331 __ppc_set_ppr_very_low): New functions.
3332 * manual/platform.texi: Add documentation about
3333 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
3334
3335 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
3336
3337 * string/stpncpy.c (stpncpy): Improve performance using
3338 __strnlen/memcpy/memset.
3339
3340 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
3341
3342 [BZ #18796]
3343 * scripts/test-installation.pl: Don't add -lmvec to build options if
3344 libmvec wasn't built.
3345
3346 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3347
3348 [BZ #14341]
3349 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
3350 case when there is a gap between DT_REL and DT_JMPREL sections.
3351 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
3352 (LDFLAGS-tst-split-dynreloc): New.
3353 (tst-split-dynreloc-ENV): Likewise.
3354 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
3355 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
3356
3357 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
3358
3359 [BZ #18822]
3360 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
3361 attribute_hidden.
3362 (__xstat64_conv): Likewise.
3363 (__xstat32_conv): Likewise.
3364
3365 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
3366
3367 [BZ #18822]
3368 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
3369 Don't load %ebx when calling __setcontext. Call __setcontext
3370 with HIDDEN_JUMPTARGET.
3371 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
3372 libc_hidden_def.
3373
3374 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
3375
3376 * sysdeps/i386/i686/Makefile
3377 [$(subdir) == string] (sysdep_routines): Moved to ...
3378 * sysdeps/i386/Makefile: Here.
3379 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
3380 * sysdeps/i386/cacheinfo.c: Here.
3381 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
3382 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
3383 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
3384 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
3385
3386 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
3387
3388 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
3389 __i586__ is defined.
3390 (HAS_I686): Defined to 1 if __i686__ is defined.
3391
3392 2015-08-19 Joseph Myers <joseph@codesourcery.com>
3393
3394 * elf/Makefile [$(have-z-execstack) = yes]
3395 (CPPFLAGS-tst-execstack.c): New variable.
3396
3397 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
3398 conditional to [defined UTMPX || _HAVE_UT_TYPE].
3399 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
3400 UTMPX || _HAVE_UT_TV].
3401 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
3402 UTMPX || _HAVE_UT_TV - 0].
3403
3404 2015-08-18 Joseph Myers <joseph@codesourcery.com>
3405
3406 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
3407 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
3408 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
3409
3410 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
3411
3412 * sysdeps/powerpc/dl-procinfo.c:
3413 (_dl_powerpc_cap_flags): Added missing strings for some
3414 hwcap features.
3415 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
3416
3417 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
3418
3419 Port the 0x7efe...feff pattern to GCC 6.
3420 See Steve Ellcey's bug report in:
3421 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
3422 * string/memrchr.c (MEMRCHR):
3423 * string/rawmemchr.c (RAWMEMCHR):
3424 * string/strchr.c (strchr):
3425 * string/strchrnul.c (STRCHRNUL):
3426 Rewrite code to avoid issues with signed shift overflow.
3427
3428 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
3429
3430 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
3431 whether cpuid is available only if HAS_CPUID is 0.
3432 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
3433 (HAS_I586): Likewise.
3434 (HAS_I686): Likewise.
3435
3436 2015-08-18 Zack Weinberg <zackw@panix.com>
3437
3438 * misc/Versions (libc): Add GLIBC_2.23.
3439
3440 2015-08-18 Alan Modra <amodra@gmail.com>
3441
3442 [BZ #18421]
3443 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
3444 .Lp__global.
3445 (_start): Load %dp via .Lp__global.
3446 [!SHARED]: Use .section .rodata.
3447
3448 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3449
3450 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
3451 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
3452
3453 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3454
3455 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
3456 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
3457
3458 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3459
3460 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
3461 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
3462
3463 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3464
3465 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
3466 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
3467
3468 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3469
3470 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
3471 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
3472
3473 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3474
3475 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
3476 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
3477
3478 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3479
3480 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
3481
3482 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3483
3484 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
3485 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
3486 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3487 (__ASSUME_LWS_CAS): Delete.
3488
3489 2015-08-18 Mike Frysinger <vapier@gentoo.org>
3490
3491 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
3492 * sysdeps/hppa/configure: Regenerated.
3493 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
3494 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
3495 * sysdeps/hppa/nptl/tls.h: Likewise.
3496
3497 2015-08-17 Joseph Myers <joseph@codesourcery.com>
3498
3499 [BZ #18823]
3500 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
3501 for scaling up small arguments.
3502 * math/s_csqrtf.c (__csqrtf): Likewise.
3503 * math/s_csqrtl.c (__csqrtl): Likewise.
3504 * math/auto-libm-test-in: Add more tests of csqrt.
3505 * math/auto-libm-test-out: Regenerated.
3506
3507 2015-08-17 Andreas Schwab <schwab@suse.de>
3508
3509 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
3510 version set GLIBC_2.19.
3511
3512 2015-08-16 Zack Weinberg <zackw@panix.com>
3513
3514 [BZ #18681]
3515 * misc/regexp.h: This interface is no longer supported.
3516 Remove all contents, leaving only an #error directive.
3517 * misc/regexp.c (loc1, loc2, locs, step, advance):
3518 Demote to compatibility symbols.
3519
3520 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
3521
3522 [BZ #18084]
3523 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
3524 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
3525 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
3526 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
3527 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
3528 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
3529 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
3530 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
3531 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
3532
3533 2015-08-15 Zack Weinberg <zackw@panix.com>
3534
3535 [BZ #18795]
3536 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
3537 buffer length is known to be too large, not if it's known to be
3538 small enough.
3539 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
3540 overflow at runtime, involving a length parameter, twice: once
3541 with a compile-time constant length parameter, once without.
3542
3543 2015-08-14 Joseph Myers <joseph@codesourcery.com>
3544
3545 [BZ #18824]
3546 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
3547 scaling x * y up instead of down.
3548 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3549 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3550 * math/auto-libm-test-in: Add more tests of fma.
3551 * math/auto-libm-test-out: Regenerated.
3552
3553 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3554
3555 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
3556
3557 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
3558
3559 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
3560 unnecessary movq.
3561 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
3562 Likewise.
3563
3564 2015-08-13 Joseph Myers <joseph@codesourcery.com>
3565
3566 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
3567 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
3568 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
3569 and tgamma.
3570 * math/auto-libm-test-out: Regenerated.
3571 * sysdeps/i386/fpu/libm-test-ulps: Update.
3572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3573
3574 [BZ #16520]
3575 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
3576 (__tanh): Force underflow exception for arguments with small
3577 absolute value.
3578 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
3579 (__tanhf): Force underflow exception for arguments with small
3580 absolute value.
3581 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
3582 (__tanhl): Force underflow exception for arguments with small
3583 absolute value.
3584 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
3585 (__tanhl): Force underflow exception for arguments with small
3586 absolute value.
3587 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
3588 (__tanhl): Force underflow exception for arguments with small
3589 absolute value.
3590 * math/auto-libm-test-in: Add more tests of tanh.
3591 * math/auto-libm-test-out: Regenerated.
3592 * sysdeps/i386/fpu/libm-test-ulps: Update.
3593
3594 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3595
3596 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
3597 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
3598
3599 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3600
3601 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
3602 <cpuid.h>.
3603
3604 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3605
3606 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
3607 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
3608
3609 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3610
3611 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
3612 Remove $(objpfx)init-arch.o.
3613 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
3614 init-arch.
3615 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
3616 (INIT_ARCH_EXT): Defined as empty.
3617 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
3618 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
3619 __init_cpu_features call. Replace HAS_XXX with
3620 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3621 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
3622 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
3623 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
3624 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
3625 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
3626 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
3627 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
3628 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
3629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
3630 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
3631 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
3632 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
3633 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
3634 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
3635 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
3636 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
3637 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
3638 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
3639 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
3640 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
3641 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
3642 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
3643 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
3644 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
3645 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
3646 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
3647 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
3648 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
3649 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
3650 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
3651 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
3652 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
3653 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
3654 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
3655 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
3656
3657 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3658
3659 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
3660 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3661 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3662 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
3663 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
3664 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
3665 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
3666 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
3667 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
3668 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
3669 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
3670 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
3671 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3672 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3673 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3674 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3675 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3676 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3677 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3678 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3679 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3680 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3681 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3682 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3683 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3684 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3685 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
3686 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3687 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3688 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3689 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3690 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3691 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3692 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3693 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3694 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3695 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3696 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3697 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3698 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3699 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3700 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3701 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3702
3703 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3704
3705 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
3706 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3707 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
3708 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
3709 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
3710 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
3711 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
3712 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
3713 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
3714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
3715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
3716 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
3717 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
3718 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
3719 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
3720 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
3721 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
3722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
3723 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
3724 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
3725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
3726 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
3727 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
3728 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3729 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3730 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
3731 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
3732 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
3733 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
3734 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3735 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3736 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3737 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3738 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3739 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3740 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3741 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3742 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3743 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3744 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3745 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3746 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3747 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3748
3749 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
3750
3751 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
3752 (dl_platform_init): Call init_cpu_features.
3753 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
3754 * sysdeps/i386/i686/cacheinfo.c
3755 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
3756 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
3757 * sysdeps/i386/i686/multiarch/Versions: Removed.
3758 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
3759 Removed.
3760 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
3761 * sysdeps/unix/sysv/linux/x86/Makefile
3762 (libpthread-sysdep_routines): Remove init-arch.
3763 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
3764 <sysdeps/x86_64/dl-procinfo.c> instead of
3765 sysdeps/generic/dl-procinfo.c>.
3766 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
3767 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
3768 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
3769 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
3770 [$(subdir) == elf] (tests-static): Add
3771 tst-get-cpu-features-static.
3772 * sysdeps/x86/Versions: New file.
3773 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
3774 * sysdeps/x86/cpu-features.c: Likewise.
3775 * sysdeps/x86/cpu-features.h: Likewise.
3776 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
3777 * sysdeps/x86/libc-start.c: Likewise.
3778 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
3779 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
3780 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
3781 * sysdeps/x86_64/dl-procinfo.c: Likewise.
3782 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
3783 Assume USE_MULTIARCH is defined and don't check it.
3784 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
3785 (is_amd): Likewise.
3786 (max_cpuid): Likewise.
3787 (intel_check_word): Likewise.
3788 (__cache_sysconf): Don't call __init_cpu_features.
3789 (__x86_preferred_memory_instruction): Removed.
3790 (init_cacheinfo): Don't call __init_cpu_features. Replace
3791 __cpu_features with GLRO(dl_x86_cpu_features).
3792 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
3793 (dl_platform_init): Call init_cpu_features.
3794 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
3795 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
3796 * sysdeps/x86_64/multiarch/Versions: Removed.
3797 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
3798 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
3799 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
3800 Removed.
3801 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
3802
3803 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3804
3805 [BZ #18820]
3806 * libio/Makefile (test-fmemopen-mem): New test.
3807 * libio/test-fmemopen.c (do_bz18820): New test.
3808 * libio/fmemopen.c (__fmemopen): Fix memory leak.
3809 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
3810
3811 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
3812
3813 [BZ #16734]
3814 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
3815 (FREE_BUF): Delete.
3816 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
3817 * libio/genops.c (_IO_setb): Use malloc and free directly.
3818 (_IO_default_doallocate, _IO_default_finish): Likewise.
3819 ( _IO_unbuffer_all): Likewise.
3820 ( libc_freeres_fn): Likewise.
3821 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3822 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
3823 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
3824 (_IO_wdefault_doallocate): Likewise.
3825
3826 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
3827
3828 [BZ #18086]
3829 * sysdeps/posix/nice.c (nice): Restore old errno.
3830 * posix/tst-nice.c (do_test): Add test for BZ #18086.
3831
3832 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
3833
3834 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
3835
3836 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3837
3838 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
3839 __bcopy and add a weak_alias to bcopy.
3840 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
3841 for static build.
3842
3843 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
3844 cleanup macro usage.
3845 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
3846 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
3847 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3848 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
3849 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3850 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
3851 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
3852 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3853 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3854 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
3855 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3856 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
3857 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
3858 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
3859 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
3860 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
3861 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
3862 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
3863 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
3864
3865 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
3866 libc_hidden_def.
3867 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
3868
3869 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
3870 (sysdep_routines): Add strstr-ppc64.
3871 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
3872
3873 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
3874
3875 [BZ #18778]
3876 * elf/Makefile (tests): Add Add tst-nodelete2.
3877 (modules-names): Add tst-nodelete2mod.
3878 (tst-nodelete2mod.so-no-z-defs): New.
3879 ($(objpfx)tst-nodelete2): Likewise.
3880 ($(objpfx)tst-nodelete2.out): Likewise.
3881 (LDFLAGS-tst-nodelete2): Likewise.
3882 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
3883 out of loop through all loaded libraries.
3884 * elf/tst-nodelete2.c: New file.
3885 * elf/tst-nodelete2mod.c: Likewise.
3886 * elf/tst-znodelete-zlib.cc: Delete.
3887
3888 2015-08-11 Andreas Schwab <schwab@suse.de>
3889
3890 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
3891 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
3892 (__openat64_nocancel): Likewise.
3893
3894 2015-08-11 Joseph Myers <joseph@codesourcery.com>
3895
3896 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
3897 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
3898 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
3899 * math/auto-libm-test-out: Regenerated.
3900 * sysdeps/i386/fpu/libm-test-ulps: Update.
3901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3902
3903 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3904
3905 [BZ #18790]
3906 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
3907 threshold for returning +/- 1.
3908 * math/auto-libm-test-in: Add more tests of tanh.
3909 * math/auto-libm-test-out: Regenerated.
3910 * sysdeps/i386/fpu/libm-test-ulps: Update.
3911
3912 2015-08-10 Andreas Schwab <schwab@suse.de>
3913
3914 [BZ #18781]
3915 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
3916 MORE_OFLAGS to oflag.
3917 * io/test-lfs.c (do_test): Test openat64.
3918
3919 2015-08-10 Joseph Myers <joseph@codesourcery.com>
3920
3921 [BZ #18789]
3922 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
3923 smaller threshold for returning the argument.
3924 * math/auto-libm-test-in: Add more tests of sinh.
3925 * math/auto-libm-test-out: Regenerated.
3926 * sysdeps/i386/fpu/libm-test-ulps: Update.
3927
3928 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
3929
3930 [BZ #18674]
3931 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
3932 break.
3933
3934 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
3935
3936 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
3937 (generated): Don't add $(addprefix z.,$(tzfiles)).
3938
3939 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3940
3941 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
3942 * scripts/sysd-rules.awk: Likewise.
3943
3944 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3945
3946 * iconvdata/tst-tables.sh: Change echo -n to printf.
3947 * nss/db-Makefile: Likewise.
3948 * posix/tst-getconf.sh: Likewise.
3949 * stdio-common/tst-unbputc.sh: Likewise.
3950
3951 2015-08-09 Mike Frysinger <vapier@gentoo.org>
3952
3953 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
3954 MADV_*_PAGES defines behind this feature check.
3955
3956 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
3957
3958 [BZ #18480]
3959 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
3960 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
3961 Define.
3962 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
3963 LOAD_REGS_5, LOAD_REGS_6): Update.
3964 (INTERNAL_SYSCALL): Update using new LOAD defines.
3965 (INTERNAL_SYSCALL_NCS): Likewise.
3966 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
3967
3968 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3969
3970 [BZ #16734]
3971 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
3972
3973 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
3974
3975 [BZ #17905]
3976 * catgets/Makefile (tst-catgets-mem): New test.
3977 * catgets/catgets.c (catopen): Don't use unbounded alloca.
3978 * catgets/open_catalog.c (__open_catalog): Likewise.
3979 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
3980
3981 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
3982
3983 [BZ #18787]
3984 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
3985 clobber registers.
3986 (atomic_compare_and_exchange_val_acq): Use register asms to assign
3987 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
3988 Cast return to __typeof (oldval).
3989
3990 2015-08-08 Mike Frysinger <vapier@gentoo.org>
3991
3992 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
3993 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
3994 and delete sys/syscall.h include.
3995
3996 2015-08-07 Joseph Myers <joseph@codesourcery.com>
3997
3998 [BZ #16517]
3999 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
4000 (tan): Force underflow exception for arguments with small absolute
4001 value.
4002 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
4003 (__kernel_tanf): Force underflow exception for arguments with
4004 small absolute value.
4005 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
4006 (__kernel_tanl): Force underflow exception for arguments with
4007 small absolute value.
4008 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
4009 (__kernel_tanl): Force underflow exception for arguments with
4010 small absolute value.
4011 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
4012 (__kernel_tanl): Force underflow exception for arguments with
4013 small absolute value.
4014 * math/auto-libm-test-in: Add more tests of tan.
4015 * math/auto-libm-test-out: Regenerated.
4016
4017 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4018
4019 Fix sysdeps/i386/fpu/s_scalbn.S build
4020
4021 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
4022
4023 2015-08-07 Mike Frysinger <vapier@gentoo.org>
4024
4025 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4026
4027 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
4028
4029 Fix gcrt0.o compilation
4030
4031 When static-start-installed-name is different from
4032 start-installed-name, we must not use the shared objects.
4033
4034 * csu/Makefile
4035 (extra-objs): Add gmon-start.o when building shared library and
4036 $(static-start-installed-name) is different from
4037 $(start-installed-name).
4038 $(objpfx)g$(static-start-installed-name): When building shared
4039 library and $(static-start-installed-name) is different from
4040 $(static-start-installed-name), revert to non-shared rule,
4041 i.e. using $(objpfx)% and gmon-start.o.
4042
4043 2015-08-06 Joseph Myers <joseph@codesourcery.com>
4044
4045 [BZ #16519]
4046 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
4047 (__ieee754_sinh): Force underflow exception for arguments with
4048 small absolute value.
4049 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
4050 (__ieee754_sinhf): Force underflow exception for arguments with
4051 small absolute value.
4052 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
4053 (__ieee754_sinhl): Force underflow exception for arguments with
4054 small absolute value.
4055 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
4056 (__ieee754_sinhl): Force underflow exception for arguments with
4057 small absolute value.
4058 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
4059 (__ieee754_sinhl): Force underflow exception for arguments with
4060 small absolute value.
4061 * math/auto-libm-test-in: Add more tests of sinh.
4062 * math/auto-libm-test-out: Regenerated.
4063 * sysdeps/i386/fpu/libm-test-ulps: Update.
4064
4065 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
4066
4067 * libio/oldfileops.c: Include unistd.h.
4068
4069 2015-08-06 Mike Frysinger <vapier@gentoo.org>
4070
4071 * stdlib/isomac.c: Include ctype.h.
4072
4073 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
4074
4075 * dirent/tst-seekdir.c (main): Converted to ...
4076 (do_test): ... this.
4077 (TEST_FUNCTION): New macro.
4078 Include test-skeleton.c.
4079 * elf/tst-dlmodcount.c (main): Converted to ...
4080 (do_test): ... this.
4081 (TEST_FUNCTION): New macro.
4082 Include test-skeleton.c.
4083 * elf/tst-order-main.c (main): Converted to ...
4084 (do_test): ... this.
4085 (TEST_FUNCTION): New macro.
4086 Include test-skeleton.c.
4087 * elf/tst-pie2.c (main): Converted to ...
4088 (do_test): ... this.
4089 (TEST_FUNCTION): New macro.
4090 Include test-skeleton.c.
4091 * inet/tst-ether_aton.c (main): Converted to ...
4092 (do_test): ... this.
4093 (TEST_FUNCTION): New macro.
4094 Include test-skeleton.c.
4095 * misc/tst-mntent.c (main): Converted to ...
4096 (do_test): ... this.
4097 (TEST_FUNCTION): New macro.
4098 Include test-skeleton.c.
4099 * misc/tst-tsearch.c (main): Converted to ...
4100 (do_test): ... this.
4101 (TEST_FUNCTION): New macro.
4102 Include test-skeleton.c.
4103 * posix/tst-regexloc.c (main): Converted to ...
4104 (do_test): ... this.
4105 (TEST_FUNCTION): New macro.
4106 Include test-skeleton.c.
4107 * resolv/tst-aton.c (main): Converted to ...
4108 (do_test): ... this.
4109 (TEST_FUNCTION): New macro.
4110 Include test-skeleton.c.
4111 * stdio-common/test-fwrite.c (main): Converted to ...
4112 (do_test): ... this.
4113 (TEST_FUNCTION): New macro.
4114 Include test-skeleton.c.
4115 * stdio-common/tst-ferror.c (main): Converted to ...
4116 (do_test): ... this.
4117 (TEST_FUNCTION): New macro.
4118 Include test-skeleton.c.
4119 * stdio-common/tst-printf.c (main): Converted to ...
4120 (do_test): ... this.
4121 (TEST_FUNCTION): New macro.
4122 Include test-skeleton.c.
4123 * stdio-common/tst-printfsz.c (main): Converted to ...
4124 (do_test): ... this.
4125 (TEST_FUNCTION): New macro.
4126 Include test-skeleton.c.
4127 * stdlib/tst-strtod.c (main): Converted to ...
4128 (do_test): ... this.
4129 (TEST_FUNCTION): New macro.
4130 Include test-skeleton.c.
4131 * string/tst-strlen.c (main): Converted to ...
4132 (do_test): ... this.
4133 (TEST_FUNCTION): New macro.
4134 Include test-skeleton.c.
4135 * string/tst-svc.c (main): Converted to ...
4136 (do_test): ... this.
4137 (TEST_FUNCTION): New macro.
4138 Include test-skeleton.c.
4139 * time/tst-strptime.c (main): Converted to ...
4140 (do_test): ... this.
4141 (TEST_FUNCTION): New macro.
4142 Include test-skeleton.c.
4143 * timezone/tst-timezone.c (main): Converted to ...
4144 (do_test): ... this.
4145 (TEST_FUNCTION): New macro.
4146 Include test-skeleton.c.
4147
4148 2015-08-05 Zack Weinberg <zackw@panix.com>
4149
4150 * misc/regexp.h: Update comments.
4151
4152 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
4153
4154 [BZ #18635]
4155 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
4156 before return label.
4157
4158 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
4159
4160 [BZ #18661]
4161 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
4162 when calling __errno_location.
4163 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
4164 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
4165
4166 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
4167
4168 [BZ #18661]
4169 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
4170 (__lll_timedwait_tid): Align stack to 16 bytes when calling
4171 __gettimeofday.
4172
4173 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
4174
4175 [BZ #18661]
4176 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
4177 (__start_context): Don't use pop to restore %rdi so that stack
4178 is aligned to 16 bytes when calling __setcontext.
4179
4180 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
4181
4182 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
4183 only for libc.
4184 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
4185
4186 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
4187
4188 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
4189 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
4190 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
4191
4192 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
4193
4194 * string/memccpy.c (memccpy):
4195 Improve performance by using memchr/memcpy/__mempcpy.
4196
4197 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
4198
4199 * string/strncpy.c (strncpy):
4200 Improve performance by using __strnlen/memcpy.
4201
4202 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
4203
4204 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4205 Optimize to avoid an unnecessary FPCR read.
4206
4207 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
4208
4209 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4210 Optimize to reduce FPCR/FPSR accesses.
4211
4212 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
4213
4214 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
4215 dead->data[category] != NULL.
4216
4217 2015-08-05 Joseph Myers <joseph@codesourcery.com>
4218
4219 [BZ #18647]
4220 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
4221 and |x| close to 1, use absolute value of x when computing log.
4222 * math/auto-libm-test-in: Add more tests of pow.
4223 * math/auto-libm-test-out: Regenerated.
4224
4225 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4226
4227 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
4228 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
4229 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
4230
4231 2015-08-05 Marko Myllynen <myllynen@redhat.com>
4232
4233 [BZ #18525]
4234 * locales/km_KH: Remove timezone definition.
4235 * locales/lo_LA: Likewise.
4236 * locales/my_MM: Likewise.
4237 * locales/nan_TW@latin: Likewise.
4238 * locales/th_TH: Likewise.
4239 * locales/uk_UA: Likewise.
4240
4241 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
4242
4243 [BZ #18265]
4244 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
4245 (wcsncat): Likewise.
4246 (wcscmp): Likewise.
4247 (wcsncmp): Likewise.
4248
4249 2015-08-05 Mike Frysinger <vapier@gentoo.org>
4250
4251 * test-skeleton.c (usage): New function.
4252 (main): Call usage when opt is '?'.
4253
4254 2015-08-05 Mike Frysinger <vapier@gentoo.org>
4255
4256 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
4257 before first use.
4258
4259 2015-08-05 Mike Frysinger <vapier@gentoo.org>
4260
4261 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
4262 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
4263 in there too.
4264
4265 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
4266
4267 * version.h (RELEASE): Set to "development".
4268 (VERSION): Set to "2.22.90"
4269
4270 * version.h (RELEASE): Set to "stable".
4271 (VERSION): Set to "2.22"
4272 * include/features.h (__GLIBC_MINOR__): Set to 22.
4273
4274 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
4275
4276 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
4277 Restructure macro to avoid "value computed is not used" warning.
4278 (atomic_compare_and_exchange_val_acq): Likewise.
4279
4280 2015-08-04 Andreas Schwab <schwab@suse.de>
4281
4282 [BZ #18635]
4283 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
4284 ret.
4285 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
4286
4287 2015-08-01 Carlos O'Donell <carlos@redhat.com>
4288
4289 * po/pl.po: Updated translation.
4290 * po/uk.po: Likewise.
4291 * po/fi.po: Likewise.
4292 * po/ko.po: Likewise.
4293 * po/ru.po: Likewise.
4294 * po/vi.po: Likewise.
4295
4296 2015-07-31 Zack Weinberg <zackw@panix.com>
4297
4298 [BZ #18681]
4299 * regexp.h: Add unconditional #warning stating that this header
4300 will be removed soon. Revise banner comment to match.
4301 (compile): Consistently use ERROR instead of RETURN to report
4302 errors (partial fix for bz#18681).
4303 * regexp.c: Don't include regexp.h. Remove some unnecessary
4304 declarations.
4305
4306 2015-07-31 Carlos O'Donell <carlos@redhat.com>
4307
4308 * po/libc.pot: Regenerated.
4309
4310 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
4311
4312 [BZ #18740]
4313 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
4314 float-vlen4-arch-ext-cflags): Removed.
4315 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
4316 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
4317
4318 2015-07-30 Mike Frysinger <vapier@gentoo.org>
4319
4320 [BZ #14113]
4321 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
4322 aligned to __aligned__.
4323 (pthread_cond_t, pthread_rwlock_t): Likewise.
4324
4325 2015-07-30 Torvald Riegel <triegel@redhat.com>
4326
4327 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
4328
4329 2015-07-30 Mike Frysinger <vapier@gentoo.org>
4330
4331 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
4332 (struct sigaction): Change sa_flags from a long to an int, and add
4333 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
4334
4335 2015-07-30 Mike Frysinger <vapier@gentoo.org>
4336
4337 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
4338 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
4339 sysdeps/generic/sysdep.h include.
4340 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
4341 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
4342 sysdeps/hppa/sysdep.h.
4343 (ENTRY, PSEUDO): Undefine before defining.
4344
4345 2015-07-30 Mike Frysinger <vapier@gentoo.org>
4346
4347 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
4348 from scratch to use INTERNAL_SYSCALL.
4349
4350 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
4351
4352 [BZ #18078]
4353 * scripts/check-localplt.awk: Support alternate relocations.
4354 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
4355 sections.
4356 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
4357 malloc entries with + REL R_386_GLOB_DAT.
4358 * sysdeps/x86_64/localplt.data: New file.
4359
4360 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
4361
4362 [BZ #18731]
4363 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
4364 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
4365 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
4366
4367 2015-07-27 Mike Frysinger <vapier@gentoo.org>
4368
4369 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
4370
4371 2015-07-27 Mike Frysinger <vapier@gentoo.org>
4372
4373 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
4374 directly in terms of __sync_fetch_and_add and delete (int) cast.
4375
4376 2015-07-27 Mike Frysinger <vapier@gentoo.org>
4377
4378 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
4379 the -D_ASM_IA64_CURRENT_H flag.
4380
4381 2015-07-27 Mike Frysinger <vapier@gentoo.org>
4382
4383 [BZ #18641]
4384 * pwd/pwd.h (putpwent): Delete __nonnull markings.
4385
4386 2015-07-27 Andreas Schwab <schwab@suse.de>
4387
4388 * conform/conformtest.pl (checknamespace): Filter out string
4389 literals while tokenizing.
4390
4391 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
4392
4393 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4394 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
4395 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4396
4397 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
4398
4399 * nptl/tst-join7mod.c: Add #include <string.h>.
4400
4401 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
4402
4403 * sysdeps/nios2/libm-test-ulps: Update.
4404
4405 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
4406
4407 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
4408 Fix order of arguments to the rt_sigprocmask syscall.
4409 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
4410 Likewise.
4411
4412 2015-07-24 Roland McGrath <roland@hack.frob.com>
4413
4414 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
4415
4416 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4417
4418 [BZ #18457]
4419 * nptl/Makefile (tests): New test case tst-join7.
4420 (modules-names): New test case module tst-join7mod.
4421 * nptl/tst-join7.c: New file.
4422 * nptl/tst-join7mod.c: New file.
4423 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
4424 all translation units in libc.so, libpthread.so and rtld.
4425
4426 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4427
4428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4429
4430 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
4431
4432 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
4433 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
4434 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
4435 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
4436 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
4437 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
4438 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
4439 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
4440 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
4441 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
4442 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
4443 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
4444 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
4445 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
4446 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
4447 implementation.
4448
4449 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
4450
4451 [BZ #17711]
4452 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4453 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
4454 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4455 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
4456 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
4457 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
4458
4459 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4460
4461 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
4462 instead of just saying load lock in the comments.
4463
4464 2015-07-23 Roland McGrath <roland@hack.frob.com>
4465
4466 * sysdeps/unix/Subdirs: Moved ...
4467 * sysdeps/posix/Subdirs: ... here.
4468 * login/pty.h (struct termios, struct winsize): Add forward decls.
4469 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
4470 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
4471 * sysdeps/arm/nacl/libc.abilist: Updated.
4472 * sysdeps/nacl/libutil.abilist: New file.
4473
4474 * bits/signum.h: Update comments to mention 1003.1-2013 too.
4475 (SIGWINCH): New macro.
4476
4477 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
4478 * sysdeps/arm/nacl/libc.abilist: Add it.
4479
4480 2015-07-23 Mike Frysinger <vapier@gentoo.org>
4481
4482 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
4483
4484 2015-07-23 Mike Frysinger <vapier@gentoo.org>
4485
4486 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4487 Swap __glibc_reserved0 and sa_flags order.
4488
4489 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4490
4491 [BZ #18657]
4492 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
4493 are pending TLS destructor calls.
4494 * include/link.h (struct link_map): Add concurrency note for
4495 L_TLS_DTOR_COUNT.
4496 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
4497 Don't touch the link map flag. Atomically increment
4498 l_tls_dtor_count.
4499 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
4500 Avoid taking the load lock and don't touch the link map flag.
4501 * stdlib/tst-tls-atexit-nodelete.c: New test case.
4502 * stdlib/Makefile (tests): Use it.
4503 * stdlib/tst-tls-atexit.c (do_test): dlopen
4504 tst-tls-atexit-lib.so again before dlclose. Add conditionals
4505 to allow tst-tls-atexit-nodelete test case to use it.
4506
4507 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4508
4509 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
4510 to bits/types.h.
4511 (msgqnum_t): New typedef.
4512 (msglen_t): Likewise.
4513 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
4514 and msg_qbytes type to msglen_t.
4515
4516 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4517
4518 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
4519 pad0 to __glibc_reserved0.
4520 (struct stat64): Likewise.
4521
4522 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4523
4524 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
4525 Change sa_flags from a long to an int and add __glibc_reserved0 before
4526 it for padding.
4527
4528 2015-07-22 Mike Frysinger <vapier@gentoo.org>
4529
4530 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
4531 anonymous by deleting "siginfo" name.
4532
4533 2015-07-21 Roland McGrath <roland@hack.frob.com>
4534
4535 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
4536 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
4537 rather than __nacl_irt_filename.
4538 * sysdeps/nacl/xstat.c (__xstat): Likewise.
4539
4540 * NEWS: New item for arm-nacl port.
4541 * sysdeps/arm/nacl/libc.abilist: New file.
4542 * sysdeps/nacl/ld.abilist: New file.
4543 * sysdeps/nacl/libBrokenLocale.abilist: New file.
4544 * sysdeps/nacl/libanl.abilist: New file.
4545 * sysdeps/nacl/libcrypt.abilist: New file.
4546 * sysdeps/nacl/libdl.abilist: New file.
4547 * sysdeps/nacl/libm.abilist: New file.
4548 * sysdeps/nacl/libpthread.abilist: New file.
4549 * sysdeps/nacl/libresolv.abilist: New file.
4550 * sysdeps/nacl/librt.abilist: New file.
4551
4552 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
4553
4554 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
4555 __startcontext to initialize the new context.
4556 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
4557 up CFI directive to forbid further backtracing.
4558
4559 2015-07-21 Marko Myllynen <myllynen@redhat.com>
4560
4561 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
4562 reference.
4563 * charmaps/ANSI_X3.4-1968: Likewise.
4564 * charmaps/BS_4730: Likewise.
4565 * charmaps/BS_VIEWDATA: Likewise.
4566 * charmaps/CP1250: Likewise.
4567 * charmaps/CP1251: Likewise.
4568 * charmaps/CP1252: Likewise.
4569 * charmaps/CP1253: Likewise.
4570 * charmaps/CP1254: Likewise.
4571 * charmaps/CP1255: Likewise.
4572 * charmaps/CP1256: Likewise.
4573 * charmaps/CSN_369103: Likewise.
4574 * charmaps/EBCDIC-DK-NO: Likewise.
4575 * charmaps/GB_1988-80: Likewise.
4576 * charmaps/GREEK-CCITT: Likewise.
4577 * charmaps/GREEK7: Likewise.
4578 * charmaps/INIS-8: Likewise.
4579 * charmaps/ISIRI-3342: Likewise.
4580 * charmaps/ISO_2033-1983: Likewise.
4581 * charmaps/ISO_5427-EXT: Likewise.
4582 * locales/POSIX: Likewise.
4583 * locales/ar_SA: Likewise.
4584 * locales/be_BY: Likewise.
4585 * locales/be_BY@latin: Likewise.
4586 * locales/ca_ES: Likewise.
4587 * locales/cs_CZ: Likewise.
4588 * locales/da_DK: Likewise.
4589 * locales/de_BE: Likewise.
4590 * locales/de_CH: Likewise.
4591 * locales/de_LU: Likewise.
4592 * locales/en_AU: Likewise.
4593 * locales/en_BW: Likewise.
4594 * locales/en_CA: Likewise.
4595 * locales/en_DK: Likewise.
4596 * locales/en_GB: Likewise.
4597 * locales/en_IE: Likewise.
4598 * locales/en_NZ: Likewise.
4599 * locales/en_ZA: Likewise.
4600 * locales/en_ZW: Likewise.
4601 * locales/es_AR: Likewise.
4602 * locales/es_BO: Likewise.
4603 * locales/es_CL: Likewise.
4604 * locales/es_CO: Likewise.
4605 * locales/es_DO: Likewise.
4606 * locales/es_EC: Likewise.
4607 * locales/es_ES: Likewise.
4608 * locales/es_HN: Likewise.
4609 * locales/es_MX: Likewise.
4610 * locales/es_PA: Likewise.
4611 * locales/es_PE: Likewise.
4612 * locales/es_PY: Likewise.
4613 * locales/es_SV: Likewise.
4614 * locales/es_US: Likewise.
4615 * locales/es_UY: Likewise.
4616 * locales/es_VE: Likewise.
4617 * locales/et_EE: Likewise.
4618 * locales/fa_IR: Likewise.
4619 * locales/fo_FO: Likewise.
4620 * locales/fr_CA: Likewise.
4621 * locales/fr_CH: Likewise.
4622 * locales/gv_GB: Likewise.
4623 * locales/he_IL: Likewise.
4624 * locales/hr_HR: Likewise.
4625 * locales/id_ID: Likewise.
4626 * locales/is_IS: Likewise.
4627 * locales/it_CH: Likewise.
4628 * locales/iw_IL: Likewise.
4629 * locales/kl_GL: Likewise.
4630 * locales/ko_KR: Likewise.
4631 * locales/kw_GB: Likewise.
4632 * locales/lg_UG: Likewise.
4633 * locales/lt_LT: Likewise.
4634 * locales/lv_LV: Likewise.
4635 * locales/mi_NZ: Likewise.
4636 * locales/nhn_MX: Likewise.
4637 * locales/nl_BE: Likewise.
4638 * locales/pl_PL: Likewise.
4639 * locales/sk_SK: Likewise.
4640 * locales/sl_SI: Likewise.
4641 * locales/sv_FI: Likewise.
4642 * locales/tl_PH: Likewise.
4643 * locales/tr_TR: Likewise.
4644 * locales/vi_VN: Likewise.
4645
4646 2015-07-21 Khem Raj <raj.khem@gmail.com>
4647
4648 [BZ #17475]
4649 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
4650 of tu_IN and bh_IN.
4651
4652 2015-07-21 Mike Frysinger <vapier@gentoo.org>
4653
4654 [BZ #18694]
4655 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
4656 bits/wordsize.h.
4657 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
4658
4659 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4660
4661 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
4662 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
4663 (spawn_thread): New function.
4664 (load): Rename to reg_dtor_and_close. Move dlopen to...
4665 (do_test): ... here. Use IS_LOADED to test for its
4666 availability.
4667
4668 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
4669
4670 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4671
4672 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
4673
4674 [BZ #18696]
4675 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
4676 si_addr_bnd.
4677 (si_lower): New.
4678 (si_upper): Likewise.
4679
4680 2015-07-16 David S. Miller <davem@davemloft.net>
4681
4682 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
4683
4684 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4685
4686 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
4687 buffer.
4688 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
4689 fail output information.
4690
4691 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4692
4693 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
4694 and strstr-ppc64..
4695 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
4696 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
4697 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
4698 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
4699 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
4700
4701 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4702
4703 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4704 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4705 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
4706 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
4707
4708 2015-07-16 Mike Frysinger <vapier@gentoo.org>
4709
4710 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
4711 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
4712 rtld_hidden_proto.
4713 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
4714
4715 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4716
4717 * tst-nodelete-opened.c (do_test): Add comment to clarify how
4718 the test can fail.
4719
4720 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
4721
4722 [BZ #18676]
4723 * elf/tst-nodelete-opened.c: New test case.
4724 * elf/tst-nodelete-opened-lib.c: New test case module.
4725 * elf/Makefile (tests, modules-names): Use them.
4726 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
4727 early.
4728
4729 2015-07-15 David S. Miller <davem@davemloft.net>
4730
4731 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
4732 futex-intenal.h
4733 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
4734 * sysdeps/sparc/sparc64/Makefile: Likewise.
4735 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
4736 Remove space from macro define.
4737 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
4738
4739 2015-07-15 Pravin Satpute <psatpute@redhat.com>
4740
4741 [BZ #17475]
4742 * locale/iso-639.def: Update Bhili and Tulu language codes as
4743 per iso639-3.
4744
4745 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
4746
4747 * elf/tst-leaks1.c (main): Converted to ...
4748 (do_test): ... this.
4749 (TEST_FUNCTION): New macro.
4750 Include test-skeleton.c.
4751 * localedata/tst-langinfo.c (main): Converted to ...
4752 (do_test): ... this.
4753 (TEST_FUNCTION): New macro.
4754 Include test-skeleton.c.
4755 * math/test-fpucw.c (main): Converted to ...
4756 (do_test): ... this.
4757 (TEST_FUNCTION): New macro.
4758 Include test-skeleton.c.
4759 * math/test-tgmath.c (main): Converted to ...
4760 (do_test): ... this.
4761 (TEST_FUNCTION): New macro.
4762 Include test-skeleton.c.
4763 * math/test-tgmath2.c (main): Converted to ...
4764 (do_test): ... this.
4765 (TEST_FUNCTION): New macro.
4766 Include test-skeleton.c.
4767 * setjmp/tst-setjmp.c (main): Converted to ...
4768 (do_test): ... this.
4769 (TEST_FUNCTION): New macro.
4770 Include test-skeleton.c.
4771 * stdio-common/tst-sscanf.c (main): Converted to ...
4772 (do_test): ... this.
4773 (TEST_FUNCTION): New macro.
4774 Include test-skeleton.c.
4775 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
4776 (do_test): ... this.
4777 (TEST_FUNCTION): New macro.
4778 Include test-skeleton.c.
4779
4780 * elf/tst-audit9.c (main): Converted to ...
4781 (do_test): ... this.
4782 (TEST_FUNCTION): New macro.
4783 Include test-skeleton.c.
4784
4785 2015-07-15 Mike Frysinger <vapier@gentoo.org>
4786
4787 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
4788
4789 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4790
4791 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
4792 New variable.
4793
4794 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
4795
4796 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4797
4798 2015-07-14 Roland McGrath <roland@hack.frob.com>
4799
4800 * sysdeps/generic/dl-fileid.h: New file.
4801 * sysdeps/posix/dl-fileid.h: New file.
4802 * sysdeps/nacl/dl-fileid.h: New file.
4803 * include/link.h: Include <dl-fileid.h>.
4804 (struct link_map): Replace l_dev and l_ino with l_file_id.
4805 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
4806 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
4807 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
4808
4809 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4810
4811 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
4812
4813 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4814
4815 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
4816 Add iff $CXX is set.
4817 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
4818 Likewise.
4819 (tst-nodelete-zmodiff): Likewise.
4820 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
4821
4822 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4823
4824 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
4825
4826 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4827
4828 * sysdeps/aarch64/fpu/math_private.h
4829 (define math_opt_barrier): Add AArch64 version.
4830 (math_force_eval): Likewise.
4831
4832 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
4833
4834 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
4835
4836 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
4837
4838 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
4839 %ld with %jd and cast to intmax_t.
4840 (do_test_length_zero): Likewise.
4841
4842 2015-07-10 Roland McGrath <roland@hack.frob.com>
4843
4844 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
4845
4846 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
4847
4848 * sysdeps/tile/libm-test-ulps: Regenerated.
4849
4850 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
4851 Comment out the whole function, not just its body.
4852
4853 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4854
4855 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
4856 locks.
4857
4858 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
4859
4860 2015-07-10 Torvald Riegel <triegel@redhat.com>
4861
4862 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
4863 (sem_assume_only_signals_cause_futex_EINTR): Remove.
4864
4865 2015-07-10 Torvald Riegel <triegel@redhat.com>
4866
4867 * sysdeps/nptl/futex-internal.h: New file.
4868 * sysdeps/nacl/futex-internal.h: New file.
4869 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
4870 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
4871 error checking.
4872 (setxid_unmark_thread): Likewise.
4873 (__nptl_setxid): Likewise.
4874 (__wait_lookup_done): Likewise.
4875 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
4876 * nptl/nptl-init.c (sighandler_setxid): Likewise.
4877 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
4878 * nptl/pthread_once.c (clear_once_control): Likewise.
4879 (__pthread_once_slow): Likewise.
4880 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
4881 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
4882 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
4883 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
4884 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
4885 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
4886 Likewise.
4887 (__pthread_rwlock_rdlock): Likewise.
4888 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4889 Likewise.
4890 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4891 Likewise.
4892 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
4893 Likewise.
4894 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
4895 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
4896 Likewise.
4897 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
4898 __ASSUME_PRIVATE_FUTEX check.
4899 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
4900 Check that shared futexes are supported.
4901 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
4902 wrappers with error checking.
4903 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
4904 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
4905 * nptl/pthread_barrierattr_setpshared.c
4906 (pthread_barrierattr_setpshared): Check that shared futexes are
4907 supported.
4908 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
4909 Likewise.
4910 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
4911 Likewise.
4912 * nptl/sem_init.c (futex_private_if_supported): Remove.
4913 (__new_sem_init): Adapt and check that shared futexes are supported.
4914 * nptl/sem_open.c (sem_open): Likewise.
4915 * nptl/sem_post.c (futex_wake): Remove.
4916 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
4917 (do_futex_wait): Use futex wrappers with error checking.
4918 * nptl/sem_wait.c: Include lowlevellock.h.
4919 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
4920 Use futex_supports_pshared.
4921 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
4922 Use futex wrappers with error checking.
4923 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
4924 Likewise.
4925 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
4926 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
4927 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
4928 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
4929 (futex_wake): Likewise.
4930 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
4931 (do_futex_wait): Use futex wrappers with error checking.
4932 (__new_sem_wait_slow): Update EINTR handling.
4933 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
4934
4935 2015-07-09 Martin Sebor <msebor@redhat.com>
4936
4937 [BZ #18435]
4938 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
4939 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
4940 * nptl/Makefile (test-xfail-tst-once5): Define.
4941
4942 2015-07-09 Roland McGrath <roland@hack.frob.com>
4943
4944 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
4945 * elf/dl-minimal.c: For readability, reorder some definitions and
4946 introduce more page breaks. Include <stdio.h>.
4947 (__libc_fatal): New function.
4948
4949 * include/unistd.h: Add rtld_hidden_proto for _exit.
4950 * posix/_exit.c: Add rtld_hidden_def.
4951 * sysdeps/mach/hurd/_exit.c: Likewise.
4952 * sysdeps/nacl/_exit.c: Likewise.
4953 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
4954 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
4955
4956 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
4957
4958 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
4959 bndmov encoding with zero displacement.
4960
4961 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
4962 H.J. Lu <hongjiu.lu@intel.com>
4963
4964 [BZ #18134]
4965 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
4966 * sysdeps/i386/configure: Regenerated.
4967 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
4968 (_dl_runtime_profile): Save and restore Intel MPX return bound
4969 registers when calling _dl_call_pltexit. Add
4970 PRESERVE_BND_REGS_PREFIX before return.
4971 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
4972 (LRV_BND1_OFFSET): Likewise.
4973 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
4974 lrv_bnd1.
4975 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
4976 typo in bndmov encoding.
4977 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
4978 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
4979 branch instructions to preserve bounds.
4980
4981 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4982
4983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
4984 [GLIBC_2.22]: Add fmemopen.
4985
4986 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
4987
4988 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
4989 returns an error, also try to use host port from __mach_host_self for
4990 the __vm_wire call.
4991 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
4992
4993 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
4994
4995 [BZ #18400]
4996 [BZ #18648]
4997 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
4998 Fix pr_uid and pr_gid members.
4999 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
5000 definition to elf_greg_t.
5001
5002 2015-07-08 Roland McGrath <roland@hack.frob.com>
5003
5004 [BZ #18383]
5005 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
5006 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
5007 * sysdeps/arm/configure: Regenerated.
5008 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
5009 (test-xfail-tst-tlsalign-static): Variable removed.
5010
5011 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
5012 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
5013 rather than explicit 'ln -s'.
5014
5015 * resolv/rpc/netdb.h: New file.
5016 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
5017
5018 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5019
5020 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
5021 length buffers.
5022 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5023 test-skeleton.c.
5024
5025 [BZ #6544]
5026 [BZ #11216]
5027 [BZ #12836]
5028 [BZ #13151]
5029 [BZ #13152]
5030 [BZ #14292]
5031 * include/stdio.h (fmemopen): Remove hidden prototype.
5032 (__fmemopen): Add new hidden prototype.
5033 * libio/Makefile: Add oldfmemopen object.
5034 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
5035 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
5036 compliance.
5037 * libio/oldfmemopen.c: New file: old fmemopen implementation for
5038 symbol compatibility.
5039 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
5040 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
5041 fmemopen.
5042 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
5043 on append and read mode.
5044 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
5045 fmemopen.
5046 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
5047 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
5048 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
5049 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
5050 Likewise.
5051 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
5052 [GLIBC_2.22]: Likewise.
5053 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
5054 Likewise.
5055 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
5056 Likewise.
5057 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
5058 [GLIBC_2.22]: Likewise.
5059 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
5060 [GLIBC_2.22]: Likewise.
5061 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
5062 [GLIBC_2.22]: Likewise.
5063 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
5064 [GLIBC_2.22]: Likewise.
5065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
5066 [GLIBC_2.22]: Likewise.
5067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
5068 [GLIBC_2.22]: Likewise.
5069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
5070 [GLIBC_2.22]: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
5072 Likewise.
5073 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
5074 Likewise.
5075 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
5076 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
5077 [GLIBC_2.22]: Likewise.
5078 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
5079 [GLIBC_2.22]: Likewise.
5080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
5081 [GLIBC_2.22]: Likewise.
5082 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
5083 [GLIBC_2.22]: Likewise.
5084 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
5085 Likewise.
5086 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
5087 Likewise.
5088 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
5089 Likewise.
5090 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
5091 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
5092
5093 2015-07-08 Carlos O'Donell <carlos@redhat.com>
5094
5095 [BZ #18643]
5096 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
5097 IPV6_PATHMTU, and IPV6_DONTFRAG.
5098
5099 2015-07-08 Feng Gao <gfree.wind@gmail.com>
5100
5101 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
5102 and _IO_UNBUFFERED.
5103 * libio/oldfileops.c: Likewise.
5104 * libio/wfileops.c: Likewise.
5105
5106 2015-07-08 Mike Frysinger <vapier@gentoo.org>
5107
5108 * nscd/selinux.c: Delete selinux/flask.h include.
5109
5110 2015-07-08 Mike Frysinger <vapier@gentoo.org>
5111
5112 [BZ #18641]
5113 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
5114 (putpwent): Likewise.
5115 (getpwnam): Likewise.
5116 (getpwent_r): Likewise.
5117 (getpwuid_r): Likewise.
5118 (getpwnam_r): Likewise.
5119 (fgetpwent_r): Likewise.
5120
5121 2015-07-08 Carlos O'Donell <carlos@redhat.com>
5122
5123 [BZ #18557]
5124 * inet/rcmd.c (__validuser2_sa): Check user first to
5125 short-circuit host check.
5126
5127 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
5128 Mikhail Ilin <m.ilin@samsung.com>
5129
5130 [BZ #17833]
5131 * elf/Makefile (tests): Add tst-nodelete.
5132 (modules-names): Add tst-nodelete-uniquemod.
5133 (tst-nodelete-uniquemod.so-no-z-defs): New.
5134 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
5135 (tst-nodelete-zmod.so-no-z-defs): Likewise.
5136 ($(objpfx)tst-nodelete): Likewise.
5137 ($(objpfx)tst-nodelete.out): Likewise.
5138 (LDFLAGS-tst-nodelete): Likewise.
5139 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
5140 * elf/dl-close.c (_dl_close_worker): Add a parameter to
5141 implement forced object deletion.
5142 (_dl_close): Pass false to _dl_close_worker.
5143 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
5144 * elf/tst-nodelete.cc: New file.
5145 * elf/tst-nodeletelib.cc: Likewise.
5146 * elf/tst-znodeletelib.cc: Likewise.
5147 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
5148
5149 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5150
5151 [BZ #18508]
5152 * stdlib/Makefile ($(objpfx)tst-makecontext3):
5153 Depend on $(libdl).
5154 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
5155 is not called infinitely times.
5156 (backtrace_helper): New function.
5157 (trace_arg): New struct.
5158 (st1): Enlarge stack size.
5159 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
5160 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
5161 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
5162 Likewise.
5163
5164 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5165
5166 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5167
5168 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5169
5170 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
5171 Include sys/types.h instead of bits/types.h.
5172 Remove inclusion of bits/wordsize.h.
5173
5174 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
5175
5176 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
5177 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
5178 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
5179 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
5180 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
5181 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
5182
5183 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
5184
5185 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
5186 link-defines.sym.
5187 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
5188 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
5189 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
5190 and LR_SIZE.
5191 * sysdeps/i386/link-defines.sym: New file.
5192
5193 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
5194
5195 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
5196 (modules-names): Add tst-auditmod3a tst-auditmod3b.
5197 ($(objpfx)tst-audit3): New rule.
5198 ($(objpfx)tst-audit3.out): Likewise.
5199 * sysdeps/i386/tst-audit3.c: New file.
5200 * sysdeps/i386/tst-audit3.h: Likewise.
5201 * sysdeps/i386/tst-auditmod3a.c: Likewise.
5202 * sysdeps/i386/tst-auditmod3b.c: Likewise.
5203
5204 2015-07-07 Torvald Riegel <triegel@redhat.com>
5205
5206 [BZ #18633]
5207 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
5208 pointer in C code.
5209 (__strcat_c): Likewise.
5210 (__strcat_g): Likewise.
5211
5212 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
5213
5214 [BZ #18592]
5215 * misc/sbrk.c: Set errno to ENOMEM on overflow.
5216
5217 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
5218
5219 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
5220 New function. (__ieee754_sqrtf): New function.
5221 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
5222 New function.
5223 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
5224 New function.
5225
5226 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
5227
5228 * sysdeps/ieee754/support.c: Remove unused file.
5229
5230 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
5231
5232 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
5233 registers instead of d ones so the layout is kernel abi compatible.
5234 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
5235 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
5236 Likewise.
5237
5238 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
5239
5240 * sysdeps/aarch64/libm-test-ulps: Regenerated.
5241
5242 2015-07-01 Joseph Myers <joseph@codesourcery.com>
5243
5244 [BZ #18619]
5245 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
5246 and return argument in case of subnormal argument.
5247
5248 2015-07-01 Martin Sebor <msebor@redhat.com>
5249
5250 [BZ #18435]
5251 * nptl/Makefile: Add tst-once5.cc.
5252 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
5253 Remove macro redefinitions.
5254 * nptl/tst-once5.cc: New test.
5255
5256 2015-07-01 Joseph Myers <joseph@codesourcery.com>
5257
5258 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5259
5260 * sysdeps/arm/libm-test-ulps: Regenerated.
5261
5262 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
5263 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5264
5265 2015-06-30 Torvald Riegel <triegel@redhat.com>
5266
5267 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
5268 lll_lock_wait_private and lll_futex_wake probes.
5269
5270 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5271 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
5272 Likewise.
5273 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
5274 atomic_spin_nop.
5275 * sysdeps/x86_64/bits/atomic.h: Likewise.
5276 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
5277 to atomic_spin_nop and move ...
5278 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
5279 ... here and ...
5280 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
5281 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
5282 atomic_spin_nop instead of BUSY_WAIT_NOP.
5283 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
5284 Likewise.
5285 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
5286 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
5287 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
5288 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
5289 instead of atomic_delay.
5290
5291 2015-06-29 Joseph Myers <joseph@codesourcery.com>
5292
5293 [BZ #18613]
5294 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
5295 X_ADJ not X when adjusting exponent.
5296 (__ieee754_gamma_r): Do intermediate computations in
5297 round-to-nearest then adjust overflowing and underflowing results
5298 as needed.
5299 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
5300 of X_ADJ not X when adjusting exponent.
5301 (__ieee754_gammaf_r): Do intermediate computations in
5302 round-to-nearest then adjust overflowing and underflowing results
5303 as needed.
5304 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
5305 log of X_ADJ not X when adjusting exponent.
5306 (__ieee754_gammal_r): Do intermediate computations in
5307 round-to-nearest then adjust overflowing and underflowing results
5308 as needed. Use 1.0L not 1.0f as numerator of division.
5309 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
5310 log of X_ADJ not X when adjusting exponent.
5311 (__ieee754_gammal_r): Do intermediate computations in
5312 round-to-nearest then adjust overflowing and underflowing results
5313 as needed. Use 1.0L not 1.0f as numerator of division.
5314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
5315 of X_ADJ not X when adjusting exponent.
5316 (__ieee754_gammal_r): Do intermediate computations in
5317 round-to-nearest then adjust overflowing and underflowing results
5318 as needed. Use 1.0L not 1.0f as numerator of division.
5319 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
5320 to auto-libm-test-in.
5321 (tgamma_test): Use ALL_RM_TEST.
5322 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
5323 tests of tgamma with spurious-overflow.
5324 * math/auto-libm-test-out: Regenerated.
5325 * math/gen-libm-have-vector-test.sh: Do not check for START.
5326 * sysdeps/i386/fpu/libm-test-ulps: Update.
5327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5328
5329 [BZ #18612]
5330 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
5331 arguments, just return 0.5 times the argument, with underflow
5332 forced as needed.
5333 * math/auto-libm-test-in: Add more tests of j1.
5334 * math/auto-libm-test-out: Regenerated.
5335
5336 [BZ #16559]
5337 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
5338 (__ieee754_j1): Force underflow exception for small results.
5339 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
5340 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
5341 (__ieee754_j1f): Force underflow exception for small results.
5342 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5343 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5344 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5345 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
5346 (__ieee754_j1l): Force underflow exception for small results.
5347 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
5348 * math/auto-libm-test-in: Add more tests of j1 and jn.
5349 * math/auto-libm-test-out: Regenerated.
5350
5351 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
5352 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
5353 (PF_MPLS): Likewise.
5354 (AF_IB): Likewise.
5355 (AF_MPLS): Likewise.
5356 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
5357 value and macro.
5358 (MS_RMT_MASK): Include MS_LAZYTIME.
5359
5360 2015-06-26 Mel Gorman <mgorman@suse.de>
5361
5362 [BZ #18502]
5363 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
5364 already minimal.
5365
5366 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
5367
5368 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
5369 (DT_MIPS_NUM): Update.
5370 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
5371 DT_MIPS_RLD_MAP_REL.
5372
5373 2015-06-25 Joseph Myers <joseph@codesourcery.com>
5374
5375 [BZ #16559]
5376 [BZ #18602]
5377 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
5378 round-to-nearest internally then recompute results that
5379 underflowed to zero in the original rounding mode.
5380 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
5381 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
5382 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
5383 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise
5384 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
5385 * sysdeps/i386/fpu/libm-test-ulps: Update.
5386 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5387
5388 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
5389
5390 * NEWS: Fixed description of link with vector math library.
5391
5392 2015-06-25 Andreas Schwab <schwab@suse.de>
5393
5394 [BZ #18549]
5395 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
5396 * libio/test-fmemopen.c (do_test): Add test for it.
5397
5398 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
5399
5400 [BZ #17841]
5401 * Makeconfig (no-pie-ldflag): New.
5402 (+link): Set to $(+link-pie) if default to PIE.
5403 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
5404 * config.make.in (build-pie-default): New.
5405 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
5406 is default. AC_SUBST.
5407 * configure: Regenerated.
5408 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
5409
5410 2015-06-24 Roland McGrath <roland@hack.frob.com>
5411
5412 * nptl/descr.h (struct pthread): Change type of field setxid_futex
5413 to 'unsigned int'.
5414
5415 * resolv/gai_misc.h (struct waitlist): Change type of field
5416 counterp to 'volatile unsigned int *'.
5417 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
5418 FUTEXADDR and OLDVAL.
5419 * resolv/getaddrinfo_a.c (getaddrinfo_a):
5420 Give local variable TOTAL type 'volatile unsigned int'.
5421 (struct async_waitlist): Change type of field counter to 'unsigned int'.
5422 * resolv/gai_suspend.c (gai_suspend):
5423 Give local variable CNTR type 'unsigned int'.
5424
5425 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
5426 counterp to 'volatile unsigned int *'.
5427 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
5428 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
5429 (aio_suspend): Give local variable CNTR type 'unsigned int'.
5430 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
5431 Give local variable TOTAL type 'volatile unsigned int'.
5432 (struct async_waitlist): Change type of field counter to 'unsigned int'.
5433
5434 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5435
5436 [BZ #18383]
5437 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
5438 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
5439 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
5440 comment for i386/x86-64.
5441 (test-xfail-tst-tlsalign-extern-static): Removed.
5442
5443 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5444
5445 * math/test-double.h: New file.
5446 * math/test-float.h: Likewise.
5447 * math/test-ldouble.h: Likewise.
5448 * math/test-math-inline.h: Likewise.
5449 * math/test-math-no-inline.h: Likewise.
5450 * math/test-math-scalar.h: Likewise.
5451 * math/test-math-vector.h: Likewise.
5452 * math/test-vec-loop.h: Remove file. Contents moved into
5453 test-math-vector.h.
5454 * math/libm-test.inc (MATHCONST): Do not document macro.
5455 * math/test-double.c: Include test-double.h, test-math-no-inline.h
5456 and test-math-scalar.h.
5457 (FUNC): Remove macro.
5458 (FUNC_TEST): Likewise.
5459 (FLOAT): Likewise.
5460 (MATHCONST): Likewise.
5461 (PRINTF_EXPR): Likewise.
5462 (PRINTF_XEXPR): Likewise.
5463 (PRINTF_NEXPR): Likewise.
5464 (TEST_DOUBLE): Likewise.
5465 (TEST_MATHVEC): Likewise.
5466 (__NO_MATH_INLINES): Likewise.
5467 * math/test-float.c: Include test-float.h, test-math-no-inline.h
5468 and test-math-scalar.h.
5469 (FUNC): Remove macro.
5470 (FUNC_TEST): Likewise.
5471 (FLOAT): Likewise.
5472 (MATHCONST): Likewise.
5473 (PRINTF_EXPR): Likewise.
5474 (PRINTF_XEXPR): Likewise.
5475 (PRINTF_NEXPR): Likewise.
5476 (TEST_FLOAT): Likewise.
5477 (TEST_MATHVEC): Likewise.
5478 (__NO_MATH_INLINES): Likewise.
5479 * math/test-idouble.c: Include test-double.h, test-math-inline.h
5480 and test-math-scalar.h.
5481 (FUNC): Remove macro.
5482 (FUNC_TEST): Likewise.
5483 (FLOAT): Likewise.
5484 (MATHCONST): Likewise.
5485 (PRINTF_EXPR): Likewise.
5486 (PRINTF_XEXPR): Likewise.
5487 (PRINTF_NEXPR): Likewise.
5488 (TEST_DOUBLE): Likewise.
5489 (TEST_MATHVEC): Likewise.
5490 (TEST_INLINE): Likewise.
5491 (__NO_MATH_INLINES): Likewise.
5492 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
5493 test-math-scalar.h.
5494 (FUNC): Remove macro.
5495 (FUNC_TEST): Likewise.
5496 (FLOAT): Likewise.
5497 (MATHCONST): Likewise.
5498 (PRINTF_EXPR): Likewise.
5499 (PRINTF_XEXPR): Likewise.
5500 (PRINTF_NEXPR): Likewise.
5501 (TEST_FLOAT): Likewise.
5502 (TEST_MATHVEC): Likewise.
5503 (TEST_INLINE): Likewise.
5504 (__NO_MATH_INLINES): Likewise.
5505 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
5506 and test-math-scalar.h.
5507 (FUNC): Remove macro.
5508 (FUNC_TEST): Likewise.
5509 (FLOAT): Likewise.
5510 (MATHCONST): Likewise.
5511 (PRINTF_EXPR): Likewise.
5512 (PRINTF_XEXPR): Likewise.
5513 (PRINTF_NEXPR): Likewise.
5514 (TEST_LDOUBLE): Likewise.
5515 (TEST_MATHVEC): Likewise.
5516 (TEST_INLINE): Likewise.
5517 (__NO_MATH_INLINES): Likewise.
5518 * math/test-ldouble.c: Include test-ldouble.h,
5519 test-math-no-inline.h and test-math-scalar.h.
5520 (FUNC): Remove macro.
5521 (FUNC_TEST): Likewise.
5522 (FLOAT): Likewise.
5523 (MATHCONST): Likewise.
5524 (PRINTF_EXPR): Likewise.
5525 (PRINTF_XEXPR): Likewise.
5526 (PRINTF_NEXPR): Likewise.
5527 (TEST_LDOUBLE): Likewise.
5528 (TEST_MATHVEC): Likewise.
5529 (__NO_MATH_INLINES): Likewise.
5530 * math/test-double-vlen2.h: Include test-double.h,
5531 test-math-no-inline.h and test-math-vector.h.
5532 (FLOAT): Remove macro.
5533 (FUNC): Likewise.
5534 (MATHCONST): Likewise.
5535 (PRINTF_EXPR): Likewise.
5536 (PRINTF_XEXPR): Likewise.
5537 (PRINTF_NEXPR): Likewise.
5538 (TEST_DOUBLE): Likewise.
5539 (TEST_MATHVEC): Likewise.
5540 (__NO_MATH_INLINES): Likewise.
5541 (CNCT): Likewise.
5542 (CONCAT): Likewise.
5543 (WRAPPER_NAME): Likewise.
5544 (WRAPPER_DECL): Likewise.
5545 (WRAPPER_DECL_ff): Likewise.
5546 (WRAPPER_DECL_fFF): Likewise.
5547 (VECTOR_WRAPPER): Likewise.
5548 (VECTOR_WRAPPER_ff): Likewise.
5549 (VECTOR_WRAPPER_fFF): Likewise.
5550 (VEC_LEN): New macro.
5551 * math/test-double-vlen4.h: Include test-double.h,
5552 test-math-no-inline.h and test-math-vector.h.
5553 (FLOAT): Remove macro.
5554 (FUNC): Likewise.
5555 (MATHCONST): Likewise.
5556 (PRINTF_EXPR): Likewise.
5557 (PRINTF_XEXPR): Likewise.
5558 (PRINTF_NEXPR): Likewise.
5559 (TEST_DOUBLE): Likewise.
5560 (TEST_MATHVEC): Likewise.
5561 (__NO_MATH_INLINES): Likewise.
5562 (CNCT): Likewise.
5563 (CONCAT): Likewise.
5564 (WRAPPER_NAME): Likewise.
5565 (WRAPPER_DECL): Likewise.
5566 (WRAPPER_DECL_ff): Likewise.
5567 (WRAPPER_DECL_fFF): Likewise.
5568 (VECTOR_WRAPPER): Likewise.
5569 (VECTOR_WRAPPER_ff): Likewise.
5570 (VECTOR_WRAPPER_fFF): Likewise.
5571 (VEC_LEN): New macro.
5572 * math/test-double-vlen8.h: Include test-double.h,
5573 test-math-no-inline.h and test-math-vector.h.
5574 (FLOAT): Remove macro.
5575 (FUNC): Likewise.
5576 (MATHCONST): Likewise.
5577 (PRINTF_EXPR): Likewise.
5578 (PRINTF_XEXPR): Likewise.
5579 (PRINTF_NEXPR): Likewise.
5580 (TEST_DOUBLE): Likewise.
5581 (TEST_MATHVEC): Likewise.
5582 (__NO_MATH_INLINES): Likewise.
5583 (CNCT): Likewise.
5584 (CONCAT): Likewise.
5585 (WRAPPER_NAME): Likewise.
5586 (WRAPPER_DECL): Likewise.
5587 (WRAPPER_DECL_ff): Likewise.
5588 (WRAPPER_DECL_fFF): Likewise.
5589 (VECTOR_WRAPPER): Likewise.
5590 (VECTOR_WRAPPER_ff): Likewise.
5591 (VECTOR_WRAPPER_fFF): Likewise.
5592 (VEC_LEN): New macro.
5593 * math/test-float-vlen4.h: Include test-float.h,
5594 test-math-no-inline.h and test-math-vector.h.
5595 (FLOAT): Remove macro.
5596 (FUNC): Likewise.
5597 (MATHCONST): Likewise.
5598 (PRINTF_EXPR): Likewise.
5599 (PRINTF_XEXPR): Likewise.
5600 (PRINTF_NEXPR): Likewise.
5601 (TEST_FLOAT): Likewise.
5602 (TEST_MATHVEC): Likewise.
5603 (__NO_MATH_INLINES): Likewise.
5604 (CNCT): Likewise.
5605 (CONCAT): Likewise.
5606 (WRAPPER_NAME): Likewise.
5607 (WRAPPER_DECL): Likewise.
5608 (WRAPPER_DECL_ff): Likewise.
5609 (WRAPPER_DECL_fFF): Likewise.
5610 (VECTOR_WRAPPER): Likewise.
5611 (VECTOR_WRAPPER_ff): Likewise.
5612 (VECTOR_WRAPPER_fFF): Likewise.
5613 (VEC_LEN): New macro.
5614 * math/test-float-vlen8.h: Include test-float.h,
5615 test-math-no-inline.h and test-math-vector.h.
5616 (FLOAT): Remove macro.
5617 (FUNC): Likewise.
5618 (MATHCONST): Likewise.
5619 (PRINTF_EXPR): Likewise.
5620 (PRINTF_XEXPR): Likewise.
5621 (PRINTF_NEXPR): Likewise.
5622 (TEST_FLOAT): Likewise.
5623 (TEST_MATHVEC): Likewise.
5624 (__NO_MATH_INLINES): Likewise.
5625 (CNCT): Likewise.
5626 (CONCAT): Likewise.
5627 (WRAPPER_NAME): Likewise.
5628 (WRAPPER_DECL): Likewise.
5629 (WRAPPER_DECL_ff): Likewise.
5630 (WRAPPER_DECL_fFF): Likewise.
5631 (VECTOR_WRAPPER): Likewise.
5632 (VECTOR_WRAPPER_ff): Likewise.
5633 (VECTOR_WRAPPER_fFF): Likewise.
5634 (VEC_LEN): New macro.
5635 * math/test-float-vlen16.h: Include test-float.h,
5636 test-math-no-inline.h and test-math-vector.h.
5637 (FLOAT): Remove macro.
5638 (FUNC): Likewise.
5639 (MATHCONST): Likewise.
5640 (PRINTF_EXPR): Likewise.
5641 (PRINTF_XEXPR): Likewise.
5642 (PRINTF_NEXPR): Likewise.
5643 (TEST_FLOAT): Likewise.
5644 (TEST_MATHVEC): Likewise.
5645 (__NO_MATH_INLINES): Likewise.
5646 (CNCT): Likewise.
5647 (CONCAT): Likewise.
5648 (WRAPPER_NAME): Likewise.
5649 (WRAPPER_DECL): Likewise.
5650 (WRAPPER_DECL_ff): Likewise.
5651 (WRAPPER_DECL_fFF): Likewise.
5652 (VECTOR_WRAPPER): Likewise.
5653 (VECTOR_WRAPPER_ff): Likewise.
5654 (VECTOR_WRAPPER_fFF): Likewise.
5655 (VEC_LEN): New macro.
5656 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
5657 test-vec-loop.h.
5658 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
5659 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
5660 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
5661 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
5662 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
5663 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
5664 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
5665
5666 2015-06-24 Roland McGrath <roland@hack.frob.com>
5667
5668 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
5669 (__getlogin_r): ... this.
5670
5671 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5672
5673 [BZ #18594]
5674 * math/s_ccosh.c (__ccosh): Compare with least normal value
5675 instead of comparing class with FP_SUBNORMAL.
5676 * math/s_ccoshf.c (__ccoshf): Likewise.
5677 * math/s_ccoshl.c (__ccoshl): Likewise.
5678 * math/s_cexp.c (__cexp): Likewise.
5679 * math/s_cexpf.c (__cexpf): Likewise.
5680 * math/s_cexpl.c (__cexpl): Likewise.
5681 * math/s_csin.c (__csin): Likewise.
5682 * math/s_csinf.c (__csinf): Likewise.
5683 * math/s_csinh.c (__csinh): Likewise.
5684 * math/s_csinhf.c (__csinhf): Likewise.
5685 * math/s_csinhl.c (__csinhl): Likewise.
5686 * math/s_csinl.c (__csinl): Likewise.
5687 * math/s_ctan.c (__ctan): Likewise.
5688 * math/s_ctanf.c (__ctanf): Likewise.
5689 * math/s_ctanh.c (__ctanh): Likewise.
5690 * math/s_ctanhf.c (__ctanhf): Likewise.
5691 * math/s_ctanhl.c (__ctanhl): Likewise.
5692 * math/s_ctanl.c (__ctanl): Likewise.
5693 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
5694 csin, csinh, ctan and ctanh.
5695 * math/auto-libm-test-out: Regenerated.
5696 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
5697 * sysdeps/i386/fpu/libm-test-ulps: Update.
5698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5699
5700 2015-06-24 Roland McGrath <roland@hack.frob.com>
5701
5702 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
5703 return value is wrong, print the expected value too.
5704
5705 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
5706
5707 [BZ #18585]
5708 * elf/readlib.c (is_gdb_python_file): New.
5709 (process_file): Don't issue errors on filenames with -gdb.py
5710 suffix.
5711
5712 2015-06-24 Joseph Myers <joseph@codesourcery.com>
5713
5714 * math/auto-libm-test-in: Add more tests of csin and csinh.
5715 * math/auto-libm-test-out: Regenerated.
5716 * math/libm-test.inc (csin_test_data): Remove tests moved to
5717 auto-libm-test-in.
5718 (csinh_test_data): Likewise.
5719
5720 [BZ #18593]
5721 * math/s_csin.c (__csin): Negate before rather than after possibly
5722 overflowing multiplication.
5723 * math/s_csinf.c (__csinf): Likewise.
5724 * math/s_csinh.c (__csinh): Likewise.
5725 * math/s_csinhf.c (__csinhf): Likewise.
5726 * math/s_csinhl.c (__csinhl): Likewise.
5727 * math/s_csinl.c (__csinl): Likewise.
5728 * math/auto-libm-test-in: Add some tests of csin and csinh.
5729 * math/auto-libm-test-out: Regenerated.
5730 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
5731 (csinh_test_data): Likewise.
5732 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5733
5734 [BZ #18586]
5735 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
5736 underflow exception for small results.
5737
5738 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
5739
5740 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5741 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
5742 variable and included header.
5743 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
5744 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
5745 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
5746 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
5747 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
5748 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
5749 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
5750 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
5751 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
5752 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
5753 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
5754 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
5755 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
5756 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
5757 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
5758 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
5759
5760 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5761
5762 [BZ #16526]
5763 [BZ #16538]
5764 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
5765 (__sin): Force underflow exception for arguments with small
5766 absolute value.
5767 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
5768 (__kernel_sinf): Force underflow exception for arguments with
5769 small absolute value.
5770 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
5771 (__kernel_sincosl): Force underflow exception for arguments with
5772 small absolute value.
5773 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
5774 (__kernel_sinl): Force underflow exception for arguments with
5775 small absolute value.
5776 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
5777 (__kernel_sincosl): Force underflow exception for arguments with
5778 small absolute value.
5779 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
5780 (__kernel_sinl): Force underflow exception for arguments with
5781 small absolute value.
5782 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
5783 (__kernel_sinl): Force underflow exception for arguments with
5784 small absolute value.
5785 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
5786 (__kernel_sinf): Force underflow exception for arguments with
5787 small absolute value.
5788 * math/auto-libm-test-in: Add more tests of sin and sincos.
5789 * math/auto-libm-test-out: Regenerated.
5790
5791 [BZ #18245]
5792 [BZ #18583]
5793 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
5794 (__kernel_standard_l): Use feholdexcept and fesetenv around
5795 conversion to double instead of special-casing overflow and
5796 underflow.
5797 * math/libm-test.inc (fmod_test_data): Add more tests.
5798 (remainder_test_data): Likewise.
5799 (sqrt_test_data): Likewise.
5800
5801 2015-06-23 Torvald Riegel <triegel@redhat.com>
5802
5803 [BZ #17403]
5804 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
5805 atomic_read_barrier, atomic_write_barrier): Define.
5806 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
5807 atomic_read_barrier, atomic_write_barrier): Define.
5808
5809 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5810
5811 * math/Makefile [$(PERL) != no]
5812 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
5813 dependency on libm-test.stmp below the inclusion of Rules.
5814
5815 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
5816
5817 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
5818 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
5819 and included header.
5820 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
5821 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
5822 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
5823 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
5824 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
5825 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
5826 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
5827 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
5828 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
5829 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
5830 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
5831 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
5832 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
5833 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
5834 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
5835 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
5836 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
5837 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
5838 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
5839
5840 2015-06-23 Joseph Myers <joseph@codesourcery.com>
5841
5842 [BZ #18371]
5843 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
5844 intermediate but not final result might underflow.
5845 * math/s_csqrtf.c (__csqrtf): Likewise.
5846 * math/s_csqrtl.c (__csqrtl): Likewise.
5847 * math/auto-libm-test-in: Add more tests of csqrt.
5848 * math/auto-libm-test-out: Regenerated.
5849 * sysdeps/i386/fpu/libm-test-ulps: Update.
5850
5851 [BZ #18219]
5852 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
5853 threshold on absolute value of exponent for which scaling is used.
5854 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
5855 * math/auto-libm-test-in: Add more tests of exp2.
5856 * math/auto-libm-test-out: Regenerated.
5857
5858 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
5859
5860 [BZ #17977]
5861 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
5862 when initializing interface list, based on the bug analysis
5863 and the patch proposed by Eric Newton.
5864 * resolv/tst-res_hconf_reorder.c: New test.
5865 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
5866 tst-res_hconf_reorder.
5867 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
5868 and $(shared-thread-library).
5869 (tst-res_hconf_reorder-ENV): New variable.
5870
5871 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
5872 in comment.
5873
5874 2015-06-22 Joseph Myers <joseph@codesourcery.com>
5875
5876 [BZ #16353]
5877 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
5878 (__expm1): Force underflow exception for arguments with small
5879 absolute value.
5880 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
5881 (__expm1f): Force underflow exception for arguments with small
5882 absolute value.
5883 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
5884 (__expm1): Force underflow exception for arguments with small
5885 absolute value.
5886 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
5887 (__expm1f): Force underflow exception for arguments with small
5888 absolute value.
5889 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
5890 Check for small arguments before calling __expm1.
5891 * math/auto-libm-test-in: Do not mark underflow exceptions as
5892 possibly missing for bug 16353.
5893 * math/auto-libm-test-out: Regenerated.
5894
5895 2015-06-22 Andreas Schwab <schwab@suse.de>
5896
5897 [BZ #18513]
5898 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
5899 PTR queries.
5900
5901 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
5902
5903 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
5904
5905 * string/strcoll_l.c: Remove unused struct element idxnow.
5906
5907 2015-06-21 Joseph Myers <joseph@codesourcery.com>
5908
5909 [BZ #18569]
5910 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
5911 underflow and return argument in case of subnormal argument.
5912 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5913 Likewise.
5914 * math/auto-libm-test-in: Add more tests of expm1.
5915 * math/auto-libm-test-out: Regenerated.
5916
5917 [BZ #16361]
5918 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5919 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5920 tiny results.
5921 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
5922 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
5923 tiny results.
5924 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
5925 mark underflow exceptions as possibly missing for bug 16361.
5926 * math/auto-libm-test-out: Regenerated.
5927
5928 2015-06-19 Joseph Myers <joseph@codesourcery.com>
5929
5930 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
5931 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
5932 Remove variable.
5933 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5934 (test-xfail-XOPEN2K8/utmpx.h/conform).
5935
5936 * conform/conformtest.pl ($xerrors): New variable.
5937 (note_error): New function.
5938 (compiletest): New argument $xfail. Use not_error.
5939 (runtest): Likewise.
5940 (top level): Handle xfail- lines. Update calls to compiletest and
5941 runtest. Handle xfail- and optional- in headers listed with
5942 allow-header.
5943 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
5944 (O_EXEC): Likewise.
5945 (O_SEARCH): Likewise.
5946 * conform/data/stropts.h-data (ioctl): Likewise.
5947 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
5948 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
5949 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
5950 (msghdr.msg_controllen): Likewise.
5951 (cmsghdr.cmsg_len): Likewise.
5952 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
5953 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
5954 variable.
5955 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5956 (test-xfail-XPG4/stropts.h/conform): Likewise.
5957 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5958 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5959 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5960 (test-xfail-UNIX98/stropts.h/conform): Likewise.
5961 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5962 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5963 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5964 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5965 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5966 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5967 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5968 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5969 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5970 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5971 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5972 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5973 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5974 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5975 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5976
5977 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
5978
5979 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
5980 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
5981 definitions for proper unfolding of __MATHDECL_VEC.
5982
5983 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5984
5985 * benchtests/bench-strcoll.c:
5986 Include string.h.
5987 (main): Remove unused variable res.
5988
5989 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5990
5991 * timezone/Makefile (%/UTC %/Universal):
5992 Generate test-result files for UTC and Universal.
5993
5994 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
5995
5996 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
5997
5998 2015-06-18 Joseph Myers <joseph@codesourcery.com>
5999
6000 [BZ #16350]
6001 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
6002 for arguments with small absolute value.
6003 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
6004 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
6005 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
6006 (__asinh): Force underflow exception for arguments with small
6007 absolute value.
6008 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
6009 (__asinhf): Force underflow exception for arguments with small
6010 absolute value.
6011 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
6012 (__asinhl): Force underflow exception for arguments with small
6013 absolute value.
6014 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
6015 (__asinhl): Force underflow exception for arguments with small
6016 absolute value.
6017 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
6018 (__asinhl): Force underflow exception for arguments with small
6019 absolute value.
6020 * math/auto-libm-test-in: Do not mark underflow exceptions as
6021 possibly missing for bug 16350.
6022 * math/auto-libm-test-out: Regenerated.
6023
6024 * include/bits/ipc.h: Remove file.
6025 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
6026 variable.
6027 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
6028 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
6029 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
6030 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
6031 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
6032 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
6033 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
6034 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
6035 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
6036
6037 * math/auto-libm-test-in: Remove spurious underflow allowance for
6038 tests of cexp.
6039 * math/auto-libm-test-out: Regenerated.
6040
6041 [BZ #18558]
6042 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
6043 unconditional definition.
6044 (MCAST_BLOCK_SOURCE): Likewise.
6045 (MCAST_UNBLOCK_SOURCE): Likewise.
6046 (MCAST_LEAVE_GROUP): Likewise.
6047 (MCAST_JOIN_SOURCE_GROUP): Likewise.
6048 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6049 (MCAST_MSFILTER): Likewise.
6050 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
6051 Remove variable.
6052 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
6053 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
6054 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
6055 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
6056 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
6057
6058 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
6059
6060 * NEWS: Mention addition of x86_64 vector sincosf.
6061 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
6062 * math/test-float-vlen4.h: Likewise.
6063 * math/test-float-vlen8.h: Likewise.
6064 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6065 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
6066 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6067 * sysdeps/x86_64/fpu/Versions: New versions added.
6068 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6069 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6070 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6071 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
6072 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6073 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
6074 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6075 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
6076 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6077 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
6078 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
6079 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
6080 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
6081 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
6082 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
6083 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
6084 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
6085 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
6086 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6087 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6088 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6089 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6090 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6091 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6092
6093 * NEWS: Mention addition of x86_64 vector sincos.
6094 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
6095 * math/math.h (__MATHDECL_VEC): New macro.
6096 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
6097 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
6098 declaration under condition.
6099 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
6100 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
6101 TEST_VEC_LOOP change.
6102 * math/test-double-vlen4.h: Likewise.
6103 * math/test-double-vlen8.h: Likewise.
6104 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
6105 * math/test-float-vlen4.h: Likewise.
6106 * math/test-float-vlen8.h: Likewise.
6107 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6108 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
6109 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6110 * sysdeps/x86_64/fpu/Versions: New versions added.
6111 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6112 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6113 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6114 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
6115 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
6116 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
6117 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
6118 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
6119 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
6120 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
6121 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
6122 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
6123 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
6124 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
6125 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
6126 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
6127 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
6128 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6129 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6130 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6131 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6132 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6133 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6134 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6135
6136 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6137 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6138 redirections for powf.
6139 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6140 * sysdeps/x86_64/fpu/Versions: New versions added.
6141 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6142 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6143 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6144 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
6145 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
6146 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
6147 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
6148 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
6149 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
6150 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
6151 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
6152 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
6153 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
6154 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
6155 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
6156 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
6157 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
6158 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6159 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6160 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6161 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6162 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6163 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6164 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6165 * math/test-float-vlen16.h: Fixed 2 argument macro.
6166 * math/test-float-vlen4.h: Likewise.
6167 * math/test-float-vlen8.h: Likewise.
6168 * NEWS: Mention addition of x86_64 vector powf.
6169
6170 2015-06-17 Joseph Myers <joseph@codesourcery.com>
6171
6172 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6173 and redefine.
6174 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
6175 and redefine.
6176 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
6177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
6178 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
6179
6180 [BZ #18553]
6181 * resource/getpriority.c (getpriority): Rename to __getpriority
6182 and define as weak alias of __getpriority.
6183 * resource/setpriority.c (setpriority): Rename to __setpriority
6184 and define as weak alias of __setpriority.
6185 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
6186 __getpriority and define as weak alias of __getpriority.
6187 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
6188 __setpriority and define as weak alias of __setpriority.
6189 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
6190 strong name.
6191 (setpriority): Use __setpriority as strong name.
6192 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
6193 __getpriority and define as weak alias of __getpriority.
6194 * include/sys/resource.h (__getpriority): Declare. Use
6195 libc_hidden_proto.
6196 (__setpriority): Likewise.
6197 (getpriority): Don't use libc_hidden_proto.
6198 (setpriority): Likewise.
6199 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
6200 getpriority. Call __setpriority instead of setpriority.
6201 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
6202 Remove variable.
6203
6204 [BZ #18547]
6205 * misc/getttyent.c (getttynam): Rename to __getttynam and define
6206 as weak alias of __getttynam. Use prototype function definition.
6207 Call __setttyent, __getttyent and __endttyent instead of
6208 setttyent, getttyent and endttyent.
6209 (getttyent): Rename to __getttyent and define as weak alias of
6210 __getttyent. Call __setttyent instead of setttyent. Call
6211 __fgets_unlocked instead of fgets_unlocked.
6212 (setttyent): Rename to __setttyent and define as weak alias of
6213 __setttyent.
6214 (endttyent): Rename to __endttyent and define as weak alias of
6215 __endttyent.
6216 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
6217 (__setttyent): Likewise.
6218 (__endttyent): Likewise.
6219 (getttyent): Don't use libc_hidden_proto.
6220 (setttyent): Likewise.
6221 (endttyent): Likewise.
6222 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
6223 __endttyent instead of setttyent, getttyent and endttyent.
6224 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
6225 Remove variable.
6226
6227 [BZ #18546]
6228 * socket/recv.c (__recv): Use libc_hidden_def.
6229 * socket/socket.c (__socket): Likewise.
6230 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
6231 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
6232 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
6233 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
6234 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
6235 libc_hidden_def.
6236 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
6237 libc_hidden_weak.
6238 * include/sys/socket.h (__socket): Do not use attribute_hidden.
6239 Use libc_hidden_proto.
6240 (__recv): Likewise.
6241 * socket/Versions (libc): Export __recv and __socket at version
6242 GLIBC_PRIVATE.
6243 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
6244 instead of recv.
6245 (init_mq_netlink): Call __socket instead of socket.
6246 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
6247 Remove variable.
6248
6249 [BZ #18545]
6250 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
6251 __mq_timedreceive and define as alias of __mq_timedreceive. Use
6252 hidden_weak.
6253 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
6254 define as alias of __mq_timedsend. Use hidden_weak.
6255 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
6256 __mq_timedsend as strong name.
6257 (mq_timedreceive): Use __mq_timedreceive as strong name.
6258 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
6259 (__mq_timedreceive): Likewise.
6260 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
6261 __mq_timedreceive instead of mq_timedreceive.
6262 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
6263 instead of mq_timedsend.
6264 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
6265 Remove variable.
6266
6267 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
6268 hidden_def and hidden_weak instead of libc_hidden_def and
6269 libc_hidden_weak.
6270 (top level): Refer to hidden_def in comment.
6271 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
6272 macro. Use it instead of libc_hidden_def.
6273 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
6274 specify __GI_* name explicitly.
6275 (mq_timedreceive): Likewise.
6276 (mq_setattr): Likewise.
6277
6278 [BZ #18544]
6279 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
6280 __pthread_barrier_init and define as weak alias of
6281 __pthread_barrier_init.
6282 * sysdeps/sparc/nptl/pthread_barrier_init.c
6283 (pthread_barrier_init): Likewise.
6284 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
6285 __pthread_barrier_wait and define as weak alias of
6286 __pthread_barrier_wait.
6287 * sysdeps/sparc/nptl/pthread_barrier_wait.c
6288 (pthread_barrier_wait): Likewise.
6289 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
6290 (pthread_barrier_wait): Likewise.
6291 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
6292 (pthread_barrier_wait): Likewise.
6293 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
6294 (pthread_barrier_wait): Likewise.
6295 * nptl/Versions (libpthread): Export __pthread_barrier_init and
6296 __pthread_barrier_wait at version GLIBC_PRIVATE.
6297 * include/pthread.h (__pthread_barrier_init): Declare.
6298 (__pthread_barrier_wait): Likewise.
6299 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
6300 Call __pthread_barrier_wait instead of pthread_barrier_wait.
6301 (helper_thread): Likewise.
6302 (init_mq_netlink): Call __pthread_barrier_init instead of
6303 pthread_barrier_init.
6304
6305 [BZ #18542]
6306 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
6307 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
6308 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
6309 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
6310 vswscanf.
6311 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
6312 Remove variable.
6313
6314 [BZ #18540]
6315 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
6316 strong alias of _IO_fflush. Use libc_hidden_def.
6317 * libio/iofflush_u.c (fflush_unlocked): Rename to
6318 __fflush_unlocked and define as weak alias of __fflush_unlocked.
6319 Use libc_hidden_weak.
6320 * include/stdio.h (__fflush_unlocked): Declare. Use
6321 libc_hidden_proto.
6322 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
6323 fflush_unlocked.
6324 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
6325 Remove variable.
6326
6327 [BZ #18539]
6328 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
6329 define as weak alias of __addseverity.
6330 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
6331 Remove variable.
6332 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6333 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6334 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6335
6336 [BZ #18536]
6337 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
6338 (__tfind): Likewise.
6339 (__tdelete): Likewise.
6340 (__twalk): Likewise.
6341 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
6342 __twalk to GLIBC_PRIVATE.
6343 * include/search.h (__tsearch): Use libc_hidden_proto.
6344 (__tfind): Likewise.
6345 (__tdelete): Likewise.
6346 (__twalk): Likewise.
6347 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
6348 Call __tdelete instead of tdelete.
6349 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
6350 tfind. Call __tsearch instead of tsearch.
6351 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
6352 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
6353 Remove variable.
6354 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6355
6356 [BZ #18534]
6357 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
6358 (dprintf): Define as a weak alias of __dprintf, not a strong
6359 alias.
6360 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
6361 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
6362 dprintf.
6363 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
6364 Remove variable.
6365 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6366 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6367
6368 [BZ #18533]
6369 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
6370 not a strong alias.
6371 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
6372 Remove variable.
6373
6374 [BZ #18532]
6375 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
6376 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
6377 (in6addr_loopback): Rename to __in6addr_loopback and define as
6378 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
6379 * include/netinet/in.h (__in6addr_loopback): Declare. Use
6380 libc_hidden_proto.
6381 (__in6addr_any): Likewise.
6382 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
6383 in6addr_any.
6384 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
6385 variable.
6386 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6387
6388 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
6389
6390 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
6391 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
6392 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6393 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6394 redirections for pow.
6395 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6396 * sysdeps/x86_64/fpu/Versions: New versions added.
6397 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6398 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6399 build of SSE, AVX2 and AVX512 IFUNC versions.
6400 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
6401 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
6402 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
6403 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
6404 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
6405 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
6406 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
6407 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
6408 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
6409 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
6410 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
6411 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
6412 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
6413 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
6414 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6415 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6416 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6417 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6418 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6419 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6420 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6421 * NEWS: Mention addition of x86_64 vector pow.
6422
6423 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6424 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6425 redirections for expf.
6426 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6427 * sysdeps/x86_64/fpu/Versions: New versions added.
6428 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6429 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6430 build of SSE, AVX2 and AVX512 IFUNC versions.
6431 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
6432 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
6433 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
6434 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
6435 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
6436 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
6437 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
6438 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
6439 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
6440 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
6441 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
6442 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
6443 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
6444 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6445 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6446 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6447 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6448 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6449 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6450 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6451 * NEWS: Mention addition of x86_64 vector expf.
6452
6453 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
6454 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
6455 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6456 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6457 redirections for exp.
6458 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6459 * sysdeps/x86_64/fpu/Versions: New versions added.
6460 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6461 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6462 build of SSE, AVX2 and AVX512 IFUNC versions.
6463 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
6464 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
6465 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
6466 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
6467 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
6468 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
6469 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
6470 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
6471 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
6472 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
6473 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
6474 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
6475 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
6476 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6477 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6478 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6479 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6480 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6481 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6482 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6483 * NEWS: Mention addition of x86_64 vector exp.
6484
6485 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6486 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6487 redirections for logf.
6488 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6489 * sysdeps/x86_64/fpu/Versions: New versions added.
6490 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6491 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6492 build of SSE, AVX2 and AVX512 IFUNC versions.
6493 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
6494 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
6495 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
6496 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
6497 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
6498 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
6499 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
6500 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
6501 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
6502 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
6503 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
6504 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
6505 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
6506 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6507 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6508 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6509 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6510 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6511 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6512 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6513 * NEWS: Mention addition of x86_64 vector logf.
6514
6515 * bits/libm-simd-decl-stubs.h: Added stubs for log.
6516 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
6517 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6518 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
6519 redirections for log.
6520 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6521 * sysdeps/x86_64/fpu/Versions: New versions added.
6522 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6523 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6524 build of SSE, AVX2 and AVX512 IFUNC versions.
6525 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
6526 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
6527 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
6528 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
6529 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
6530 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
6531 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
6532 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
6533 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
6534 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
6535 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
6536 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
6537 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
6538 test.
6539 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6540 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6541 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6542 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6543 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6544 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6545 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6546 * NEWS: Mention addition of x86_64 vector log.
6547
6548 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
6549
6550 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
6551 cfi_adjust_cfa_offset argument.
6552 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
6553 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
6554
6555 [BZ #18034]
6556 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
6557 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
6558 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
6559 ordering using ldar.
6560 (_dl_tlsdesc_dynamic): Likewise.
6561 (_dl_tlsdesc_return_lazy): Likewise.
6562 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
6563 relaxed atomics instead of volatile and synchronize with release store.
6564 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
6565 volatile.
6566 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
6567
6568 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
6569
6570 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
6571 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
6572 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6573 * sysdeps/x86_64/fpu/Versions: New versions added.
6574 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6575 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
6576 build of SSE, AVX2 and AVX512 IFUNC versions.
6577 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
6578 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
6579 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
6580 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
6581 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
6582 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
6583 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
6584 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
6585 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
6586 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
6587 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
6588 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
6589 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
6590 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
6591 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
6592 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
6593 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
6594 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
6595 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
6596 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
6597 * NEWS: Mention addition of x86_64 vector sinf.
6598
6599 2015-06-14 Joseph Myers <joseph@codesourcery.com>
6600
6601 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
6602 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
6603 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
6604 Remove variable.
6605 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6606 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6607
6608 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6609
6610 [BZ #18530]
6611 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
6612 strong alias of _IO_fputs. Use libc_hidden_def.
6613 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
6614 and define as weak alias of __fputs_unlocked. Use
6615 libc_hidden_weak.
6616 * include/stdio.h (__fputs_unlocked): Declare. Use
6617 libc_hidden_proto.
6618 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
6619 fputs_unlocked.
6620
6621 [BZ #18529]
6622 * resolv/netdb.h [__USE_POSIX]: Change condition to
6623 [__USE_XOPEN2K].
6624 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
6625 not expect.
6626 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
6627 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
6628 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
6629 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
6630 [XPG4 || UNIX98] (AI_ALL): Likewise.
6631 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
6632 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
6633 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
6634 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
6635 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
6636 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
6637 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
6638 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
6639 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
6640 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
6641 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
6642 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
6643 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
6644 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
6645 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
6646 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6647 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
6648 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
6649 [XPG4 || UNIX98] (gai_strerror): Likewise.
6650 [XPG4 || UNIX98] (getaddrinfo): Likewise.
6651 [XPG4 || UNIX98] (getnameinfo): Likewise.
6652
6653 [BZ #18528]
6654 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
6655 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
6656 __USE_XOPEN2K8].
6657 (getgrent): Likewise.
6658 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
6659 expect.
6660 [XPG3 || POSIX2008] (endgrent): Likewise.
6661 [XPG3] (setgrent): Likewise.
6662 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
6663 variable.
6664 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6665
6666 [BZ #18527]
6667 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
6668 define as weak alias of __getlogin_r. Use libc_hidden_weak.
6669 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
6670 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
6671 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
6672 * include/unistd.h (__getlogin_r): Declare. Use
6673 libc_hidden_proto.
6674 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
6675 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
6676 variable.
6677 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6678 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6679 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6680
6681 2015-06-12 Martin Sebor <msebor@redhat.com>
6682
6683 [BZ #18512]
6684 * Makerules (check-install-supported): New target.
6685 (install): Add check-install-supported as a dependency.
6686 * manual/install.texi (Installing the C Library): Document
6687 that overriding prefix and exec_prefix is not supported.
6688 Mention DESTDIR.
6689 * INSTALL: Regenerate from the above.
6690
6691 2015-06-12 Joseph Myers <joseph@codesourcery.com>
6692
6693 [BZ #18519]
6694 * posix/Versions (libc): Export __libc_pread at version
6695 GLIBC_PRIVATE.
6696 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
6697 instead of pread.
6698 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
6699 variable.
6700
6701 [BZ #18522]
6702 * misc/efgcvt_r.c
6703 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
6704 (cvt_symbol): Use weak_alias instead of strong_alias.
6705 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
6706 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
6707 Remove variable.
6708 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6709 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6710
6711 [BZ #18520]
6712 * inet/herrno.c (h_errno): Rename to __h_errno.
6713 (__libc_h_errno): Define as alias of __h_errno not h_errno.
6714 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
6715 to __h_errno instead of h_errno.
6716 * nptl/herrno.c (h_errno): Rename to __h_errno.
6717 (__h_errno_location): Refer to __h_errno not h_errno.
6718 * resolv/Versions (h_errno): Rename to __h_errno.
6719 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
6720 Remove variable.
6721 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6722
6723 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
6724
6725 * configure.ac: More strict check for AVX512 assembler support.
6726 * configure: Regenerated.
6727
6728 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
6729 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
6730 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6731 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
6732 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6733 * sysdeps/x86_64/fpu/Versions: New versions added.
6734 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6735 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6736 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6737 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
6738 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
6739 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
6740 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
6741 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
6742 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
6743 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
6744 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
6745 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
6746 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
6747 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
6748 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
6749 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
6750 test.
6751 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
6752 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
6753 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
6754 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
6755 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
6756 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
6757 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
6758 * NEWS: Mention addition of x86_64 vector sin.
6759
6760 2015-06-11 Florian Weimer <fweimer@redhat.com>
6761
6762 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
6763 comment.
6764
6765 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
6766
6767 [BZ #18479]
6768 * nptl/pt-interp.c: New file.
6769 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
6770 Add pt-interp.
6771 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
6772 $(common-objpfx)runtime-linker.h.
6773
6774 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
6775
6776 * Makeconfig (+interp): Remove unused variable.
6777 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
6778 only. Depend on $(common-objpfx)runtime-linker.h instead of
6779 $(elf-objpfx)runtime-linker.h.
6780 ($(elf-objpfx)runtime-linker.h): Rename to
6781 $(common-objpfx)runtime-linker.h and move ...
6782 * Makerules [$(build-shared) = yes]: ... here.
6783 * elf/interp.c: Include <runtime-linker.h> instead of
6784 <elf/runtime-linker.h>.
6785
6786 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6787
6788 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
6789 (__gettimeofday_syscall): Remove vsyscall fallback.
6790 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
6791 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
6792 Add syscall fallback function.
6793 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
6794 if vDSO is not present.
6795 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
6796 fallback function.
6797 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
6798 present.
6799 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
6800 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
6801
6802 2015-06-09 Joseph Myers <joseph@codesourcery.com>
6803
6804 [BZ #18497]
6805 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
6806 of wcscmp.
6807 (wcscmp): Define as weak alias of WCSCMP.
6808 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
6809 wcscoll.
6810 (USE_HIDDEN_DEF): Define.
6811 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
6812 __wcscoll. Don't use libc_hidden_weak.
6813 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
6814 wcscmp.
6815 * sysdeps/i386/i686/multiarch/wcscmp-c.c
6816 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
6817 __GI_wcscmp.
6818 (weak_alias): Undefine and redefine.
6819 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
6820 __wcscmp and define as weak alias of __wcscmp.
6821 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
6822 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
6823 (__wcscoll): Likewise.
6824 (wcscmp): Don't use libc_hidden_proto.
6825 (wcscoll): Likewise.
6826 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
6827 wcscoll.
6828 * posix/regexec.c (check_node_accept_bytes): Likewise.
6829 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
6830 variable.
6831 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6832 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6833
6834 [BZ #18507]
6835 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
6836 __fstatvfs and define as weak alias of __fstatvfs. Use
6837 libc_hidden_weak.
6838 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
6839 and define as weak alias of __statvfs. Use libc_hidden_weak.
6840 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
6841 Define as alias of __fstatvfs, not fstatvfs.
6842 (fstatvfs64): Likewise.
6843 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
6844 Define as alias of __statvfs, not statvfs.
6845 (statvfs64): Likewise.
6846 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
6847 Remove variable.
6848
6849 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6850
6851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6852 (HAVE_GETCPU_VSYSCALL): Define.
6853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
6854 (HAVE_GETCPU_VSYSCALL): Likewise.
6855 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
6856 * sysdeps/unix/sysv/linux/sched_getcpu.c
6857 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
6858 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
6859 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
6860 prototype.
6861 * sysdeps/unix/sysv/linux/x86_64/init-first.c
6862 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
6863 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
6864 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
6865 Define.
6866 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
6867 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
6868 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
6869 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
6870
6871 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
6872
6873 * sysdeps/x86_64/fpu/Makefile: New file.
6874 * sysdeps/x86_64/fpu/Versions: New file.
6875 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
6876 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
6877 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
6878 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
6879 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
6880 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
6881 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
6882 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
6883 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
6884 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
6885 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
6886 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
6887 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
6888 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6889 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6890 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
6891 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
6892 * sysdeps/x86_64/configure.ac: Options for libmvec build.
6893 * sysdeps/x86_64/configure: Regenerated.
6894 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
6895 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
6896 * manual/install.texi (Configuring and compiling): Document
6897 --disable-mathvec.
6898 * INSTALL: Regenerated.
6899 * NEWS: Mention addition of libmvec and x86_64 vector cos.
6900
6901 * math/Makefile: Added rules for vector tests.
6902 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
6903 declaration under condition.
6904 * math/test-double-vlen2.h: New file.
6905 * math/test-double-vlen4.h: New file.
6906 * math/test-double-vlen8.h: New file.
6907 * math/test-vec-loop.h: Added initialization macro.
6908 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
6909 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
6910 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
6911 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
6912 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
6913 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
6914 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
6915 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
6916 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
6917 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
6918 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
6919
6920 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
6921 * sysdeps/x86_64/fpu/Versions: New versions added.
6922 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
6923 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
6924 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
6925 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
6926 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
6927 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
6928 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
6929 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
6930 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
6931 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
6932 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
6933 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
6934 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
6935 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
6936 Added build of SSE, AVX2 and AVX512 IFUNC versions.
6937 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
6938 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
6939 * NEWS: Mention addition of x86_64 vector cosf.
6940
6941 * math/Makefile: Added CFLAGS for new tests.
6942 * math/test-float-vlen16.h: New file.
6943 * math/test-float-vlen4.h: New file.
6944 * math/test-float-vlen8.h: New file.
6945 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
6946 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
6947 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
6948 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
6949 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
6950 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
6951 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
6952 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
6953 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
6954 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
6955 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
6956
6957 2015-06-09 Marko Myllynen <myllynen@redhat.com>
6958
6959 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
6960 * locale/programs/ld-ctype.c: Likewise.
6961
6962 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
6963
6964 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
6965 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
6966 bit_ZMM16_31_state): New macro.
6967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
6968 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
6969
6970 2015-06-08 Joseph Myers <joseph@codesourcery.com>
6971
6972 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
6973
6974 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
6975
6976 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
6977
6978 2015-06-05 Joseph Myers <joseph@codesourcery.com>
6979
6980 [BZ #18498]
6981 * libio/memstream.c (open_memstream): Rename to __open_memstream
6982 and define as weak alias of __open_memstream.
6983 * include/stdio.h (__open_memstream): Declare. Use
6984 libc_hidden_proto.
6985 (open_memstream): Don't use libc_hidden_proto.
6986 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
6987 open_memstream.
6988 * posix/getopt.c (_getopt_internal_r): Likewise.
6989 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
6990 variable.
6991 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6992 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6993 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6994
6995 [BZ #18496]
6996 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
6997 instead of wcrtomb.
6998
6999 [BZ #18483]
7000 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
7001 [__USE_XOPEN2K8]. Remove redundant #endif.
7002 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
7003 Remove redundant #if.
7004 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
7005 Remove variable.
7006 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
7007 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
7008
7009 [BZ #18495]
7010 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
7011 (__iswlower): Likewise.
7012 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
7013 (__iswlower): Likewise.
7014 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
7015 instead of towlower.
7016 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
7017 instead of iswlower. Call __towupper instead of towupper.
7018 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
7019 instead of iswalnum.
7020
7021 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
7022
7023 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
7024 errors to stderr.
7025
7026 2015-06-05 Florian Weimer <fweimer@redhat.com>
7027
7028 [BZ #15661]
7029 [BZ #17322]
7030 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
7031 Check for overflow properly. Check for O_APPEND. Ignore large
7032 file system block sizes. Add comments about problems.
7033 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
7034 * manual/filesys.texi (Storage Allocation): New node.
7035
7036 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7037
7038 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
7039 cancellable syscalls.
7040 (SYS_ify): Add guard to no redefine it.
7041 (INLINE_SYSCALL): Likewise.
7042 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
7043 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
7044 SYSCALL_CANCEL instead.
7045 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
7046 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
7047 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
7048 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
7049 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
7050 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
7051 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
7052 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
7053 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
7054 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
7055 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
7056 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
7057 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
7058 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
7059 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
7060 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
7061 Likewise.
7062 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
7063 (__libc_pread64): Likewise.
7064 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
7065 (__libc_preadv): Likewise.
7066 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
7067 (__libc_readv64): Likewise.
7068 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
7069 (__libc_pwrite): Likewise.
7070 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
7071 (__libc_pwrite64): Likewise.
7072 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
7073 (__libc_pwritev): Likewise.
7074 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
7075 (__libc_pwritev64): Likewise.
7076 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
7077 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
7078 (sync_file_range): Likewise.
7079 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
7080 Likewise.
7081 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
7082 Likewise.
7083 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
7084 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
7085 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
7086 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
7087 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
7088 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
7089 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
7090 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
7091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
7092 Likewise.
7093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
7094 (__libc_read64): Likewise.
7095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
7096 Likewise.
7097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
7098 Likewise.
7099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
7100 Likewise.
7101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
7102 Likewise.
7103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
7104 (__libc_pread64): Likewise.
7105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
7106 Likewise.
7107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
7108 (__libc_pwrite64): Likewise.
7109 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
7110 (sync_file_range): Likewise.
7111 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
7112 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
7113 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
7114 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
7115 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
7116 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
7117 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
7118 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
7119 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
7120 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
7121 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
7122 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
7123 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
7124 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
7125 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
7126 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
7127 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
7128 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
7129 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
7130 Likewise.
7131 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
7132 Likewise.
7133 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
7134 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
7135 Likewise.
7136 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
7137 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
7138 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
7139 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
7140 Likewise.
7141 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
7142 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
7143 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
7144 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
7145 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
7146
7147 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
7148
7149 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
7150 Include dl-vdso.
7151 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
7152 Use VDSO routines for gettimeofday, clock_gettime if
7153 available.
7154 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
7155 Declare VDSO symbols.
7156 * sysdeps/unix/sysv/linux/arm/sysdep.h:
7157 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
7158 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7159 * sysdeps/unix/sysv/linux/arm/Versions: Add
7160 __vdso_clock_gettime.
7161
7162 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7163
7164 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
7165 be an inline implementation regardless of library is built within.
7166 (open_not_cancel_2): Likewise.
7167 (__read_nocancel): Likewise.
7168 (__write_nocancel): Likewise.
7169 (openat_not_cancel): Likewise.
7170 (openat_not_cancel_3): Likewise.
7171 (openat64_not_cancel): Likewise.
7172 (openat64_not_cancel_3): Likewise.
7173 (__close_nocancel): Likewise.
7174 (pause_not_cancel): Likewise.
7175 (nanosleep_not_cancel): Likewise.
7176 (sigsuspend_not_cancel): Likewise.
7177
7178 2015-06-04 Torvald Riegel <triegel@redhat.com>
7179
7180 [BZ #14958]
7181 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
7182 wake-up.
7183 (__pthread_rwlock_rdlock_slow): Likewise.
7184 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
7185 Likewise.
7186 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
7187 Likewise.
7188 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
7189 * nptl/tst-rwlock16.c: New file.
7190 * nptl/Makefile (tests): Add new test.
7191
7192 2015-06-04 Torvald Riegel <triegel@redhat.com>
7193
7194 [BZ #18324]
7195 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
7196 missing wake-up of readers.
7197 * nptl/tst-rwlock15.c: New file.
7198 * nptl/Makefile (tests): Add new test.
7199
7200 2015-06-03 Roland McGrath <roland@hack.frob.com>
7201
7202 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
7203 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
7204 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
7205 and __nacl_supply_interface_rtld.
7206 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
7207 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
7208 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
7209 Add __nacl_supply_interface_rtld.
7210 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
7211
7212 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
7213
7214 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
7215 isfinite.
7216 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7217 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
7218
7219 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
7220
7221 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
7222 __signbit* with standard C99 macros.
7223 * math/e_exp10l.c: Likewise.
7224 * math/e_exp2l.c: Likewise.
7225 * math/e_scalb.c: Likewise.
7226 * math/e_scalbf.c: Likewise.
7227 * math/e_scalbl.c: Likewise.
7228 * math/s_ldexp.c: Likewise.
7229 * math/s_ldexpf.c: Likewise.
7230 * math/s_ldexpl.c: Likewise.
7231 * math/w_atan2.c: Likewise.
7232 * math/w_atan2f.c: Likewise.
7233 * math/w_atan2l.c: Likewise.
7234 * math/w_cosh.c: Likewise.
7235 * math/w_coshf.c: Likewise.
7236 * math/w_coshl.c: Likewise.
7237 * math/w_exp10.c: Likewise.
7238 * math/w_exp10f.c: Likewise.
7239 * math/w_exp10l.c: Likewise.
7240 * math/w_exp2.c: Likewise.
7241 * math/w_exp2f.c: Likewise.
7242 * math/w_exp2l.c: Likewise.
7243 * math/w_fmod.c: Likewise.
7244 * math/w_fmodf.c: Likewise.
7245 * math/w_fmodl.c: Likewise.
7246 * math/w_hypot.c: Likewise.
7247 * math/w_hypotf.c: Likewise.
7248 * math/w_hypotl.c: Likewise.
7249 * math/w_jnl.c: Likewise.
7250 * math/w_lgamma.c: Likewise.
7251 * math/w_lgamma_r.c: Likewise.
7252 * math/w_lgammaf.c: Likewise.
7253 * math/w_lgammaf_r.c: Likewise.
7254 * math/w_lgammal.c: Likewise.
7255 * math/w_lgammal_r.c: Likewise.
7256 * math/w_pow.c: Likewise.
7257 * math/w_powf.c: Likewise.
7258 * math/w_powl.c: Likewise.
7259 * math/w_remainder.c: Likewise.
7260 * math/w_remainderf.c: Likewise.
7261 * math/w_remainderl.c: Likewise.
7262 * math/w_scalb.c: Likewise.
7263 * math/w_scalbf.c: Likewise.
7264 * math/w_scalbl.c: Likewise.
7265 * math/w_scalbln.c: Likewise.
7266 * math/w_scalblnf.c: Likewise.
7267 * math/w_scalblnl.c: Likewise.
7268 * math/w_sinh.c: Likewise.
7269 * math/w_sinhf.c: Likewise.
7270 * math/w_sinhl.c: Likewise.
7271 * math/w_tgamma.c: Likewise.
7272 * math/w_tgammaf.c: Likewise.
7273 * math/w_tgammal.c: Likewise.
7274 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
7275 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
7276 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
7277 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
7278 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
7279 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
7280 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
7281 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
7282 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
7283 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
7284 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
7285 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7286 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7287 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7288 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7289 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7290 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7291 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7292 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
7293 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
7294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
7295 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
7296 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
7297 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
7298 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
7299 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
7300 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
7301 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
7302 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
7303 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
7304 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
7305 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
7306 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
7307 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
7308 * stdio-common/printf_fp.c: Likewise.
7309 * stdio-common/printf_fphex.c: Likewise.
7310 * stdio-common/printf_size.c: Likewise.
7311
7312 2015-06-03 Joseph Myers <joseph@codesourcery.com>
7313
7314 [BZ #18470]
7315 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
7316 strnlen.
7317 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
7318 Remove variable.
7319 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
7320 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
7321 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
7322 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
7323 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
7324 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
7325 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
7326 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
7327 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
7328 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
7329
7330 [BZ #18468]
7331 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
7332 weak alias of __wmemchr. Use libc_hidden_weak.
7333 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
7334 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
7335 instead of wmemchr.
7336
7337 2015-06-02 Roland McGrath <roland@hack.frob.com>
7338
7339 [BZ #18383]
7340 * elf/tst-tlsalign-extern.c: New file.
7341 * elf/tst-tlsalign-extern-static.c: New file.
7342 * elf/tst-tlsalign-vars.c: New file.
7343 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
7344 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
7345 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
7346 ($(objpfx)tst-tlsalign-extern-static): Likewise.
7347 (test-xfail-tst-tlsalign-extern-static): New variable.
7348
7349 2015-06-02 Joseph Myers <joseph@codesourcery.com>
7350
7351 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
7352 Use variable name _sc_err instead of err.
7353 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
7354 instead of ret.
7355 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
7356 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
7357 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
7358 (INLINE_SYSCALL): Likewise.
7359
7360 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
7361 * include/string.h (__strnlen): Use libc_hidden_proto.
7362 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
7363 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
7364 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
7365 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
7366 (libc_hidden_def): Undefine and redefine.
7367 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
7368 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
7369 __GI_strnlen.
7370 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
7371 libc_hidden_def.
7372 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
7373
7374 [BZ #18469]
7375 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
7376 weak alias of __towlower. Use libc_hidden_weak.
7377 (towupper): Rename to __towupper and define as weak alias of
7378 __towupper. Use libc_hidden_weak.
7379 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
7380 (__towupper): Likewise.
7381 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
7382 __towlower instead of towlower.
7383
7384 2015-06-02 Roland McGrath <roland@hack.frob.com>
7385
7386 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
7387 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
7388
7389 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
7390
7391 * sysdeps/aarch64/libm-test-ulps: Update.
7392
7393 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7394
7395 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
7396 Define.
7397 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7398 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
7399 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7400 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7401 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
7402 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
7403 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
7404
7405 2015-06-01 Martin Sebor <msebor@redhat.com>
7406
7407 [BZ #18116]
7408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
7409 (__setcontext): Use extended four-operand version of mtsf whenever
7410 possible.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
7412 (__novec_swapcontext): Likewise.
7413
7414 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7415
7416 * benchtests/scripts/compare_bench.py: New file.
7417 * benchtests/scripts/import_bench.py (mean): New function.
7418 (split_list): Likewise.
7419 (do_for_all_timings): Likewise.
7420 (compress_timings): Likewise.
7421
7422 * benchtests/scripts/import_bench.py: New file.
7423 * benchtests/scripts/validate_benchout.py: Import import_bench
7424 instead of jsonschema.
7425 (validate_bench): Remove function.
7426 (main): Use import_bench.
7427
7428 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
7429
7430 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
7431 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
7432
7433 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7434
7435 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7436
7437 2015-05-28 Roland McGrath <roland@hack.frob.com>
7438
7439 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
7440 set THREAD_SELF->tid to a magic value and futex-wake it.
7441 Pass its address to the thread_exit system call.
7442 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
7443 bit is clear.
7444 * sysdeps/nacl/lowlevellock.h: New file.
7445 * sysdeps/nacl/lll_timedwait_tid.c: New file.
7446
7447 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
7448 Add TIMEOUT to current time, don't subtract it.
7449
7450 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
7451
7452 [BZ #2981]
7453 [BZ #18422]
7454 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
7455 ($(objpfx)tst-audit2.out): Also depend on
7456 $(objpfx)tst-auditmod9b.so.
7457 * elf/tst-audit2.c: Include <dlfcn.h>.
7458 (calloc_called): New.
7459 (calloc): Allow to be called more than once.
7460 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
7461
7462 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
7463
7464 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
7465 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
7466
7467 2015-05-27 Marko Myllynen <myllynen@redhat.com>
7468
7469 * stdlib/monetary.h: Fix comment.
7470
7471 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
7472
7473 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
7474 Avoid using variables in #defines that might cause shadowing.
7475 (INTERNAL_VSYSCALL_CALL): Likewise.
7476
7477 2015-05-26 Roland McGrath <roland@hack.frob.com>
7478
7479 * sysdeps/nacl/lll_timedlock_wait.c: New file.
7480
7481 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
7482 * nptl/lll_timedlock_wait.c: ... to this new file.
7483 * nptl/Makefile (libpthread-routines): Add it.
7484 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
7485 * nptl/lll_timedwait_tid.c: ... to this new file.
7486 * nptl/Makefile (libpthread-routines): Add it.
7487 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
7488 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
7489 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
7490 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
7491 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
7492 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
7493 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
7494 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
7495 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
7496 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
7497
7498 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7499
7500 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
7501 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
7502 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
7503 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7504 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
7505 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
7506 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
7508 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7509 * sysdeps/unix/sysv/linux/tile/sysdep.h
7510 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
7511 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
7512 using vDSO syscall macro.
7513
7514 2015-05-26 Andriy Rysin <arysin@gmail.com>
7515
7516 [BZ #17293]
7517 * uk_UA: Fix sorting order for Ukrainian locale
7518
7519 2015-05-26 Marko Myllynen <myllynen@redhat.com>
7520
7521 * stdlib/monetary.h: Fix comment.
7522
7523 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7524
7525 [BZ #18234]
7526 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
7527 st_mtim and st_ctim members.
7528 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
7529 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
7530 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
7531 (struct stat64): Likewise.
7532 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
7533 (struct stat64): Likewise.
7534 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
7535 (struct stat64): Likewise.
7536
7537 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7538
7539 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
7540 Define and include sysdep-vdso.h.
7541 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
7542 Likewise.
7543 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
7544 Likewise.
7545 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
7546 Define with VDSO_SYMBOL and use PTR_MANGLE.
7547 (__vdso_clock_gettime): Likewise.
7548 (__vdso_clock_getres): Likewise.
7549 (_libc_vdso_platform_setup): Likewise.
7550 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
7551 Likewise.
7552 (_libc_vdso_platform_setup): Likewise.
7553 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
7554 Likewise.
7555 (__vdso_clock_gettime): Likewise.
7556 (__vdso_clock_getres): Likewise.
7557 (__vdso_get_tbfreq): Likewise.
7558 (__vdso_getcpu): Likewise.
7559 (__vdso_time): Likewise.
7560 (__vdso_sigtramp_rt64): Likewise.
7561 (__vdso_signtramp32): Likewise.
7562 (__vdso_sigtramp_rt32): Likewise.
7563 (_libc_vdso_platform_setup): Likewise.
7564 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
7565 Likewise.
7566 (__vdso_clock_gettime): Likewise.
7567 (__vdso_clock_getres): Likewise.
7568 (_libc_vdso_platform_setup): Likewise.
7569 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
7570 Likewise.
7571 (__vdso_clock_gettime): Likewise.
7572 (_libc_vdso_platform_setup): Likewise.
7573 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
7574 Likewise.
7575 (__vdso_getcpu): Likewise.
7576 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
7577 Use VDSO_SYMBOL macro to define.
7578 (__vdso_clock_gettime): Likewise.
7579 (__vdso_clock_getres): Likewise.
7580 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
7581 Likewise.
7582 (__vdso_clock_gettime): Likewise.
7583 (__vdso_clock_getres): Likewise.
7584 (__vdso_get_tbfreq): Likewise.
7585 (__vdso_getcpu): Likewise.
7586 (__vdso_time): Likewise.
7587 (__vdso_sigtramp_rt64): Likewise.
7588 (__vdso_signtramp32): Likewise.
7589 (__vdso_sigtramp_rt32): Likewise.
7590 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
7591 Likewise.
7592 (__vdso_clock_gettime): Likewise.
7593 (__vdso_clock_getres): Likewise.
7594 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
7595 Likewise.
7596 (__vdso_clock_gettime): Likewise.
7597 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
7598 Likewise.
7599 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
7600 macro.
7601 (INTERNAL_VSYSCALL): Likewise.
7602 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
7603 Remove macro.
7604 (INTERNAL_VSYSCALL): Likewise.
7605 (INTERNAL_VSYSCALL_NCS): Likewise.
7606 (INTERNAL_VSYSCALL_CALL): New macro.
7607 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7608 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
7609 Likewise.
7610 (INTERNAL_VSYSCALL): Likewise.
7611 (INTERNAL_VSYSCALL_NCS): Likewise.
7612 (INTERNAL_VSYSCALL_CALL): New macro.
7613 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
7614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7615 (INLINE_VSYSCALL): Remove macro.
7616 (INTERNAL_VSYSCALL): Remove macro.
7617 (INTERNAL_VSYSCALL_NCS): Remove macro.
7618 (INTERNAL_VSYSCALL_CALL): New macro.
7619 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
7620 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
7621 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7622 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
7623 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
7625 (INLINE_VSYSCALL): Remove macro.
7626 (INTERNAL_VSYSCALL): Likewise.
7627 (INTERNAL_VSYSCALL_NCS): Likewise.
7628 (INTERNAL_VSYSCALL_CALL): New macro.
7629 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
7630 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
7631 PTR_DEMANGLE on vDSO pointer.
7632 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
7633 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
7634 macro.
7635 (INTERNAL_SYSCALL): Likewise.
7636 (INTERNAL_VSYSCALL_NCS): Remove macro.
7637 (INTERNAL_VSYSCALL_CALL): New macro.
7638 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
7639 Remove macro.
7640 (INTERNAL_VSYSCALL): Likewise.
7641 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
7642 sysdep-vdso.h instead of libc-vdso.h.
7643 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
7644 definition.
7645 (INLINE_VSYSCALL): Likewise.
7646 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
7647 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
7648 definition.
7649 (INLINE_VSYSCALL): Likewise.
7650 (INTERNAL_VSYSCALL): Likewise.
7651 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7652 * sysdeps/unix/sysv/linux/timespec_get.c
7653 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
7654 (timespec_get): Use ANSI prototype.
7655 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
7656 and definition for Linux.
7657
7658 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
7659
7660 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
7661 * include/libc-symbols.h: libmvec_hidden_* macro series added.
7662
7663 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
7664
7665 [BZ #2981]
7666 [BZ #18410]
7667 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
7668 for missing DT_PLTRELSZ.
7669
7670 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
7671
7672 Remove obsolete aliases that broke 'locale -a'
7673 [BZ #18412]
7674 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
7675 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
7676 breaking some applications that use 'locale -a' output.
7677 Change the encoding of this file from Latin-1 to ASCII to avoid
7678 other potential problems with people grepping this file.
7679
7680 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7681
7682 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
7683 -fasynchronous-unwind-tables.
7684 (CFLAGS-sendto.c): Likewise.
7685 (CFLAGS-sendmsg.c): Likewise.
7686 (CFLAGS-connect.c): Likewise.
7687 (CFLAGS-recvmsg.c): Likewise.
7688 (CFLAGS-recvfrom.c): Likewise.
7689 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
7690 (SOCKETCALL): New macro: non-cancellable socketcall.
7691 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
7692 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
7693 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
7694 * sysdeps/unix/sysv/linux/accept.c: New file.
7695 * sysdeps/unix/sysv/linux/bind.c: Likewise.
7696 * sysdeps/unix/sysv/linux/connect.c: Likewise.
7697 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
7698 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
7699 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
7700 * sysdeps/unix/sysv/linux/listen.c: Likewise.
7701 * sysdeps/unix/sysv/linux/recv.c: Likewise.
7702 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
7703 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
7704 * sysdeps/unix/sysv/linux/send.c: Likewise.
7705 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
7706 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
7707 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
7708 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
7709 * sysdeps/unix/sysv/linux/socket.c: Likewise.
7710 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
7711 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
7712 prototype.
7713 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
7714 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7715 instead of __internal_xxx function.
7716 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
7717 prototype.
7718 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
7719 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7720 instead of __internal_xxx function.
7721 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
7722 prototype.
7723 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
7724 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
7725 instead of __internal_xxx function.
7726 * sysdeps/unix/sysv/linux/accept.S: Remove file.
7727 * sysdeps/unix/sysv/linux/bind.S: Likewise.
7728 * sysdeps/unix/sysv/linux/connect.S: Likewise.
7729 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
7730 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
7731 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
7732 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
7733 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
7734 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
7735 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
7736 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
7737 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
7738 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
7739 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
7740 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
7741 * sysdeps/unix/sysv/linux/listen.S: Likewise.
7742 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
7743 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
7744 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
7745 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
7748 * sysdeps/unix/sysv/linux/recv.S: Likewise.
7749 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
7750 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
7751 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
7752 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
7753 * sysdeps/unix/sysv/linux/send.S: Likewise.
7754 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
7755 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
7756 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
7757 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
7758 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
7759 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
7760 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
7761 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
7762 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
7763 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
7764 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
7765 socketcall is implemented in GLIBC.
7766
7767 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7768
7769 * soft-fp/fmadf4.c: Include <libc-internal.h>.
7770 (__fma): Ignore uninitialized warnings around packing.
7771 * soft-fp/fmasf4.c: Include <libc-internal.h>.
7772 (__fmaf): Ignore uninitialized warnings around packing.
7773 * soft-fp/fmatf4.c: Include <libc-internal.h>.
7774 (__fmal): Ignore uninitialized warnings around packing.
7775
7776 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
7777 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7778 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
7779 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
7780
7781 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
7782 switch statement into default case.
7783 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
7784
7785 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
7786 a conditional in forcing "inexact".
7787 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
7788 Likewise.
7789
7790 2015-05-22 Roland McGrath <roland@hack.frob.com>
7791
7792 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7793 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
7794 for each INTERNAL_SYSCALL use.
7795
7796 2015-05-22 Joseph Myers <joseph@codesourcery.com>
7797
7798 [BZ #438]
7799 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
7800 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
7801 variable.
7802
7803 [BZ #18444]
7804 * string/basename.c (basename): Rename to __basename and define as
7805 weak alias of __basename. Use libc_hidden_weak.
7806 * include/string.h (__basename): Declare. Use libc_hidden_proto.
7807 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
7808 __basename instead of basename.
7809 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
7810 Remove variable.
7811 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
7812
7813 2015-05-18 Florian Weimer <fweimer@redhat.com>
7814
7815 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
7816 (_IO_JUMPS_FILE_plus): New.
7817 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
7818 _IO_CAST_FIELD_ACCESS.
7819 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
7820 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
7821 * libio/freopen.c (freopen): Likewise.
7822 * libio/freopen64.c (freopen64): Likewise.
7823 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
7824 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
7825 * libio/iofwide.c (_IO_fwide): Likewise.
7826 * libio/memstream.c (open_memstream): Likewise.
7827 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
7828 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
7829 * libio/oldiopopen.c (_IO_old_popen): Likewise.
7830
7831 2015-05-21 Joseph Myers <joseph@codesourcery.com>
7832
7833 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
7834 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
7835 NADJ.
7836 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
7837 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
7838 NADJ.
7839 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
7840 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
7841 NADJ.
7842
7843 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
7844 (p == 4) case.
7845
7846 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
7847 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
7848 Remove variable.
7849 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
7850 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
7851 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
7852
7853 2015-05-21 Florian Weimer <fweimer@redhat.com>
7854
7855 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
7856 Adjust jump table label generation macros.
7857
7858 2015-05-21 Florian Weimer <fweimer@redhat.com>
7859
7860 * stdio-common/vfprintf.c (vfprintf): Move local variables
7861 args_malloced, specs, specs_malloced, and the code after
7862 do_positional to the printf_positional function.
7863 (printf_positional): New function.
7864
7865 2015-05-21 Florian Weimer <fweimer@redhat.com>
7866
7867 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
7868 function.
7869 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
7870 STEP4_TABLE, process_arg): Move macro definitions
7871 out of the vfprintf function. (Cosmetic change only.)
7872
7873 2015-05-21 Carlos O'Donell <carlos@redhat.com>
7874
7875 * benchtests/Makefile (stdio-common-bench): Define.
7876 (benchset): Add stdio-common-bench.
7877 * sprintf-inputs: New file.
7878 * sprintf-source.c: New file.
7879
7880 2015-05-21 Andreas Schwab <schwab@suse.de>
7881
7882 [BZ #13028]
7883 [BZ #17053]
7884 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
7885 of struct __res_state.
7886 * resolv/res_send.c (__libc_res_nsend): Likewise.
7887 (get_nsaddr): New function.
7888 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
7889 statp directly.
7890
7891 2015-05-20 Joseph Myers <joseph@codesourcery.com>
7892
7893 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
7894 -D_POSIX_C_SOURCE=199506L.
7895
7896 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
7897
7898 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
7899 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
7900 Do not mention otherwise.
7901 [POSIX] (_XOPEN_VERSION): Do not expect.
7902 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
7903 [POSIX] (_POSIX2_C_BIND): Likewise.
7904 [POSIX] (_POSIX2_VERSION): Likewise.
7905 [POSIX] (_XOPEN_XPG2): Likewise.
7906 [POSIX] (_XOPEN_XPG3): Likewise.
7907 [POSIX] (_XOPEN_XPG4): Likewise.
7908 [POSIX] (_XOPEN_UNIX): Likewise.
7909 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
7910 [POSIX] (_POSIX_BARRIERS): Likewise.
7911 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
7912 [POSIX] (_POSIX_CPUTIME): Likewise.
7913 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
7914 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
7915 [POSIX] (_POSIX_SHELL): Likewise.
7916 [POSIX] (_POSIX_SPAWN): Likewise.
7917 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
7918 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
7919 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
7920 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
7921 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
7922 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
7923 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
7924 [POSIX] (_XBS5_LP64_OFF64): Likewise.
7925 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
7926 [POSIX] (_POSIX_TIMEOUTS): Likewise.
7927 [POSIX] (_POSIX2_PBS): Likewise.
7928 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
7929 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
7930 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
7931 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
7932 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
7933 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
7934 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
7935 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
7936 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
7937 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
7938 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
7939 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
7940 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
7941 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
7942 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
7943 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
7944 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
7945 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
7946 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
7947 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
7948 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
7949 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
7950 [POSIX] (_SC_2_C_BIND): Likewise.
7951 [POSIX] (_SC_2_C_VERSION): Likewise.
7952 [POSIX] (_SC_2_PBS): Likewise.
7953 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
7954 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
7955 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
7956 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
7957 [POSIX] (_SC_2_PBS_TRACK): Likewise.
7958 [POSIX] (_SC_ATEXIT_MAX): Likewise.
7959 [POSIX] (_SC_BARRIERS): Likewise.
7960 [POSIX] (_SC_BASE): Likewise.
7961 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
7962 [POSIX] (_SC_DEVICE_IO): Likewise.
7963 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
7964 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
7965 [POSIX] (_SC_FD_MGMT): Likewise.
7966 [POSIX] (_SC_FIFO): Likewise.
7967 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
7968 [POSIX] (_SC_FILE_LOCKING): Likewise.
7969 [POSIX] (_SC_FILE_SYSTEM): Likewise.
7970 [POSIX] (_SC_IOV_MAX): Likewise.
7971 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
7972 [POSIX] (_SC_NETWORKING): Likewise.
7973 [POSIX] (_SC_PAGE_SIZE): Likewise.
7974 [POSIX] (_SC_PASS_MAX): Likewise.
7975 [POSIX] (_SC_PIPE): Likewise.
7976 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
7977 [POSIX] (_SC_REGEXP): Likewise.
7978 [POSIX] (_SC_SHELL): Likewise.
7979 [POSIX] (_SC_SIGNALS): Likewise.
7980 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
7981 [POSIX] (_SC_SPIN_LOCKS): Likewise.
7982 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
7983 [POSIX] (_SC_USER_GROUPS): Likewise.
7984 [POSIX] (_SC_USER_GROUPS_R): Likewise.
7985 [POSIX] (_SC_STREAMS): Likewise.
7986 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
7987 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
7988 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
7989 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
7990 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
7991 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
7992 [POSIX] (_PC_FILESIZEBITS): Likewise.
7993 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
7994 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
7995 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
7996 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
7997 [POSIX] (uid_t): Likewise.
7998 [POSIX] (gid_t): Likewise.
7999 [POSIX] (off_t): Likewise.
8000 [POSIX] (pid_t): Likewise.
8001 [POSIX] (cuserid): Allow.
8002 (_SC_2_CHAR_TERM): Require constant.
8003 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
8004 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
8005 variable.
8006
8007 2015-05-20 Roland McGrath <roland@hack.frob.com>
8008
8009 * sysdeps/nacl/pthread-pids.h: New file.
8010 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
8011 (create_thread): Use __nacl_get_tid to initialize PD->tid.
8012
8013 * nptl/pthread-pids.h: New file.
8014 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
8015 * nptl/nptl-init.c: Include <pthread-pids.h>.
8016 (__pthread_initialize_minimal_internal):
8017 Call __pthread_initialize_pids instead of set_tid_address syscall.
8018
8019 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
8020 * sysdeps/posix/usleep.c: ... here.
8021
8022 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8023
8024 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
8025 call_pselect6 object.
8026 [$(subdir) = io]: Remove call_sync_file_range object.
8027 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
8028 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
8029 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
8030 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
8031
8032 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
8033
8034 * math/s_cproj.c: Add include "math_private.h".
8035 * math/s_cprojf.c: Likewise.
8036 * math/s_cprojl.c: Likewise.
8037
8038 2015-05-19 Joseph Myers <joseph@codesourcery.com>
8039
8040 [BZ #18244]
8041 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
8042 high mantissa bit when testing whether P is a NaN.
8043 * math/libm-test.inc (remainder_test_data): Add more tests.
8044 (remquo_test_data): Likewise.
8045
8046 [BZ #18049]
8047 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
8048 below -32, return the argument, with underflow if subnormal.
8049 * math/auto-libm-test-in: Add more tests of atanh.
8050 * math/auto-libm-test-out: Regenerated.
8051
8052 2015-05-19 Roland McGrath <roland@hack.frob.com>
8053
8054 [BZ #18434]
8055 * nptl/tst-sem15.c: New file.
8056 * nptl/Makefile (tests): Add it.
8057 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
8058 s/<</>>/ to fix typo in EOVERFLOW check.
8059 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
8060
8061 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8062
8063 * manual/strings.texi (envz_remove): Fix typo in safety
8064 annotations.
8065
8066 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
8067 Steve Ellcey <sellcey@imgtec.com>
8068
8069 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
8070 in order to avoid strict alias warnings.
8071 (iruserok_af): Ditto for ra.
8072
8073 2015-05-19 James Lemke <jwlemke@codesourcery.com>
8074
8075 [BZ #17581]
8076 * malloc/hooks.c
8077 (magicbyte): Convert to a function and avoid returning 0x01.
8078 (mem2mem_check): Avoid using a length byte equal to the magic byte.
8079 (mem2chunk_check): Fix unsigned comparisons to zero.
8080 Hoist defs of sz and magic.
8081
8082 2015-05-19 Richard Henderson <rth@redhat.com>
8083
8084 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
8085
8086 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8087
8088 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8089
8090 [BZ #16159]
8091 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
8092 * malloc/arena.c (arena_lock): Check if arena is corrupt.
8093 (reused_arena): Find a non-corrupt arena.
8094 (heap_trim): Pass arena to unlink.
8095 * malloc/hooks.c (malloc_check_get_size): Pass arena to
8096 malloc_printerr.
8097 (top_check): Likewise.
8098 (free_check): Likewise.
8099 (realloc_check): Likewise.
8100 * malloc/malloc.c (malloc_printerr): Add arena argument.
8101 (unlink): Likewise.
8102 (munmap_chunk): Adjust.
8103 (ARENA_CORRUPTION_BIT): New macro.
8104 (arena_is_corrupt): Likewise.
8105 (set_arena_corrupt): Likewise.
8106 (sysmalloc): Use mmap if there are no usable arenas.
8107 (_int_malloc): Likewise.
8108 (__libc_malloc): Don't fail if arena_get returns NULL.
8109 (_mid_memalign): Likewise.
8110 (__libc_calloc): Likewise.
8111 (__libc_realloc): Adjust for additional argument to
8112 malloc_printerr.
8113 (_int_free): Likewise.
8114 (malloc_consolidate): Likewise.
8115 (_int_realloc): Likewise.
8116 (_int_memalign): Don't touch corrupt arenas.
8117 * malloc/tst-malloc-backtrace.c: New test case.
8118
8119 * Makefile (summarize-tests): Fix return value on success.
8120
8121 * manual/string.texi (Envz Functions): Add envz_remove.
8122
8123 2015-05-18 Roland McGrath <roland@hack.frob.com>
8124
8125 * sysdeps/posix/opendir.c: Include <stdbool.h>.
8126 (invalid_name): New function, broken out of ...
8127 (__opendirat): ... here. Call it.
8128 (need_isdir_precheck): New function, broken out of ...
8129 (__opendirat): ... here. Call it.
8130 Use __fxstatat64, not __xstatat64.
8131 (opendir_oflags): New function, broken out of ...
8132 (__opendirat): ... here. Call it.
8133 (opendir_tail): New function, broken out of ...
8134 (__opendirat): ... here. Call it.
8135 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
8136 opendir_tail, rather than punting to __opendirat.
8137 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
8138
8139 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8140
8141 * .gitignore: Ignore generated *.pyc.
8142
8143 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
8144
8145 * include/stdio.h: Define __need_wint_t.
8146 * test-skeleton.c: Avoid `for' loop initial declaration.
8147 * nptl/tst-initializers1.c: Use test-skeleton.c.
8148
8149 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8150
8151 [BZ #18418]
8152 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
8153
8154 2015-05-15 Joseph Myers <joseph@codesourcery.com>
8155
8156 [BZ #16352]
8157 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
8158 (__ieee754_atanh): Force underflow exception for results with
8159 small absolute value.
8160 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
8161 (__ieee754_atanhf): Force underflow exception for results with
8162 small absolute value.
8163 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
8164 (__ieee754_atanh): Force underflow exception for results with
8165 small absolute value.
8166 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
8167 (__ieee754_atanhf): Force underflow exception for results with
8168 small absolute value.
8169 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
8170 (__ieee754_atanhl): Force underflow exception for results with
8171 small absolute value.
8172 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
8173 (__ieee754_atanhl): Force underflow exception for results with
8174 small absolute value.
8175 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
8176 (__ieee754_atanhl): Force underflow exception for results with
8177 small absolute value.
8178 * math/auto-libm-test-in: Do not allow missing underflow
8179 exceptions from atanh.
8180 * math/auto-libm-test-out: Regenerated.
8181
8182 [BZ #18221]
8183 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
8184 2**-28 as threshold for returning x or +/- 1/x.
8185 * math/auto-libm-test-in: Add more tests of tan.
8186 * math/auto-libm-test-out: Regenerated.
8187
8188 [BZ #18220]
8189 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
8190 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
8191 * math/auto-libm-test-in: Add another test of lgamma.
8192 * math/auto-libm-test-out: Regenerated.
8193
8194 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
8195
8196 * stdio-common/printf_fp.c (___printf_fp): Use abs.
8197 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
8198 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
8199 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
8200 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
8201 (ADD2A): Use fabs. (SUB2A): Use fabs.
8202 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
8203 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
8204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
8205 (log1): Use fabs. (my_log2): Use fabs.
8206 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
8207 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
8208 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
8209 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
8210 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
8211 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
8212 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
8213 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
8214 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
8215 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
8216 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
8217
8218 2015-05-15 Joseph Myers <joseph@codesourcery.com>
8219
8220 [BZ #18217]
8221 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
8222 as threshold for returning 1 - x.
8223 * math/auto-libm-test-in: Add more tests of erfc.
8224 * math/auto-libm-test-out: Regenerated.
8225
8226 2015-05-14 Joseph Myers <joseph@codesourcery.com>
8227
8228 [BZ #18196]
8229 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
8230 threshold for large arguments.
8231 * math/auto-libm-test-in: Add another test of atan.
8232 * math/auto-libm-test-out: Regenerated.
8233
8234 [BZ #16339]
8235 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
8236 (__log1p): Force underflow exception for results with small
8237 absolute value.
8238 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
8239 (__log1pf): Force underflow exception for results with small
8240 absolute value.
8241 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
8242 (__log1p): Force underflow exception for results with small
8243 absolute value.
8244 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
8245 (__log1pf): Force underflow exception for results with small
8246 absolute value.
8247 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
8248 (__log1pl): Force underflow exception for results with small
8249 absolute value.
8250 * math/auto-libm-test-in: Do not allow missing underflow
8251 exceptions from log1p.
8252 * math/auto-libm-test-out: Regenerated.
8253
8254 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
8255 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8256
8257 [BZ #16704]
8258 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
8259
8260 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
8261
8262 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
8263 (libmvec): New variable.
8264 * configure.ac: Added option for mathvec build.
8265 * configure: Regenerated.
8266 * mathvec/Depend: New file.
8267 * mathvec/Makefile: New file.
8268 * shlib-versions: Added libmvec.
8269 * math/Makefile: Added rule for libm.so installation.
8270
8271 * bits/math-vector.h: New file.
8272 * bits/libm-simd-decl-stubs.h: New header.
8273 * math/Makefile (headers): Added new header
8274 libm-simd-decl-stubs.h.
8275 * math/math.h (__MATHCALL_VEC): New macro.
8276
8277 * math/gen-libm-have-vector-test.sh: Script generates series of macros
8278 for conditions in testing functions.
8279 * math/Makefile: Added call of libm-have-vector-test.sh.
8280 * math/libm-test.inc (HAVE_VECTOR): New macros.
8281
8282 * math/libm-test.inc: START refactored.
8283 * math/test-double.c (TEST_MATHVEC): Add define.
8284 * math/test-float.c: Likewise.
8285 * math/test-idouble.c: Likewise.
8286 * math/test-ifloat.c: Likewise.
8287 * math/test-ildoubl.c: Likewise.
8288 * math/test-ldouble.c: Likewise.
8289 * sysdeps/generic/math-tests-arch.h
8290 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
8291 architecture check.
8292
8293 * math/test-double.c (FUNC_TEST): New macro.
8294 * math/test-float.c: Likewise.
8295 * math/test-idouble.c: Likewise.
8296 * math/test-ifloat.c: Likewise.
8297 * math/test-ildoubl.c: Likewise.
8298 * math/test-ldouble.c: Likewise.
8299 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
8300
8301 2015-05-13 Roland McGrath <roland@hack.frob.com>
8302
8303 * sysdeps/nacl/fdopendir.c: New file.
8304
8305 * dirent/scandir-tail.c: New file.
8306 * dirent/scandir64-tail.c: New file.
8307 * dirent/Makefile (routines): Add them.
8308 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
8309 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
8310 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
8311 [!SCANDIR] (SCANDIR_TAIL): New macro.
8312 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
8313 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
8314 (SCANDIRAT): Macro removed.
8315 (SCANDIR_TAIL): New macro.
8316 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
8317 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
8318 (SCANDIRAT): Just call __opendirat and __scandir_tail.
8319 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
8320 (READDIR): Macro removed.
8321 (SCANDIR_TAIL): New macro.
8322 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
8323 (SCANDIR_TAIL): New macro.
8324
8325 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
8326 * dirent/scandir-cancel.c: ... to this new file.
8327 * dirent/Makefile (routines): Add it.
8328 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
8329 * sysdeps/unix/sysv/linux/i386/scandir64.c
8330 (SKIP_SCANDIR_CANCEL): Macro removed.
8331 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
8332
8333 * dirent/tst-scandir.c: New file.
8334 * dirent/tst-scandir64.c: New file.
8335 * dirent/Makefile (tests): Add them.
8336
8337 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
8338
8339 [BZ #18409]
8340 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
8341
8342 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
8343
8344 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
8345 list.
8346
8347 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
8348
8349 * benchtests/bench-strcoll.c: New benchmark.
8350 * benchtests/Makefile: Generate locales and run benchmark.
8351 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
8352 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8353 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
8354 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
8355 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
8356 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
8357 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
8358 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
8359 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
8360 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
8361 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
8362 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
8363 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
8364 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
8365 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
8366 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
8367 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
8368 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
8369 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
8370 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
8371 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
8372 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
8373 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
8374 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
8375
8376 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
8377
8378 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
8379 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
8380
8381 2015-05-12 Roland McGrath <roland@hack.frob.com>
8382
8383 * posix/uname-values.h: New file.
8384 * posix/uname.c: Include that instead of <config-name.h>.
8385 * sysdeps/nacl/uname-values.h: New file.
8386 * sysdeps/arm/nacl/uname-values.h: New file.
8387
8388 2015-05-12 Joseph Myers <joseph@codesourcery.com>
8389
8390 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
8391 splitting into fields.
8392
8393 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
8394
8395 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
8396 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
8397 * locale/localeinfo.h: Add enum collation_encoding_type.
8398 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
8399 * programs/ld-collate.c (collate_output): Add encoding type info.
8400 * string/strcoll_l.c (STRDIFF): New function.
8401 * (STRCOLL): Use STRDIFF to skip over equal prefix.
8402 * wcsmbs/wcscoll_l.c: Define STRDIFF.
8403
8404 2015-05-11 Joseph Myers <joseph@codesourcery.com>
8405
8406 [BZ #18397]
8407 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
8408 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
8409 <fpu_control.h> instead of <math/fpu_control.c>.
8410 * sysdeps/mips/mips32/fpu/Makefile: New file.
8411
8412 2015-05-11 Andreas Schwab <schwab@suse.de>
8413
8414 [BZ #18007]
8415 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
8416 nss_endgrent.
8417 (_nss_compat_endgrent): Call nss_endgrent.
8418 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
8419 nss_endpwent.
8420 (_nss_compat_endpwent): Call nss_endpwent.
8421 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
8422 needent, call nss_setspent only if non-zero.
8423 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
8424 (internal_endspent): Don't call nss_endspent.
8425 (_nss_compat_endspent): Call nss_endspent.
8426 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
8427 Remove. All uses removed.
8428 (internal_setent): Remove parameter stayopen, add parameter
8429 stream. Use it instead of global variable.
8430 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
8431 (internal_endent, internal_getent): Add parameter stream. Use it
8432 instead of global variable.
8433 (CONCAT(_nss_files_end,ENTNAME))
8434 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
8435 (_nss_files_get##name##_r): Pass local stream. Remove locking.
8436 * nss/nss_files/files-alias.c (position, last_use): Remove. All
8437 uses removed.
8438 (internal_setent, internal_endent): Add parameter stream. Use it
8439 instead of global variable.
8440 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
8441 stream.
8442 (get_next_alias): Add parameter stream.
8443 (_nss_files_getaliasent_r): Pass global stream.
8444 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
8445 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
8446 (_nss_files_gethostbyname4_r): Pass local stream to
8447 internal_setent, internal_getent and internal_endent. Remove
8448 locking.
8449
8450 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
8451
8452 * tst-strfmon1.c (tests): Update expected currency symbol.
8453
8454 2015-05-08 Roland McGrath <roland@hack.frob.com>
8455
8456 * sysdeps/nacl/gethostname.c: New file.
8457
8458 2015-05-08 Joseph Myers <joseph@codesourcery.com>
8459
8460 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
8461 and sinh.
8462 * math/auto-libm-test-out: Regenerated.
8463 * sysdeps/i386/fpu/libm-test-ulps: Update.
8464 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8465
8466 2015-05-08 Carlos O'Donell <carlos@redhat.com>
8467
8468 [BZ #18125]
8469 * stdlib/tst-setcontext3.c: New file.
8470 * stdlib/tst-setcontext3.sh: New file.
8471 * stdlib/Makefile (tests): Add tst-setcontext3.
8472 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
8473 to verify test program created output file.
8474 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
8475 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
8476 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
8477 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
8478
8479 2015-05-06 Roland McGrath <roland@hack.frob.com>
8480
8481 [BZ #18383]
8482 * elf/tst-tlsalign.c: New file.
8483 * elf/tst-tlsalign-static.c: New file.
8484 * elf/tst-tlsalign-lib.c: New file.
8485 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
8486 (tests-static): Add tst-tlsalign-static.
8487 (modules-names): Add tst-tlsalign-lib.
8488 (test-xfail-tst-tlsalign): New variable.
8489 (test-xfail-tst-tlsalign-static): New variable.
8490
8491 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
8492 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
8493
8494 2015-05-06 Joseph Myers <joseph@codesourcery.com>
8495
8496 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
8497 csqrt, erfc, sin and sincos.
8498 * math/auto-libm-test-out: Regenerated.
8499 * sysdeps/i386/fpu/libm-test-ulps: Update.
8500 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8501
8502 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
8503
8504 * sysdeps/aarch64/libm-test-ulps: Update.
8505
8506 2015-05-05 Joseph Myers <joseph@codesourcery.com>
8507
8508 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
8509 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
8510 * math/auto-libm-test-out: Regenerated.
8511 * sysdeps/i386/fpu/libm-test-ulps: Update.
8512 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8513
8514 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
8515
8516 [BZ #18265]
8517 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
8518 (wcsncpy): Likewise.
8519
8520 2015-05-05 Florian Weimer <fweimer@redhat.com>
8521
8522 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8523 Assume __ASSUME_FALLOCATE is always true.
8524 * sysdeps/unix/sysv/linux/posix_fallocate64.c
8525 (__posix_fallocate64_l64): Likweise.
8526 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
8527 (posix_fallocate): Likewise.
8528 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
8529 (__posix_fallocate64_l64): Likewise.
8530 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8531 [!__ASSUME_FALLOCATE]: Add comment.
8532
8533 2015-05-05 Florian Weimer <fweimer@redhat.com>
8534
8535 * sysdeps/unix/sysv/linux/i386/Makefile
8536 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
8537 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
8538 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
8539 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
8540 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
8541 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
8542 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
8543
8544 2015-05-02 Joseph Myers <joseph@codesourcery.com>
8545
8546 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
8547 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
8548 tgamma.
8549 * math/auto-libm-test-out: Regenerated.
8550 * sysdeps/i386/fpu/libm-test-ulps: Update.
8551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8552
8553 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8554
8555 * math/auto-libm-test-in: Add more tests of tgamma.
8556 * math/auto-libm-test-out: Regenerated.
8557 * sysdeps/i386/fpu/libm-test-ulps: Update.
8558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8559
8560 * math/auto-libm-test-in: Add more tests of tanh.
8561 * math/auto-libm-test-out: Regenerated.
8562 * sysdeps/i386/fpu/libm-test-ulps: Update.
8563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8564
8565 * math/auto-libm-test-in: Add more tests of tan.
8566 * math/auto-libm-test-out: Regenerated.
8567 * sysdeps/i386/fpu/libm-test-ulps: Update.
8568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8569
8570 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
8571 * math/auto-libm-test-out: Regenerated.
8572 * sysdeps/i386/fpu/libm-test-ulps: Update.
8573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8574
8575 * math/auto-libm-test-in: Add another test of pow.
8576 * math/auto-libm-test-out: Regenerated.
8577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8578
8579 * math/auto-libm-test-in: Add more tests of lgamma.
8580 * math/auto-libm-test-out: Regenerated.
8581 * sysdeps/i386/fpu/libm-test-ulps: Update.
8582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8583
8584 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
8585 log1p.
8586 * math/auto-libm-test-out: Regenerated.
8587 * sysdeps/i386/fpu/libm-test-ulps: Update.
8588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8589
8590 2015-05-01 Mark Wielaard <mjw@redhat.com>
8591
8592 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
8593 Elf64_Chdr structs and ELFCOMPRESS constants.
8594
8595 2015-05-01 Joseph Myers <joseph@codesourcery.com>
8596
8597 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
8598 expm1.
8599 * math/auto-libm-test-out: Regenerated.
8600 * sysdeps/i386/fpu/libm-test-ulps: Update.
8601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8602
8603 * math/auto-libm-test-in: Add more tests of erf and erfc.
8604 * math/auto-libm-test-out: Regenerated.
8605 * sysdeps/i386/fpu/libm-test-ulps: Update.
8606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8607
8608 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
8609
8610 * config.h.in (HAVE_AARCH64_BE): Add.
8611
8612 2015-04-30 Joseph Myers <joseph@codesourcery.com>
8613
8614 * math/auto-libm-test-in: Add more tests of csqrt.
8615 * math/auto-libm-test-out: Regenerated.
8616 * sysdeps/i386/fpu/libm-test-ulps: Update.
8617 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8618
8619 * math/auto-libm-test-in: Add more tests of cosh and sinh.
8620 * math/auto-libm-test-out: Regenerated.
8621 * sysdeps/i386/fpu/libm-test-ulps: Update.
8622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8623
8624 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
8625
8626 2015-04-29 Roland McGrath <roland@hack.frob.com>
8627
8628 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
8629 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
8630
8631 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
8632 (euidaccess, eaccess): Define as weak aliases.
8633
8634 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
8635 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
8636 but __suseconds_t is often 'long int' so some sources assume that
8637 type is being used (e.g. they use %ld to print tv_usec).
8638
8639 2015-04-29 Florian Weimer <fweimer@redhat.com>
8640
8641 [BZ #18007]
8642 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
8643 (CVE-2014-8121)
8644 * nss/tst-nss-getpwent.c: New file.
8645 * nss/Makefile (tests): Add new test.
8646
8647 2015-04-28 Joseph Myers <joseph@codesourcery.com>
8648
8649 [BZ #18346]
8650 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
8651 exponents less than 48 as cases where high part of mantissa needs
8652 examining to determine whether argument is integral.
8653 * math/libm-test.inc (round_test_data): Add more tests.
8654
8655 2015-04-28 Mark Wielaard <mjw@redhat.com>
8656
8657 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
8658
8659 2015-04-27 David S. Miller <davem@davemloft.net>
8660
8661 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
8662 __tls_get_addr.
8663 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
8664
8665 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
8666
8667 [BZ#18333]
8668 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
8669
8670 2015-04-27 Florian Weimer <fweimer@redhat.com>
8671
8672 [BZ#18333]
8673 * time/tzset.c (parse_tzname): Return error on memory allocation
8674 failure.
8675 * test-skeleton.c (struct temp_name_list): Change type of name
8676 member to non-const.
8677 (add_temp_file): Create a copy of the file name.
8678 (delete_temp_files): Deallocate memory.
8679 (create_temp_file): Add comment.
8680
8681 2015-04-24 Florian Weimer <fweimer@redhat.com>
8682
8683 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
8684 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
8685
8686 2015-04-24 Roland McGrath <roland@hack.frob.com>
8687
8688 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
8689 * sysdeps/arm/configure: Regenerated.
8690
8691 2015-04-24 Florian Weimer <fweimer@redhat.com>
8692
8693 [BZ #17715]
8694 * time/tzfile.c (__tzfile_read): Check for large values of
8695 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
8696 * time/tzset.c (__tzstring_len): New function, based on the old
8697 __tzstring function.
8698 (__tzstring): Call __tzstring_len.
8699 (parse_tzname): New helper function extracted from
8700 __tzset_parse_tz. Call __tzstring_len, without making a copy of
8701 the input string.
8702 (parse_offset): New helper function extracted from
8703 __tzset_parse_tz. Replace switch with fallthrough with
8704 initialization before sscanf.
8705 (parse_rule): Likewise.
8706 (__tzset_parse_tz): Rewrite using the new helper functions. Use
8707 new-style function definition.
8708 * timezone/Makefile (tests): Add tst-tzset.
8709 (tst-tzset.out): Dependencies on time zone files.
8710 (tst-tzset-ENV): Set TZDIR.
8711 (testdata/XT%): Copy crafted time zone files.
8712 * timezone/README: Mention crafted time zone files.
8713 * timezone/testdata/XT1, timezone/testdata/XT2,
8714 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
8715 files.
8716 * timezone/tst-tzset.c: New test.
8717
8718 2015-04-24 Florian Weimer <fweimer@redhat.com>
8719
8720 * Makeconfig (+gccwarn): Remove -Winline.
8721
8722 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8723
8724 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
8725
8726 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
8727
8728 * NEWS: Mention sysconf() cache information support for s390.
8729 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
8730
8731 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
8732
8733 * math/k_casinh.c (__kernel_casinh): Use __copysign.
8734 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
8735 (__nearbyint): Likewise.
8736 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
8737 (copysignl): Likewise.
8738
8739 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
8740
8741 [BZ #18287]
8742 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
8743 based on padding. (CVE-2015-1781)
8744
8745 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8746
8747 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
8748 libc-vdso.h.
8749 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
8750 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
8751 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
8752 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8753 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8754 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
8755 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
8756 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
8757 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8758 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
8759 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8760 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
8761 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
8762 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
8763 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8764 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
8765 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
8766 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
8767 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
8768 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
8769 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
8770 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
8771 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
8772
8773 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
8774
8775 * stdlib/setenv.c (__add_to_environ):
8776 Dump core quickly if setenv (..., NULL, ...) is called.
8777 This time, do it the right way, and pacify GCC with a pragma.
8778
8779 2015-04-17 Roland McGrath <roland@hack.frob.com>
8780
8781 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
8782 IMAP->l_prev cannot be null, and #if out the code for the contrary
8783 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
8784 believe that NS (&_dl_ns[NSID]) could point outside the array.
8785
8786 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
8787 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
8788 before using NSID as an index.
8789
8790 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
8791
8792 [BZ #17825]
8793 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
8794 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
8795 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
8796
8797 2015-04-17 Roland McGrath <roland@hack.frob.com>
8798
8799 Add preliminary port to Google Native Client on ARM.
8800 * abi-tags (.*-.*-nacl.*): New entry.
8801 * sysdeps/arm/nacl: New directory.
8802 * sysdeps/nacl: New directory.
8803
8804 2015-04-16 David S. Miller <davem@davemloft.net>
8805
8806 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
8807 lowlevellock-futex.h
8808
8809 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
8810
8811 * sysdeps/tile/configure.ac: New file.
8812 * sysdeps/tile/configure: Regenerated.
8813
8814 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8815
8816 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
8817 conditionals for weak_alias and libc_hidden_weak.
8818 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
8819 libc_hidden_weak and weak_alias.
8820 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
8821 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
8822 and weak_alias for static one.
8823
8824 2015-04-15 David S. Miller <davem@davemloft.net>
8825
8826 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
8827
8828 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8829
8830 [BZ #18206]
8831 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
8832 Use signed comparision instead of substraction to avoid
8833 overflow bug.
8834 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
8835 Take the sign of ret.
8836 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
8837 Do not expect precise return values. Only the sign matters.
8838 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
8839 * wcsmbs/test-wcsncmp.c: New File.
8840 * string/test-strncmp.c: Add wcsncmp support.
8841
8842 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8843
8844 [BZ #6792]
8845 * math/w_log1p.c: New file.
8846 * math/w_log1pf.c: Likewise.
8847 * math/w_log1pl.c: Likewise.
8848 * math/Makefile (libm-calls): Add w_log1p.
8849 * math/s_log1pl.c (log1pl): Remove weak_alias.
8850 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
8851 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
8852 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
8853 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
8854 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
8855 [NO_LONG_DOUBLE] (log1pl): Likewise.
8856 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
8857 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
8858 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
8859 (log1p): Remove long_double_symbol.
8860 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
8861 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
8862 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
8863 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
8864 remove weak_alias for corresponding log1p function.
8865 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
8866 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
8867 * sysdeps/ia64/fpu/w_log1p.c: New file.
8868 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
8869 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
8870 * math/libm-test.inc (log1p_test_data): Add errno expectations.
8871
8872 2015-04-10 Joseph Myers <joseph@codesourcery.com>
8873
8874 [BZ #18247]
8875 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
8876 decimal exponent by 1.
8877 * stdlib/tst-strtod-round-data: Add more tests.
8878 * stdlib/tst-strtod-round.c (tests): Regenerated.
8879
8880 2015-04-09 Joseph Myers <joseph@codesourcery.com>
8881
8882 * math/auto-libm-test-in: Add more tests of clog and clog10.
8883 * math/auto-libm-test-out: Regenerated.
8884 * sysdeps/i386/fpu/libm-test-ulps: Update.
8885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8886
8887 2015-04-09 Roland McGrath <roland@hack.frob.com>
8888
8889 * Makeconfig (module-cppflags): Exclude all .v.i files.
8890 (skip-module-cppflags): Variable removed.
8891
8892 * configure.ac (libc_config_ok): Initialize before reading
8893 preconfigure scripts, not after.
8894 * configure: Regenerated.
8895
8896 * test-skeleton.c (TIMEOUT): Move #define to top level.
8897 (main): Grok environment variable TEST_DIRECT. If set, print
8898 test expectation details into that file and then behave as if
8899 given --direct.
8900
8901 2015-04-09 Florian Weimer <fweimer@redhat.com>
8902
8903 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
8904 warning on 32-bit.
8905
8906 2015-04-08 David S. Miller <davem@davemloft.net>
8907
8908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8909
8910 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8911
8912 * math/auto-libm-test-in: Add more tests of atanh.
8913 * math/auto-libm-test-out: Regenerated.
8914 * sysdeps/i386/fpu/libm-test-ulps: Update.
8915 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8916
8917 * math/auto-libm-test-in: Add more tests of atan.
8918 * math/auto-libm-test-out: Regenerated.
8919 * sysdeps/i386/fpu/libm-test-ulps: Update.
8920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8921
8922 2015-04-08 Florian Weimer <fweimer@redhat.com>
8923
8924 * elf/pldd.c (main): Rewrite to use struct
8925 scratch_buffer instead of extend_alloca.
8926 * elf/pldd-xx.c (find_maps): Likewise.
8927 * grp/initgroups.c: Include <scratch_buffer.h> instead of
8928 <alloca.h>.
8929 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
8930 scratch_buffer instead of extend_alloca.
8931 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
8932 grp/compat-initgroups.c.
8933 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
8934 Rewrite to use struct scratch_buffer instead of extend_alloca.
8935 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
8936 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
8937
8938 2015-04-08 Joseph Myers <joseph@codesourcery.com>
8939
8940 * math/auto-libm-test-in: Add more tests of cbrt.
8941 * math/auto-libm-test-out: Regenerated.
8942 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8943
8944 * math/auto-libm-test-in: Add more tests of cabs.
8945 * math/auto-libm-test-out: Regenerated.
8946 * sysdeps/i386/fpu/libm-test-ulps: Update.
8947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8948
8949 [BZ #18210]
8950 [BZ #18211]
8951 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
8952 (__ieee754_atan2): Set FE_TONEAREST mode for internal
8953 computations.
8954 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
8955 clog10.
8956 * math/auto-libm-test-out: Regenerated.
8957 * sysdeps/i386/fpu/libm-test-ulps: Update.
8958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8959
8960 [BZ #18197]
8961 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
8962 (atan): Set FE_TONEAREST mode for internal computations.
8963 * math/auto-libm-test-in: Add more tests of atan.
8964 * math/auto-libm-test-out: Regenerated.
8965
8966 2015-04-07 James Cowgill <james410@cowgill.org.uk>
8967
8968 [BZ #17930]
8969 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
8970
8971 2015-04-07 Florian Weimer <fweimer@redhat.com>
8972
8973 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
8974
8975 2015-04-07 Florian Weimer <fweimer@redhat.com>
8976
8977 * include/scratch_buffer.h: New file.
8978 * malloc/scratch_buffer_grow.c: Likewise.
8979 * malloc/scratch_buffer_grow_preserve.c: Likewise.
8980 * malloc/scratch_buffer_set_array_size.c: Likewise.
8981 * malloc/tst-scratch_buffer.c: Likewise.
8982 * malloc/Makefile (routines): Add scratch_buffer_grow.
8983 (tests): Add test case.
8984 * malloc/Versions (GLIBC_PRIVATE): Export
8985 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
8986 __libc_scratch_buffer_set_array_size.
8987
8988 2015-04-06 Richard Henderson <rth@redhat.com>
8989
8990 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
8991 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8992
8993 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
8994 unsigned int before printing.
8995
8996 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8997
8998 [BZ #17596]
8999 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
9000 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9001
9002 2015-04-02 Florian Weimer <fweimer@redhat.com>
9003
9004 * include/libc-internal.h (libc_max_align_t): Define.
9005
9006 2015-04-02 Andreas Schwab <schwab@suse.de>
9007
9008 [BZ #16850]
9009 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
9010
9011 2015-04-02 Mel Gorman <mgorman@suse.de>
9012
9013 [BZ #17195]
9014 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
9015 as well as the main arena.
9016
9017 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
9018
9019 [BZ #18185]
9020 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
9021 sharing L2 cache to 2 for Silvermont/Knights Landing.
9022
9023 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
9024
9025 [BZ #17711]
9026 * config.make.in (have-protected-data): New.
9027 * configure.ac: Check linker support for protected data symbol.
9028 * configure: Regenerated.
9029 * elf/Makefile (modules-names): Add tst-protected1moda and
9030 tst-protected1modb if $(have-protected-data) is yes.
9031 (tests): Add tst-protected1a and tst-protected1b if
9032 $(have-protected-data) is yes.
9033 ($(objpfx)tst-protected1a): New.
9034 ($(objpfx)tst-protected1b): Likewise.
9035 (tst-protected1modb.so-no-z-defs): Likewise.
9036 * elf/tst-protected1a.c: New file.
9037 * elf/tst-protected1b.c: Likewise.
9038 * elf/tst-protected1mod.h: Likewise.
9039 * elf/tst-protected1moda.c: Likewise.
9040 * elf/tst-protected1modb.c: Likewise.
9041
9042 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
9043
9044 [BZ #17711]
9045 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
9046 indicates it is called from do_lookup_x on relocation against
9047 protected data, skip the data definion in the executable from
9048 copy reloc.
9049 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
9050 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
9051 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
9052 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
9053 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
9054 otherwise to 0.
9055 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
9056 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
9057 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
9058 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
9059 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
9060 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
9061
9062 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
9063
9064 * sysdeps/nptl/pthread.h: Remove duplicate definition of
9065 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
9066
9067 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
9068
9069 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
9070 THREAD_SETMEM_NC.
9071 * sysdeps/x86_64/nptl/tls.h: Ditto.
9072
9073 2015-03-27 Roland McGrath <roland@hack.frob.com>
9074
9075 * dlfcn/tststatic.c (main): Converted to ...
9076 (do_test): ... this.
9077 (TEST_FUNCTION): New macro.
9078 Include test-skeleton.c.
9079
9080 2015-03-26 Alan Modra <amodra@gmail.com>
9081
9082 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
9083 Don't segfault if ifunc resolver returns a NULL. Do set plt to
9084 zero for undefined weak.
9085 (elf_machine_plt_conflict): Similarly.
9086
9087 2015-03-25 Joseph Myers <joseph@codesourcery.com>
9088
9089 * math/auto-libm-test-in: Add more tests of acosh, asinh and
9090 atanh.
9091 * math/auto-libm-test-out: Regenerated.
9092 * sysdeps/i386/fpu/libm-test-ulps: Update.
9093 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9094
9095 * math/auto-libm-test-in: Add another test of asin.
9096 * math/auto-libm-test-out: Regenerated.
9097 * sysdeps/i386/fpu/libm-test-ulps: Update.
9098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9099
9100 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
9101 Remove macro.
9102 (LLL_EBX_REG): Likewise.
9103 (LLL_ENTER_KERNEL): Likewise.
9104
9105 * math/auto-libm-test-in: Add more tests of asin.
9106 * math/auto-libm-test-out: Regenerated.
9107 * sysdeps/i386/fpu/libm-test-ulps: Update.
9108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9109
9110 [BZ #18138]
9111 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
9112 libc_do_syscall_args): New structure.
9113 (INTERNAL_SYSCALL_MAIN_0): New macro.
9114 (INTERNAL_SYSCALL_MAIN_1): Likewise.
9115 (INTERNAL_SYSCALL_MAIN_2): Likewise.
9116 (INTERNAL_SYSCALL_MAIN_3): Likewise.
9117 (INTERNAL_SYSCALL_MAIN_4): Likewise.
9118 (INTERNAL_SYSCALL_MAIN_5): Likewise.
9119 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
9120 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
9121 Replace conditional definitions by conditional definitions of ....
9122 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
9123 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
9124 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
9125 (libpthread-sysdep_routines): Add libc-do-syscall.
9126 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
9127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
9128 to __NR_futex not 240.
9129
9130 2015-03-25 Alan Modra <amodra@gmail.com>
9131
9132 * NEWS: Advertise TLS optimization.
9133 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
9134 (DT_PPC_NUM): Increment.
9135 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
9136 (CHECK_STATIC_TLS): Use here.
9137 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
9138 TLS descriptors.
9139 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9140 * sysdeps/powerpc/dl-tls.c: New file.
9141 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
9142 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
9143 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
9144 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
9145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
9146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
9147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
9148
9149 2015-03-25 Alan Modra <amodra@gmail.com>
9150
9151 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
9152 for overlapping .opd entries" to "support...".
9153 * sysdeps/powerpc/powerpc64/configure: Regenerate
9154
9155 2015-03-25 Joseph Myers <joseph@codesourcery.com>
9156
9157 * math/auto-libm-test-in: Add more tests of acos.
9158 * math/auto-libm-test-out: Regenerated.
9159 * sysdeps/i386/fpu/libm-test-ulps: Update.
9160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9161
9162 * math/auto-libm-test-in: Add more tests of expm1.
9163 * math/auto-libm-test-out: Regenerated.
9164 * sysdeps/i386/fpu/libm-test-ulps: Update.
9165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9166
9167 2015-03-24 Joseph Myers <joseph@codesourcery.com>
9168
9169 * math/auto-libm-test-in: Add more tests of cosh and sinh.
9170 * math/auto-libm-test-out: Regenerated.
9171 * sysdeps/i386/fpu/libm-test-ulps: Update.
9172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9173
9174 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
9175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9176
9177 * math/auto-libm-test-in: Add more tests of log2.
9178 * math/auto-libm-test-out: Regenerated.
9179 * sysdeps/i386/fpu/libm-test-ulps: Update.
9180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9181
9182 2015-03-23 Roland McGrath <roland@hack.frob.com>
9183
9184 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
9185 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
9186 _IO_IS_APPENDING bit in READ_WRITE instead.
9187
9188 2015-03-23 Florian Weimer <fweimer@redhat.com>
9189
9190 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9191 (__determine_cpumask_size): Replace extend_alloca with a
9192 variable-length array. Do not treat res == 0 as an error.
9193
9194 2015-03-23 Florian Weimer <fweimer@redhat.com>
9195
9196 [BZ #18100]
9197 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
9198 and integer overflow.
9199 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
9200 (main): Add integer overflow tests.
9201 * manual/pattern.texi (Calling Wordexp): Document additional use
9202 for WRDE_SYNTAX.
9203
9204 2015-03-23 Alan Modra <amodra@gmail.com>
9205
9206 * config.h.in: Remove HAVE_ASM_PPC_REL16.
9207 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
9208 and false branch of conditional.
9209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
9210 Likewise.
9211
9212 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
9213
9214 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
9215 libc-modules.h
9216 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
9217 unused declaration of _hurd_intr_rpc_msg_in_trap.
9218 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
9219 defined instead of whether it is non-zero.
9220 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
9221 input constraint instead of both input and output constraint. Use ecx
9222 clobber instead of %ecx.
9223 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
9224 mutex_unlock): Use a statement expression instead of an expression list.
9225 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
9226 type to vm_size_t instead of vm_address_t.
9227 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
9228 defined instead of whether it is non-zero.
9229 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
9230 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
9231 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
9232 comparisons with mapaddr.
9233 * nscd/nscd-client.h: Include <time.h>.
9234 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
9235 9th parameter to __vm_region instead of int.
9236 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9237 * scripts/check-local-headers.sh (exclude): Add device/,
9238 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
9239 cthreads.h.
9240
9241 2015-03-19 Roland McGrath <roland@hack.frob.com>
9242
9243 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
9244 to account for alignment padding.
9245 * sysdeps/arm/memmove.S: Likewise.
9246
9247 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
9248
9249 * sysdeps/unix/sysv/linux/generic/README: New file.
9250
9251 2015-03-18 Joseph Myers <joseph@codesourcery.com>
9252
9253 [BZ #18138]
9254 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
9255 (futex_abstimed_wait)
9256 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
9257 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
9258 of lll_futex_timed_wait.
9259
9260 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
9261
9262 [BZ #17542]
9263 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
9264
9265 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
9266
9267 [BZ #17090]
9268 [BZ #17620]
9269 [BZ #17621]
9270 [BZ #17628]
9271 * NEWS: Update.
9272 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
9273 entries with Static TLS too. Skip entries past the end of the
9274 allocated DTV, from Alan Modra.
9275 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
9276 Static TLS DTV entry set up from...
9277 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
9278 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
9279 * nptl/allocatestack.c (init_one_static_tls): ... and here...
9280 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
9281 for Static TLS.
9282 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
9283 that the slot we find is associated with the given map before
9284 using its generation count.
9285 * nptl_db/db_info.c: Include ldsodefs.h.
9286 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
9287 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
9288 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
9289 (link_map::l_tls_offset): New struct field.
9290 (dtv_t::counter): Likewise.
9291 (rtld_global): New struct.
9292 (_rtld_global): New rtld variable.
9293 (dl_tls_dtv_slotinfo_list): New rtld global field.
9294 (dtv_slotinfo_list): New struct.
9295 (dtv_slotinfo): Likewise.
9296 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
9297 (td_lookup): Rename to...
9298 (td_mod_lookup): ... this. Use new mod parameter instead of
9299 LIBPTHREAD_SO.
9300 * nptl_db/td_thr_tlsbase.c: Include link.h.
9301 (dtv_slotinfo_list, dtv_slotinfo): New functions.
9302 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
9303 addresses even if the DTV is out of date or missing them.
9304 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
9305 index zero-length arrays.
9306 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
9307 (td_lookup): Make it a macro implemented in terms of...
9308 (td_mod_lookup): ... this declaration.
9309 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
9310 (DB_MAIN_VARIABLE): Likewise.
9311
9312 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
9313
9314 [BZ #18134]
9315 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
9316
9317 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
9318
9319 * stdlib/setenv.c (__add_to_environ): Revert previous change.
9320
9321 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
9322
9323 [BZ #18128]
9324 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
9325 (atomic_add, atomic_increment_and_test)
9326 (atomic_decrement_and_test): Fix 64-bit arithmetic.
9327
9328 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
9329
9330 * stdlib/setenv.c (__add_to_environ):
9331 Dump core quickly if setenv (..., NULL, ...) is called.
9332
9333 2015-03-13 Roland McGrath <roland@hack.frob.com>
9334
9335 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
9336 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
9337 all the necessary asm magic in one place.
9338 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
9339 using those.
9340
9341 2015-03-13 Carlos O'Donell <carlos@redhat.com>
9342
9343 [BZ #14906]
9344 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
9345 traced file mtime. Use consistent log message.
9346 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
9347 (register_traced_file): Call install_watches. Always set mtime.
9348 (invalidate_cache): Iterate over all trace files. Call install_watches.
9349 (inotify_check_files): Don't inline. Handle watching parent
9350 directories and configuration file movement in and out.
9351 (handle_inotify_events): New function.
9352 (main_loop_poll): Call handle_inotify_events.
9353 (main_loop_epoll): Likewise.
9354 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
9355 (struct traced_file): Use array of inotify fds. Add parent directory,
9356 and basename.
9357 (struct database_dyn): Remove unused file_mtime.
9358 (init_traced_file): New inline function.
9359 (define_traced_file): New macro.
9360 * nss/nss_db/db-init.c: Use define_traced_file.
9361 (_nss_db_init): Use init_traced_file.
9362 * nss/nss_files/files-init.c: Use define_traced_file.
9363 (_nss_files_init): Use init_traced_file.
9364
9365 2015-03-12 Joseph Myers <joseph@codesourcery.com>
9366
9367 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
9368 [_LIBC]: Do not include <stdlib.h>.
9369 [!_LIBC] (abort): Remove declaration.
9370 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
9371 _FP_STATIC_ASSERT instead of conditionally calling abort.
9372 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
9373 (_FP_EXTEND_CNAN): Likewise.
9374 (FP_TRUNC): Likewise.
9375 (__FP_CLZ): Likewise.
9376 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
9377
9378 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
9379
9380 * manual/string.texi (XPG basename): Fix prototype.
9381
9382 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9383
9384 [BZ #18080]
9385 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
9386 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9387 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
9388 (__setcontext): Likewise.
9389 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
9390 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
9391 Call rt_sigprocmask syscall one time to set new signal mask
9392 and retrieve the current signal mask instead of two calls.
9393 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
9394 (__swapcontext): Likewise.
9395 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
9396 * stdlib/tst-setcontext2.c: New file.
9397
9398 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9399
9400 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9401
9402 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
9403
9404 [BZ #18093]
9405 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
9406 the wrong size.
9407
9408 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9409
9410 [BZ #18043]
9411 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
9412
9413 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9414
9415 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
9416 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
9417 Remove define.
9418 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
9419 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
9420 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
9421 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
9422 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
9423 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
9424 define.
9425 * nptl_db/td_symbol_list.c (td_lookup): Remove
9426 HAVE_ASM_GLOBAL_DOT_NAME code.
9427 * sysdeps/powerpc/powerpc64/configure.ac: Remove
9428 HAVE_ASM_GLOBAL_DOT_NAME check.
9429 * sysdeps/powerpc/powerpc64/configure: Regenerate.
9430 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
9431 (DOT_LABEL): Remove define.
9432 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
9433 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
9434 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
9435 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
9436 (__TLS_GET_ADDR): Likewise.
9437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
9438 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
9439
9440 2015-03-11 Carlos O'Donell <carlos@redhat.com>
9441
9442 [BZ #18111]
9443 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
9444 (_FPU_SETCW): Initialize cw from fpsr before storing.
9445 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
9446 (fesetexceptflag): Rewrite using fpu_control.h.
9447 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
9448
9449 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
9450
9451 [BZ #18110]
9452 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
9453 asms.
9454 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
9455
9456 2015-03-11 Joseph Myers <joseph@codesourcery.com>
9457
9458 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
9459 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
9460 abort.
9461 (_FP_FMA): Likewise.
9462 (_FP_DIV): Likewise.
9463
9464 2015-03-10 Roland McGrath <roland@hack.frob.com>
9465
9466 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
9467 with 0 in that case.
9468 * Makefile (summarize-tests): New canned sequence, factored out of
9469 commands for targets tests and xtests. Display summary lines that
9470 don't start with PASS: or XFAIL: rather than ones that do start with
9471 ERROR: or FAIL:. Make the commands fail if any summary lines fail
9472 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
9473 do start with ERROR: or FAIL:.
9474 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
9475 (except for [$(build-shared) = yes]).
9476 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
9477 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
9478 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
9479 * nptl/Makefile: Revert 2015-03-04 changes.
9480 [$(CXX) empty] (tests-unsupported): New variable.
9481 * debug/Makefile: Likewise.
9482
9483 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
9484 gnulib file. Replace __attribute with __attribute__ throughout.
9485
9486 2015-03-10 Carlos O'Donell <carlos@redhat.com>
9487
9488 * sysdeps/hppa/fpu/libm-test-ulps: Update.
9489
9490 2015-03-10 Joseph Myers <joseph@codesourcery.com>
9491
9492 [BZ #18104]
9493 * math/auto-libm-test-in: Add another test of pow.
9494 * math/auto-libm-test-out: Regenerated.
9495
9496 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9497
9498 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
9499 $(config-cflags-nofma).
9500
9501 2015-03-10 Joseph Myers <joseph@codesourcery.com>
9502
9503 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
9504 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
9505 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
9506 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
9507 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
9508 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
9509 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
9510 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
9511 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
9512 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
9513 Add comment on closing #endif.
9514
9515 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9516
9517 * posix/wordexp.c (CHAR_IN_SET): New macro.
9518 (parse_param): Use it.
9519
9520 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9521
9522 * sysdeps/powerpc/fpu/libm-test-ulps: update.
9523
9524 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9525
9526 [BZ #18043]
9527 * posix/wordexp.c (parse_param): Fix buffer overflow.
9528 * posix/wordexp-test.c (test_case): Add test case.
9529
9530 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9531
9532 [BZ #18042]
9533 * posix/wordexp.c (parse_backtick): Fix off-by-one.
9534 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
9535
9536 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
9537
9538 [BZ #18043]
9539 * posix/wordexp-test.c (test_case): Add test for BZ #18043
9540 (do_bz18043): Delete.
9541 (at_page_end): New.
9542 (testit): Refactor to have words at the edge of unreadable page.
9543
9544 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9545
9546 [BZ #16734]
9547 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
9548 Cleanup read-only streams as well.
9549 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
9550
9551 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
9552
9553 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
9554 <bits/libc-lockP.h>
9555
9556 2015-03-07 Joseph Myers <joseph@codesourcery.com>
9557
9558 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
9559 on [__KERNEL__].
9560 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
9561 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
9562 * soft-fp/op-common.h (_FP_DECL): Likewise.
9563
9564 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
9565
9566 * elf/ifuncdep2.c (global): Replace
9567 __attribute__((visibility("protected"))) with
9568 asm (".protected global").
9569 * elf/ifuncmod1.c (global): Likewise.
9570 * elf/ifuncmod5.c (global): Likewise.
9571
9572 2015-03-06 Joseph Myers <joseph@codesourcery.com>
9573
9574 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
9575 <asm/sfp-machine.h> instead of <sfp-machine.h>.
9576
9577 2015-03-06 Roland McGrath <roland@hack.frob.com>
9578
9579 * manual/install.texi (Configuring and compiling):
9580 Document test-wrapper-env-only.
9581 * INSTALL: Regenerated.
9582
9583 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9584
9585 [BZ #18043]
9586 * posix/wordexp.c (parse_param): Fix buffer overflow.
9587 * posix/wordexp-test.c (do_bz18043): Add test case.
9588
9589 2015-03-06 Vincent Bernat <vincent@bernat.im>
9590
9591 * time/tst-strptime2.c (do_test): Ensure failing tests are
9592 reported correctly.
9593 * time/tst-strptime3.c (do_test): Likewise.
9594
9595 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
9596
9597 Fix aio_error thread-safety.
9598 * sysdeps/pthread/aio_error.c: New file
9599 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
9600 synchronization.
9601
9602 2015-03-06 Florian Weimer <fweimer@redhat.com>
9603
9604 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
9605 (group_number, vfprintf): Use it.
9606 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
9607 (JUMP, REF): Use it.
9608 (WORK_BUFFER_SIZE): New enum constant.
9609 (process_arg, vfprintf): Use it.
9610
9611 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
9612
9613 * manual/errno.texi (Error Messages): Complete example function
9614 by adding missing #define.
9615 (program_invocation_name): Add statement indicating GNU
9616 extension and reference which header file declares the variable.
9617 (program_invocation_short_name): Likewise.
9618
9619 2015-03-06 Mike Frysinger <vapier@gentoo.org>
9620
9621 * manual/errno.texi (Error Messages): Delete strerror ISO C89
9622 compatibility note.
9623
9624 2015-03-05 Roland McGrath <roland@hack.frob.com>
9625
9626 * Makeconfig (test-wrapper-env-only): New variable.
9627 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
9628 then use that with $(test-wrapper-env-only) rather than using
9629 $(test-wrapper-env) $(run-program-env) $($*-ENV).
9630
9631 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
9632
9633 [BZ #18082]
9634 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
9635 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
9636 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
9637 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
9638 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
9639 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
9640 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
9641 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
9642 Likewise.
9643 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
9644 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
9645 Likewise.
9646 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
9647 Likewise.
9648 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
9649 Likewise.
9650 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
9651 Likewise.
9652 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
9653 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
9654 Likewise.
9655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
9656 Likewise.
9657 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
9658 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
9659
9660 2015-03-04 Roland McGrath <roland@hack.frob.com>
9661
9662 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
9663 (ETH_ALEN): New macro.
9664 (struct ether_addr): Use it for length of ether_addr_octet.
9665
9666 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
9667 (setdb): Don't call __nss_configure_lookup for "rpc".
9668 (do_test): Don't call test_rpc.
9669 (output_rpcent, test_rpc): Functions moved ...
9670 * sunrpc/test-rpcent.c: ... to this new file.
9671 * sunrpc/Makefile (tests): Add it.
9672
9673 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
9674 __xpg_sigpause.
9675 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
9676 * nptl/tst-signal6.c: Likewise.
9677 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
9678 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
9679
9680 * configure.ac (libc_cv_cxx_link_ok): New check.
9681 Reset CXX to empty if it fails to link.
9682 * configure: Regenerated.
9683 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
9684 bug-atexit3-lib only if $(CXX) is nonempty.
9685 * nptl/Makefile (tests): Likewise for tst-cancel24.
9686 (tests, tests-static): Likewise for tst-cancel24-static.
9687 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
9688 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
9689 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
9690 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
9691
9692 2015-03-04 Andreas Schwab <schwab@suse.de>
9693
9694 [BZ #17631]
9695 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
9696 for non-GCC compilers.
9697 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
9698 Likewise.
9699
9700 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
9701
9702 [BZ #17776]
9703 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
9704 integer before bitwise and assembly operations.
9705 (feclearexcept): Likewise.
9706 * math/test-fenvinline.c: New file.
9707 * math/Makefile: Add test-fenvinline test.
9708
9709 2015-03-03 Alan Modra <amodra@gmail.com>
9710
9711 [BZ #16512]
9712 * scripts/localplt.awk: Strip off symbol version.
9713 * NEWS: Mention bug fix.
9714
9715 2015-03-02 Roland McGrath <roland@hack.frob.com>
9716
9717 * sysdeps/pthread/timer_routines.c
9718 (timer_free_list, thread_free_list, thread_active_list): Make static.
9719
9720 2015-03-02 Joseph Myers <joseph@codesourcery.com>
9721
9722 [BZ #17779]
9723 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9724 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9725 Undefine.
9726 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9727 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9728 Likewise.
9729 * sysdeps/unix/sysv/linux/sh/kernel-features.h
9730 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
9731 Likewise.
9732
9733 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
9734
9735 [BZ #18036]
9736 * posix/fnmatch_loop.c (END): Detect invalid pattern.
9737 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
9738
9739 2015-03-02 Andreas Schwab <schwab@suse.de>
9740
9741 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
9742 variable name.
9743
9744 2015-03-02 Florian Weimer <fweimer@redhat.com>
9745
9746 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
9747 Return error status.
9748
9749 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
9750
9751 [BZ #15969]
9752 * locale/findlocale.c (_nl_find_locale): Introduce const
9753 version of loc_name and drop unsafe type casts.
9754
9755 2015-02-27 Roland McGrath <roland@hack.frob.com>
9756
9757 * dlfcn/tststatic2.c (main): Converted to ...
9758 (do_test): ... this.
9759 (TEST_FUNCTION): New macro.
9760 Include test-skeleton.c.
9761
9762 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
9763
9764 [BZ #17711]
9765 * elf/Makefile (tests): Add vismain only if PIE is enabled.
9766 (tests-pie): Add vismain.
9767 (CFLAGS-vismain.c): New.
9768 * elf/vismain.c: Add comments for PIE requirement.
9769
9770 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9771
9772 [BZ #18046]
9773 [BZ #18047]
9774 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
9775 0x1p-56L as threshold for just returning the argument.
9776 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
9777 0x1p-32L as threshold for just returning the argument.
9778 * math/auto-libm-test-in: Add more tests of atanh.
9779 * math/auto-libm-test-out: Regenerated.
9780 * sysdeps/i386/fpu/libm-test-ulps: Update.
9781 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
9782
9783 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9784
9785 * string/bcopy.c (bcopy): Call memmove for performance.
9786
9787 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
9788
9789 * string/bzero.c (__bzero): Call memset for performance.
9790
9791 2015-02-27 John David Anglin <dave.anglin@bell.net>
9792
9793 [BZ #18068]
9794 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
9795 to 00100000.
9796
9797 2015-02-27 Joseph Myers <joseph@codesourcery.com>
9798
9799 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
9800
9801 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9802
9803 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
9804 (__kernel_standard): Use CSTR macro when setting exc.name.
9805 * sysdeps/ieee754/Makefile [$(subdir) = math]
9806 (CFLAGS-k_standard.c): Remove variable.
9807
9808 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
9809 setting p and q from "else if" to "else".
9810 (qzero): Likewise.
9811 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
9812 (qone): Likewise.
9813 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
9814 (qzerof): Likewise.
9815 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
9816 (qonef): Likewise.
9817 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
9818 (qzero): Likewise.
9819 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
9820 (qone): Likewise.
9821
9822 [BZ #18038]
9823 [BZ #18039]
9824 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
9825 return pi/2 for arguments below 0x1p-113L.
9826 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
9827 return pi/2 for arguments below 0x1p-106L.
9828 * math/auto-libm-test-in: Add more tests of acos.
9829 * math/auto-libm-test-out: Regenerated.
9830
9831 [BZ #16351]
9832 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
9833 (MO): New macro.
9834 (__ieee754_asin): Force underflow exception for results with small
9835 absolute value.
9836 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
9837 (MO): New macro.
9838 (__ieee754_asinf): Force underflow exception for results with
9839 small absolute value.
9840 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
9841 (__ieee754_asin): Force underflow exception for results with small
9842 absolute value.
9843 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
9844 (__ieee754_asinf): Force underflow exception for results with
9845 small absolute value.
9846 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
9847 (__ieee754_asinl): Force underflow exception for results with
9848 small absolute value.
9849 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
9850 (__ieee754_asinl): Force underflow exception for results with
9851 small absolute value.
9852 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
9853 (__ieee754_asinl): Force underflow exception for results with
9854 small absolute value.
9855 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
9856 Include <math.h>.
9857 * math/auto-libm-test-in: Do not mark underflow exceptions as
9858 possibly missing for bug 16351.
9859 * math/auto-libm-test-out: Regenerated.
9860
9861 [BZ #18030]
9862 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
9863 of power of 2 down when low part has opposite sign.
9864 * math/libm-test.inc (logb_test_data): Add more tests.
9865
9866 2015-02-26 Andreas Schwab <schwab@suse.de>
9867
9868 [BZ #18032]
9869 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
9870 over collating symbol inside a bracket expression. Minor cleanup.
9871 * posix/tst-fnmatch3.c (do_test): Add test case.
9872
9873 2015-02-26 Joseph Myers <joseph@codesourcery.com>
9874
9875 [BZ #18029]
9876 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
9877 Adjust exponent of power of 2 down when low part has opposite
9878 sign.
9879 * math/libm-test.inc (ilogb_test_data): Add more tests.
9880
9881 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
9882
9883 [BZ #15969]
9884 * locale/findlocale.c (_nl_find_locale): Fix constness error in
9885 the previous change.
9886
9887 [BZ #15969]
9888 * locale/findlocale.c (_nl_find_locale): Retry archive search
9889 after alias expansion.
9890
9891 2015-02-25 Roland McGrath <roland@hack.frob.com>
9892
9893 * iconv/tst-iconv3.c (main): Converted to ...
9894 (do_test): ... this.
9895 (TEST_FUNCTION): New macro.
9896 Include test-skeleton.c.
9897
9898 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
9899 (convert): Make function static.
9900 (test_unalign): Likewise. Add const to argument pointee types.
9901 (main): Replace with static function do_test.
9902 Print "Succeeded." only if RET is zero.
9903 (TEST_FUNCTION): New macro.
9904 Include test-skeleton.c.
9905
9906 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
9907 returns a null pointer.
9908
9909 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9910
9911 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
9912 to __memcpy_ppc only for static builds.
9913
9914 2015-02-25 Joseph Myers <joseph@codesourcery.com>
9915
9916 [BZ #18020]
9917 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
9918 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
9919 * math/auto-libm-test-in: Add more tests of asinh.
9920 * math/auto-libm-test-out: Regenerated.
9921 * sysdeps/i386/fpu/libm-test-ulps: Update.
9922 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9923
9924 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
9925
9926 [BZ #15850]
9927 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
9928 and ip6_mtuinfo definitions here.
9929 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
9930 in this define too. Update comment.
9931
9932 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
9933
9934 * elf/sprof.c (load_shobj): Tweak error message to match others.
9935
9936 2015-02-24 Kevin Easton <kevin@guarana.org>
9937
9938 [BZ #16145] (partial fix)
9939 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
9940 to reduce lock contention.
9941
9942 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
9943
9944 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
9945 (struct timex): Update time comment.
9946 (ADJ_SETOFFSET): Define.
9947
9948 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9949
9950 [BZ #18019]
9951 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9952 2**56 not 2**28 as threshold for log (2x) formula.
9953 * math/auto-libm-test-in: Add more tests of acosh.
9954 * math/auto-libm-test-out: Regenerated.
9955 * sysdeps/i386/fpu/libm-test-ulps: Update.
9956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9957
9958 2015-02-24 Mike Frysinger <vapier@gentoo.org>
9959
9960 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
9961 parenthesis around the buf assignment.
9962 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
9963
9964 2015-02-24 Joseph Myers <joseph@codesourcery.com>
9965
9966 [BZ #16783]
9967 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
9968 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
9969 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
9970 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9971 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9972 * math/libm-test.inc (scalb_test_data): Add more tests.
9973
9974 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
9975
9976 [BZ #17916]
9977 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
9978 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
9979
9980 2015-02-24 Eric Rannaud <e@nanocritical.com>
9981
9982 [BZ #17523]
9983 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
9984 * io/bits/fcntl2.h (open): Use it.
9985 (openat): Likewise.
9986 * io/open.c (__libc_open): Likewise.
9987 * io/open64.c (__libc_open64): Likewise.
9988 * io/open64_2.c (__open64_2): Likewise.
9989 * io/open_2.c (__open_2): Likewise.
9990 * io/openat.c (__openat): Likewise.
9991 * io/openat64.c (__openat64): Likewise.
9992 * io/openat64_2.c (__openat64_2): Likewise.
9993 * io/openat_2.c (__openat_2): Likewise.
9994 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
9995 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
9996 * sysdeps/posix/open64.c (__libc_open64): Likewise.
9997 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
9998 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
9999 (__open_nocancel): Likewise.
10000 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
10001 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
10002 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
10003
10004 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
10005
10006 [BZ #14841]
10007 * resolv/gethnamaddr.c (getanswer): Skip logging if
10008 RES_USE_DNSSEC is set.
10009 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
10010
10011 2015-02-24 Mike Frysinger <vapier@gentoo.org>
10012
10013 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
10014
10015 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
10016
10017 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10018 201304L, for Unicode 7.
10019
10020 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
10021
10022 [BZ #17836]
10023 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
10024 shared library. Add gmon-start.os otherwise.
10025 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
10026 $(objpfx)gmon-start.os if builing shared library.
10027 ($(objpfx)g$(static-start-installed-name)): Likewise.
10028
10029 2015-02-23 Andreas Schwab <schwab@suse.de>
10030
10031 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
10032
10033 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
10034
10035 [BZ #17269]
10036 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
10037 (enlarge_userbuf): Likewise.
10038
10039 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
10040
10041 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
10042 * math/atest-exp.c (TIMEOUT): Adjust to 200.
10043 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
10044 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
10045
10046 2015-02-20 Joseph Myers <joseph@codesourcery.com>
10047
10048 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
10049 expression inside statement expression.
10050
10051 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10052
10053 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
10054 <sysdeps/nptl/lowlevellock.h> and remove macros and
10055 functions that are now defined there.
10056 (SYS_futex): Remove.
10057 (lll_compare_and_swap): Remove.
10058 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
10059
10060 2015-02-19 Joseph Myers <joseph@codesourcery.com>
10061
10062 [BZ #17999]
10063 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
10064 instead of scandirat.
10065 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
10066 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
10067 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
10068 __scandirat.
10069 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
10070 (__scandirat): Declare. Use libc_hidden_proto.
10071 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
10072 Remove variable.
10073 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
10074
10075 2015-02-18 Joseph Myers <joseph@codesourcery.com>
10076
10077 [BZ #15319]
10078 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
10079 (MO): New macro.
10080 (__ieee754_atan2): For results with small absolute value, force
10081 underflow exception and remove excess range and precision from
10082 return value.
10083 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
10084 (MO): New macro.
10085 (__ieee754_atan2f): For results with small absolute value, force
10086 underflow exception and remove excess range and precision from
10087 return value.
10088 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
10089 (MO): New macro.
10090 (__atan): For results with small absolute value, force underflow
10091 exception and remove excess range and precision from return value.
10092 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
10093 (MO): New macro.
10094 (__atanf): For results with small absolute value, force underflow
10095 exception and remove excess range and precision from return value.
10096 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
10097 <math.h>.
10098 (__ieee754_atan2): Force underflow exception for results with
10099 small absolute value.
10100 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
10101 <math_private.h>.
10102 (atan): Force underflow exception for results with small absolute
10103 value.
10104 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
10105 (__atanf): Force underflow exception for results with small
10106 absolute value.
10107 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
10108 <math.h>.
10109 (__atanl): Force underflow exception for results with small
10110 absolute value.
10111 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
10112 (__atanl): Force underflow exception for results with small
10113 absolute value.
10114 * sysdeps/x86/fpu/bits/mathinline.h
10115 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
10116 (__ieee754_atan2): Only define inline for long double.
10117 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
10118 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
10119 * math/auto-libm-test-in: Do not mark underflow exceptions as
10120 possibly missing for bug 15319. Add more tests of atan2.
10121 * math/auto-libm-test-out: Regenerated.
10122 * math/libm-test.inc (casin_test_data): Do not mark underflow
10123 exceptions as possibly missing for bug 15319.
10124 (casinh_test_data): Likewise.
10125 * sysdeps/i386/fpu/libm-test-ulps: Update.
10126
10127 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
10128
10129 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
10130 * sysdeps/mips/bits/endian.h: Fix comments.
10131
10132 2015-02-18 Joseph Myers <joseph@codesourcery.com>
10133
10134 [BZ #17996]
10135 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
10136 (hdestroy_r): Likewise.
10137 (hsearch_r): Likewise.
10138 (__hcreate_r): Declare and use libc_hidden_proto.
10139 (__hdestroy_r): Likewise.
10140 (__hsearch_r): Likewise.
10141 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
10142 (hcreate): Call __hcreate_r instead of hcreate_r.
10143 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
10144 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
10145 as weak alias of __hcreate_r.
10146 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
10147 __hdestroy_r.
10148 (hsearch_r): Rename to __hsearch_r and define as weak alias of
10149 __hsearch_r.
10150 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
10151 Remove variable.
10152 (test-xfail-XPG4/search.h/linknamespace): Likewise.
10153 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
10154 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
10155 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
10156
10157 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10158
10159 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
10160 arena_lock into a single arena_get.
10161
10162 2015-02-17 Carlos O'Donell <carlos@redhat.com>
10163
10164 * dl-reloc.c: Inlucde libc-internal.h.
10165 (_dl_try_allocate_static_tls): Call ALIGN_UP.
10166 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
10167 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
10168 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
10169 (grow_heap): Likewise.
10170 * malloc/malloc.c: Include libc-internal.h.
10171 (do_check_malloc): Call powerof2.
10172 (sysmalloc): Use pagesize. Call ALIGN_UP.
10173 (systrim): Use pagesize.
10174 (mremap_chunk): Use pagesize. Call ALIGN_UP.
10175 (__libc_valloc): Use pagesize.
10176 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
10177
10178 2015-02-17 Joseph Myers <joseph@codesourcery.com>
10179
10180 [BZ #17991]
10181 * include/sys/resource.h (__getrlimit64): Declare. Use
10182 libc_hidden_proto.
10183 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
10184 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
10185 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
10186 getrlimit64.
10187 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
10188 __getrlimit64.
10189 [!getrlimit64] (getrlimit64): Define as weak alias of
10190 __getrlimit64. Use libc_hidden_weak.
10191 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
10192 using __getrlimit64 not __new_getrlimit64.
10193 (__GI_getrlimit64): Likewise.
10194 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
10195 Likewise.
10196 (__GI_getrlimit64): Likewise.
10197 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
10198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
10199 (getrlimit): Add __getrlimit64 alias.
10200 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
10201 Likewise.
10202 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
10203 Remove variable.
10204 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
10205 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
10206
10207 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
10208
10209 * libio/fileops.c: Add missing sys/mman.h
10210 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
10211
10212 2015-02-17 Joseph Myers <joseph@codesourcery.com>
10213
10214 * manual/math.texi (Errors in Math Functions): Clarify goals
10215 regarding inexact and underflow exceptions.
10216
10217 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
10218
10219 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
10220 * sysdeps/mips/memset.S: Ditto.
10221
10222 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
10223
10224 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
10225
10226 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
10227
10228 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
10229 (__v1longjmp): Remove versioned symbol.
10230 (__v1siglongjmp): Remove alias and versioned symbol.
10231 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
10232 (__v2siglongjmp): Likewise.
10233
10234 2015-02-16 Torvald Riegel <triegel@redhat.com>
10235
10236 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
10237
10238 2015-02-16 Mike Frysinger <vapier@gentoo.org>
10239
10240 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
10241
10242 2015-02-16 Joseph Myers <joseph@codesourcery.com>
10243
10244 [BZ #17987]
10245 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
10246 zero result does not depend on the sign resulting from
10247 subtraction.
10248 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10249 Likewise.
10250 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10251 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10252 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10253 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10254 * math/libm-test.inc (remquo_test_data): Add more tests.
10255
10256 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
10257
10258 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
10259 Problem reported by J William Piggott.
10260
10261 2015-02-16 Joseph Myers <joseph@codesourcery.com>
10262
10263 [BZ #17978]
10264 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
10265 products 4 * y and 2 * y where those would overflow.
10266 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10267 Likewise.
10268 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
10269 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
10270 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
10271 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
10272 * math/libm-test.inc (remquo_test_data): Add more tests.
10273
10274 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
10275
10276 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
10277 [defined _COMPILING_NEWLIB].
10278 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
10279 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
10280
10281 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
10282 [!defined __mips_isa_rev || __mips_isa_rev < 6].
10283
10284 2015-02-16 Torvald Riegel <triegel@redhat.com>
10285
10286 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
10287 acquired.
10288
10289 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
10290
10291 [BZ #17792]
10292 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
10293 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
10294 HOST_STACK_END_ADDR): Likewise.
10295
10296 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
10297
10298 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
10299 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
10300 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
10301
10302 2015-02-13 Roland McGrath <roland@hack.frob.com>
10303
10304 * sysdeps/generic/c++-types.data: New file.
10305 * sysdeps/generic/ld.abilist: New file.
10306 * sysdeps/generic/libBrokenLocale.abilist: New file.
10307 * sysdeps/generic/libanl.abilist: New file.
10308 * sysdeps/generic/libc.abilist: New file.
10309 * sysdeps/generic/libcrypt.abilist: New file.
10310 * sysdeps/generic/libdl.abilist: New file.
10311 * sysdeps/generic/libm.abilist: New file.
10312 * sysdeps/generic/libpthread.abilist: New file.
10313 * sysdeps/generic/libresolv.abilist: New file.
10314 * sysdeps/generic/librt.abilist: New file.
10315
10316 2015-02-13 Joseph Myers <joseph@codesourcery.com>
10317
10318 [BZ #17569]
10319 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
10320 Compute absolute value of x as modified by fmod, not original
10321 value of x.
10322 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
10323 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
10324 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
10325 RUN_TEST_ffI_f1_mod8.
10326 (remquo_test_data): Add more tests.
10327
10328 2015-02-13 Roland McGrath <roland@hack.frob.com>
10329
10330 * sysdeps/init_array/pt-crti.S: New file.
10331
10332 2015-02-13 Joseph Myers <joseph@codesourcery.com>
10333
10334 [BZ #17967]
10335 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
10336 __builtin_fmaf instead of relying on contraction of a * b + c.
10337
10338 2015-02-12 J William Piggott <elseifthen@gmx.com>
10339
10340 [BZ #17969]
10341 * manual/time.texi: correct the zoneinfo path in the TZ Variable
10342 node.
10343
10344 2015-02-12 Joseph Myers <joseph@codesourcery.com>
10345
10346 [BZ #17964]
10347 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
10348 __builtin_fma instead of relying on contraction of a * b + c.
10349
10350 2015-02-12 Roland McGrath <roland@hack.frob.com>
10351
10352 * Makeconfig (ASFLAGS): Add -Werror=undef.
10353 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
10354 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
10355 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
10356
10357 * Makeconfig (after-link): New variable.
10358 (+link-pie, +link-pie-tests): Use it.
10359 (+link-static, +link-static-tests): Likewise.
10360 (+link, +link-tests): Likewise.
10361 * Makerules (build-module, build-module-asneeded): Likewise.
10362 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
10363 Likewise.
10364 * elf/Makefile ($(objpfx)ld.so): Likewise.
10365
10366 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
10367
10368 [BZ #17965]
10369 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
10370 both struct timeval and struct timespec.
10371
10372 2015-02-12 Joseph Myers <joseph@codesourcery.com>
10373
10374 [BZ #16560]
10375 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
10376 and redefine.
10377 (__ieee754_exp2l): Do not multiply small fractional parts by
10378 M_LN2l.
10379 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
10380 small argument.
10381 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
10382 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
10383 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
10384 * math/auto-libm-test-in: Add more tests of exp2.
10385 * math/auto-libm-test-out: Regenerated.
10386
10387 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10388
10389 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
10390 unaligned path.
10391
10392 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10393
10394 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
10395 little endian.
10396
10397 2015-02-12 Andreas Schwab <schwab@suse.de>
10398
10399 [BZ #15790]
10400 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
10401 Filter out elision flags from value returned in kind.
10402 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
10403 * nptl/tst-pthread-mutexattr.c: New file.
10404
10405 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
10406
10407 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
10408 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
10409 into gnu-gnu, and update comment to refer to abi-tags.
10410
10411 2015-02-11 Joseph Myers <joseph@codesourcery.com>
10412
10413 [BZ #15467]
10414 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
10415 (__sincos): Set errno to EDOM for infinite argument.
10416 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
10417 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
10418 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
10419 (__sincosl): Set errno to EDOM for infinite argument.
10420 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
10421 (__sincosl): Set errno to EDOM for infinite argument.
10422 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
10423 (__sincosl): Set errno to EDOM for infinite argument.
10424 * math/libm-test.inc (sincos_test_data): Test errno setting.
10425
10426 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
10427
10428 * string/strxfrm_l.c: Remove #define STRCMP.
10429 * string/strcoll_l.c: Remove #define STRLEN.
10430 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
10431 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
10432
10433 2015-02-10 Joseph Myers <joseph@codesourcery.com>
10434
10435 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
10436 * sysdeps/mips/mips32/sfp-machine.h: ... here.
10437 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
10438 * sysdeps/mips/mips64/Makefile: ... here.
10439 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
10440 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
10441 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
10442 * sysdeps/mips/mips64/sfp-machine.h: ... here.
10443 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
10444 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
10445 * sysdeps/mips/mips64/n64/Implies: Likewise.
10446
10447 2015-02-10 Roland McGrath <roland@hack.frob.com>
10448
10449 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
10450 <sys/time.h>, <string.h>, and <errno.h>.
10451 (dest_offset, dest_address, value, zero): Remove unused variables.
10452 (ldouble): Remove typedef.
10453 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
10454 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
10455 1). Fix code style.
10456 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
10457 (check): Function removed.
10458 (CHECK): New macro.
10459 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
10460 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
10461 Don't call set_sigaction_FP and remove_sigaction_FP here.
10462 (ldouble_test): Just use 'long double' as macro argument, no need for
10463 the 'ldouble' typedef.
10464 (do_test): Set up SIGFPE handler at start, using plain signal rather
10465 than sigaction. Fix code style.
10466
10467 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
10468
10469 [BZ #17949]
10470 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
10471 jump label.
10472
10473 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10474
10475 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
10476 * sysdeps/powerpc/powerpc32/configure: Regenerated.
10477
10478 * sysdeps/powerpc/configure.ac: Remove file.
10479 * sysdeps/powerpc/configure: Likewise.
10480
10481 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10482 [sysdep_routines]: Remove wordcopy-power6 object.
10483 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
10484 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
10485 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
10486 (__memmove_ppc32): Likewise.
10487 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
10488 file.
10489 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
10490 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
10491 Remove preprocessor.
10492
10493 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
10494 [sysdep_routines]: Remove wide chars objects.
10495 [wcsmbs]: New rule for wide char objects.
10496
10497 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10498 Remove wordcopy-power6 obejct.
10499 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
10500 Use local call for wordcopy and memcpy symbols.
10501 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
10502 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
10503 implementation for loader.
10504 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
10505
10506 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10507 Remove wordcopy-power7 object.
10508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
10509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
10510 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
10511 (_wordcopy_fwd_dest_aligned): Likewise.
10512 (_wordcopy_bwd_aligned): Likewise.
10513 (_wordcopy_bwd_dest_aligned): Likewise.
10514
10515 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
10516 Rewrite to call __memmove_ppc instead of include default
10517 implementation.
10518
10519 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
10520 Remove wide chars objects.
10521 [wcsmbs]: New rule for wide char objects.
10522
10523 2015-02-09 Andreas Schwab <schwab@suse.de>
10524
10525 [BZ #17912]
10526 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10527 in terms of __O_DIRECTORY.
10528
10529 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10530
10531 * time/getdate.c: Include <stdbool.h>.
10532 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
10533 call PTR_MANGLE.
10534 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
10535 PTR_DEMANGLE.
10536
10537 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
10538
10539 Add ersatz _Static_assert on older C hosts
10540 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
10541 pre-C11 C platform that is not known to support _Static_assert.
10542
10543 2015-02-07 Richard Braun <rbraun@sceen.net>
10544
10545 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
10546 sigstate.
10547 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
10548
10549 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
10550
10551 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
10552 priority against unexistent AIO_PRIO_DELTA_MAX.
10553 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
10554 instead of int.
10555 * misc/fchflags.c (fchflags): Likewise.
10556 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
10557 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
10558 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
10559 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
10560 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
10561 Declare macros.
10562 [__USE_MISC] (chflags, fchflags): Declare functions.
10563 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
10564 EINVAL when nfds is greater than FD_SETSIZE.
10565 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
10566 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
10567 45.
10568 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
10569 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
10570 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
10571 MACH_RCV_TIMED_OUT.
10572 * hurd/hurd/signal.h (_hurd_self_sigstate,
10573 _hurd_critical_section_lock, _hurd_critical_section_unlock):
10574 Explicit casts from void *.
10575 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
10576 * abi-tags: Rename gnu-gnu os into gnu.
10577
10578 [BZ #4719]
10579 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
10580 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
10581 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
10582 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
10583 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
10584 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
10585
10586 [BZ #17944]
10587 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
10588 duplicates ADDR->sun_path with sockaddr LEN limitation.
10589 * sysdeps/mach/hurd/connect.c: Include <string.h>
10590 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
10591 * sysdeps/mach/hurd/sendmsg.c: Likewise.
10592 * sysdeps/mach/hurd/sendto.c: Likewise.
10593 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
10594 implementing it by hand.
10595
10596 2015-02-06 Roland McGrath <roland@hack.frob.com>
10597
10598 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
10599 Use sfi_breg on ldr.
10600 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
10601 Likewise.
10602
10603 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
10604 it's defined.
10605 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
10606 Test SIGSETXID only if it's defined.
10607
10608 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
10609
10610 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
10611 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
10612
10613 * nptl/tst-align2.c: Moved ...
10614 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
10615 * nptl/Makefile (tests): Remove tst-align2.
10616 * sysdeps/unix/sysv/linux/Makefile
10617 [$(subdir) = nptl] (tests): Add tst-align-clone.
10618 * nptl/tst-getpid1.c: Moved ...
10619 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
10620 * nptl/tst-getpid2.c: Moved ...
10621 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
10622 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
10623 * sysdeps/unix/sysv/linux/Makefile
10624 [$(subdir) = nptl] (tests): ... here.
10625 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
10626 * sysdeps/unix/sysv/linux/Makefile
10627 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
10628
10629 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
10630 Drop trailing \n from perror argument. Use return rather than exit.
10631
10632 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
10633 on [SA_SIGINFO].
10634 * nptl/tst-cancel21.c (do_test): Likewise.
10635 * debug/tst-backtrace6.c: Include <signal.h> first thing.
10636 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
10637 [!SA_SIGINFO]: Make it a stub test.
10638
10639 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
10640 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
10641
10642 * posix/tst-getlogin.c: Move to ...
10643 * login/tst-getlogin.c: ... here.
10644 * posix/Makefile (tests): Move tst-getlogin to ...
10645 * login/Makefile (tests): ... here.
10646
10647 * libio/tst-atime.c (do_test): Move local variables SV and E
10648 inside [ST_NOATIME] conditional.
10649
10650 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
10651
10652 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
10653
10654 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
10655 (wait_code): New function replaces macro.
10656 Call nanosleep rather than syscall.
10657
10658 * nptl/pt-system.c: Rewritten. Put everything under
10659 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10660 Use IFUNC to redirect when possible.
10661
10662 * nptl/pt-longjmp.c: Rewritten. Put everything under
10663 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10664 Use IFUNC to redirect when possible.
10665
10666 * nptl/pt-fork.c: Rewritten. Put everything under
10667 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
10668 Use IFUNC to redirect when possible.
10669 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
10670
10671 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
10672 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
10673 unconditionally nowadays. This included the only reference to
10674 __vdso_clock_gettime that appears outside libc proper.
10675 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
10676 Remove version set (containing only __vdso_clock_gettime).
10677 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
10678 Add attribute_hidden.
10679 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
10680 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
10681 libc_hidden_data_def.
10682 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
10683 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
10684
10685 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
10686 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
10687 setrpcent, and getrpcport to ...
10688 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
10689 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
10690 getrpcbynumber_r, and getrpcent_r to ...
10691 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
10692 * inet/getrpcbyname.c: Moved ...
10693 * sunrpc/getrpcbyname.c: ... here.
10694 * inet/getrpcbyname_r.c: Moved ...
10695 * sunrpc/getrpcbyname_r.c: ... here.
10696 * inet/getrpcbynumber.c: Moved ...
10697 * sunrpc/getrpcbynumber.c: ... here.
10698 * inet/getrpcbynumber_r.c: Moved ...
10699 * sunrpc/getrpcbynumber_r.c: ... here.
10700 * inet/getrpcent.c: Moved ...
10701 * sunrpc/getrpcent.c: ... here.
10702 * inet/getrpcent_r.c: Moved ...
10703 * sunrpc/getrpcent_r.c: ... here.
10704 * inet/Makefile (routines): Move those to ...
10705 * sunrpc/Makefile (routines): ... here.
10706 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
10707 the $(subdirs) list.
10708 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
10709 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
10710 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
10711 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
10712
10713 * elf/Makefile (routines): Include $(all-dl-routines), not just
10714 $(dl-routines).
10715 (rtld-routines): Likewise. Use = rather than :=.
10716 * sysdeps/aarch64/Makefile [$(subdir) = elf]
10717 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
10718 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
10719 * sysdeps/arm/Makefile: Likewise.
10720 * sysdeps/i386/Makefile: Likewise.
10721 * sysdeps/x86_64/Makefile: Likewise.
10722 * sysdeps/hppa/Makefile [$(subdir) = elf]
10723 (sysdep_routines, sysdep-rtld-routines): Don't add
10724 $(sysdep-dl-routines) to these.
10725 * sysdeps/ia64/Makefile: Likewise.
10726 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
10727 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
10728 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
10729 Don't add dl-static to these; sysdep-dl-routines alone is enough.
10730 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
10731 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
10732 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
10733 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
10734 * sysdeps/powerpc/Makefile [$(subdir) = elf]
10735 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
10736 these; sysdep-dl-routines alone is enough.
10737
10738 2015-02-06 Joseph Myers <joseph@codesourcery.com>
10739
10740 [BZ #17932]
10741 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
10742 where multiplication results in zero and third argument is finite
10743 and nonzero.
10744 * math/auto-libm-test-in: Add more tests of fma.
10745 * math/auto-libm-test-out: Regenerated.
10746
10747 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
10748 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
10749 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
10750 (_FP_CMP_EQ): Likewise.
10751 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
10752
10753 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
10754 extra argument CHECK_NAN. Redefine as wrapper around
10755 _FP_EXTEND_CNAN.
10756
10757 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
10758
10759 * version.h (RELEASE): Set to "stable".
10760 (VERSION): Set to "2.21"
10761 * include/features.h (__GLIBC_MINOR__): Set to 21.
10762
10763 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
10764
10765 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10766 Paul Eggert <eggert@cs.ucla.edu>
10767
10768 [BZ #16618]
10769 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
10770 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
10771 size in bytes. Store needed elements in wpmax. Use needed size
10772 in bytes for extend_alloca.
10773
10774 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
10775
10776 * manual/install.texi: Latest tested versions are GCC 4.9.2,
10777 binutls 2.25, and texinfo 5.2.
10778 * INSTALL: Regenerate.
10779 * sysdeps/nios2/configure: Regenerate.
10780 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
10781 * manual/contrib.texi: Update.
10782 * po/be.po: Update.
10783 * po/bg.po: Update.
10784 * po/ca.po: Update.
10785 * po/cs.po: Update.
10786 * po/da.po: Update.
10787 * po/de.po: Update.
10788 * po/el.po: Update.
10789 * po/eo.po: Update.
10790 * po/es.po: Update.
10791 * po/fi.po: Update.
10792 * po/fr.po: Update.
10793 * po/gl.po: Update.
10794 * po/hr.po: Update.
10795 * po/hu.po: Update.
10796 * po/ia.po: Update.
10797 * po/id.po: Update.
10798 * po/it.po: Update.
10799 * po/ja.po: Update.
10800 * po/ko.po: Update.
10801 * po/lt.po: Update.
10802 * po/nb.po: Update.
10803 * po/nl.po: Update.
10804 * po/pl.po: Update.
10805 * po/pt_BR.po: Update.
10806 * po/ru.po: Update.
10807 * po/rw.po: Update.
10808 * po/sk.po: Update.
10809 * po/sl.po: Update.
10810 * po/sv.po: Update.
10811 * po/tr.po: Update.
10812 * po/uk.po: Update.
10813 * po/vi.po: Update.
10814 * po/zh_CN.po: Update.
10815 * po/zh_TW.po: Update.
10816
10817 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
10818 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
10819 * sysdeps/hppa/dl-irel.h: Remove #warning.
10820 * sysdeps/hppa/entry.h: Provide prototype for
10821 __canonicalize_funcptr_for_compare and cast argument.
10822 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
10823 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
10824 * sysdeps/hppa/sotruss-lib.c: New file.
10825 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
10826 (atomic_compare_and_exchange_val_acq): Use __typeof__.
10827 (atomic_compare_and_exchange_bool_acq): Likewise.
10828 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
10829 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
10830
10831 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
10832 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
10833 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
10834
10835 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
10836
10837 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
10838 called function in non-PIC case.
10839
10840 2015-01-31 David S. Miller <davem@davemloft.net>
10841
10842 * sysdeps/sparc/sparc32/bits/atomic.h
10843 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
10844 unlock not after it.
10845 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
10846 volatile register usage warnings from the compiler.
10847
10848 * sysdeps/sparc/nptl/sem_init.c: Delete.
10849 * sysdeps/sparc/nptl/sem_post.c: Delete.
10850 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
10851 * sysdeps/sparc/nptl/sem_wait.c: Delete.
10852 * sysdeps/sparc/sparc32/sem_init.c: New file.
10853 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
10854 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
10855 padding explicitly initialized.
10856 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
10857 padding for in-semaphore spinlock.
10858 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
10859 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
10860 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
10861 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
10862 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
10863 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
10864 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
10865 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
10866 version.
10867 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
10868 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
10869
10870 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
10871
10872 [BZ #17801]
10873 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10874 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
10875 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
10876 New.
10877 (index_AVX_Fast_Unaligned_Load): Likewise.
10878 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
10879 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
10880 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
10881 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
10882 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
10883 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
10884 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
10885 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
10886 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
10887
10888 2015-01-29 Andreas Schwab <schwab@suse.de>
10889
10890 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
10891
10892 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
10893
10894 [BZ #17892]
10895 * nscd/nscd_stat.c (send_stats): Initialize DATA.
10896
10897 2015-01-28 Martin Sebor <msebor@redhat.com>
10898
10899 * math/README.libm-test: Clarify. Add "How to read the test output."
10900
10901 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
10902
10903 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
10904 Define to 0.
10905
10906 2015-01-28 Joseph Myers <joseph@codesourcery.com>
10907
10908 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
10909 (__HAVE_64B_ATOMICS): Define to 0.
10910
10911 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10912
10913 [BZ #17885]
10914 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
10915 value to set as new flag.
10916
10917 [BZ #16576]
10918 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
10919 and use _ARCH_PPCSQ instead.
10920 (__ieee754_sqrt): Likewise.
10921 (__ieee754_sqrtf): Likewise.
10922 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
10923 _ARCH_PPCSQ is defined.
10924 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
10925 fsqrt instruction.
10926 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
10927 _ARCH_PPCSQ is defined.
10928 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
10929 fsqrts instruction.
10930 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
10931
10932 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10933
10934 * iconv/loop.c: Suppress array out of bound warning caused by GCC
10935 bug (GCC BZ #64739).
10936
10937 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
10938
10939 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
10940 Mark _retval as used.
10941 (lll_futex_wake_unlock): Likewise.
10942 (lll_futex_timed_wait_requeue_pi): Likewise.
10943
10944 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
10945 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
10946 register variables.
10947
10948 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
10949 libm_hidden_def.
10950
10951 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
10952 (__bswap_64): Mark as __always_inline.
10953
10954 2015-01-25 Bram <bug_rh@spam.wizbit.be>
10955
10956 [BZ #15378]
10957 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
10958 when none of the search directories exist.
10959
10960 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
10961
10962 [BZ #17869]
10963 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
10964 power8 in .machine directive.
10965
10966 [BZ #17868]
10967 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
10968 set dependency from opd value.
10969
10970 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10971
10972 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10973 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
10974 architecture.
10975
10976 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
10977
10978 [BZ #17870]
10979 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
10980 with uint64_t.
10981 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
10982 (uint64_t) 1.
10983 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
10984 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
10985 Replace 1UL with (uint64_t) 1.
10986 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
10987 int with uint64_t.
10988
10989 2015-01-23 Roland McGrath <roland@hack.frob.com>
10990
10991 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
10992 (if_freenameindex): Likewise.
10993
10994 * resource/getrlimit64.c: Add missing libc_hidden_def.
10995
10996 2015-01-22 Joseph Myers <joseph@codesourcery.com>
10997
10998 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
10999 __label__.
11000 (_FP_FMA): Likewise.
11001 (_FP_TO_INT_ROUND): Likewise.
11002 (_FP_FROM_INT): Likewise.
11003
11004 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11005
11006 [BZ #16418]
11007 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
11008 Make code racy and cancel safe.
11009
11010 2015-01-21 Carlos O'Donell <carlos@redhat.com>
11011
11012 * sysdeps/arm/unwind-resume.h: Fix copyright year.
11013 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
11014 attribution.
11015
11016 * pwd/tst-getpw.c: Rewrite.
11017
11018 [BZ #17702]
11019 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
11020 (modules-names): Add moddummy1 and moddummy2.
11021 ($(objpfx)tst-rec-dlopen): Define.
11022 * dlfcn/moddummy1.c: New file.
11023 * dlfcn/moddummy2.c: New file.
11024 * dlfcn/tst-rec-dlopen.c: New file.
11025 * elf/dl-cache.c (_dl_load_cache_lookup):
11026 Return char*. Copy result with alloca/strcpy/strdup.
11027 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
11028 returns char*. Free cached. If not saving realname
11029 free cached.
11030 * elf/dl-open.c (dl_open_worker): Do not assert that
11031 _r_debug->r_state is RT_CONSISTENT.
11032 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
11033 returns char*.
11034
11035 2015-01-21 Torvald Riegel <triegel@redhat.com>
11036 Carlos O'Donell <carlos@redhat.com>
11037
11038 [BZ #12674]
11039 * nptl/sem_waitcommon.c: New file.
11040 * nptl/sem_wait.c: Include sem_waitcommon.c.
11041 (__sem_wait_cleanup, do_futex_wait): Remove.
11042 (__new_sem_wait): Adapt.
11043 (__new_sem_trywait): New function.
11044 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
11045 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
11046 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
11047 (sem_timedwait): Adapt.
11048 * nptl/sem_post.c (__new_sem_post): Adapt.
11049 (futex_wake): New function.
11050 (__old_sem_post): Add release MO fence.
11051 * nptl/sem_open.c (sem_open): Adapt.
11052 * nptl/sem_init.c (__new_sem_init): Adapt.
11053 (futex_private_if_supported): New function.
11054 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
11055 (__old_sem_getvalue): Add using previous code.
11056 * sysdeps/nptl/internaltypes.h: Adapt.
11057 * nptl/tst-sem13.c (do_test): Adapt.
11058 * nptl/tst-sem11.c (main): Adapt.
11059 * nptl/sem_trywait.c: Remove.
11060 * nptl/DESIGN-sem.txt: Remove.
11061 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
11062 (gen-as-const-headers): Remove structsem.sym.
11063 * nptl/structsem.sym: Remove.
11064 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
11065 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
11066 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
11067 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
11068 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
11069 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
11070 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
11071 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
11072 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
11073 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
11074 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
11075 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
11076 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
11077 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
11078 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
11079 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
11080 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
11081 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
11082 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
11083 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
11084 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
11085 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
11086
11087 2015-01-20 Carlos O'Donell <carlos@redhat.com>
11088
11089 * INSTALL: Regenerated.
11090
11091 * po/libc.pot: Regenerated.
11092
11093 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
11094 Sandra Loosemore <sandra@codesourcery.com>
11095 Andrew Jenner <andrew@codesourcery.com>
11096 Joseph Myers <joseph@codesourcery.com>
11097 Nathan Sidwell <nathan@codesourcery.com>
11098
11099 * NEWS: Mention new Nios II port.
11100 * sysdeps/nios2/Implies: New file.
11101 * sysdeps/nios2/Makefile: New file.
11102 * sysdeps/nios2/Subdirs: New file.
11103 * sysdeps/nios2/Versions: New file.
11104 * sysdeps/nios2/__longjmp.S: New file.
11105 * sysdeps/nios2/abort-instr.h: New file.
11106 * sysdeps/nios2/backtrace.c: New file.
11107 * sysdeps/nios2/bits/endian.h: New file.
11108 * sysdeps/nios2/bits/fenv.h: New file.
11109 * sysdeps/nios2/bits/link.h: New file.
11110 * sysdeps/nios2/bits/setjmp.h: New file.
11111 * sysdeps/nios2/bsd-_setjmp.S: New file.
11112 * sysdeps/nios2/bsd-setjmp.S: New file.
11113 * sysdeps/nios2/configure: New generated file.
11114 * sysdeps/nios2/configure.ac: New file.
11115 * sysdeps/nios2/crti.S: New file.
11116 * sysdeps/nios2/crtn.S: New file.
11117 * sysdeps/nios2/dl-init.c: New file.
11118 * sysdeps/nios2/dl-machine.h: New file.
11119 * sysdeps/nios2/dl-sysdep.h: New file.
11120 * sysdeps/nios2/dl-tls.h: New file.
11121 * sysdeps/nios2/dl-trampoline.S: New file.
11122 * sysdeps/nios2/gccframe.h: New file.
11123 * sysdeps/nios2/gmp-mparam.h: New file.
11124 * sysdeps/nios2/jmpbuf-offsets.h: New file.
11125 * sysdeps/nios2/jmpbuf-unwind.h: New file.
11126 * sysdeps/nios2/ldsodefs.h: New file.
11127 * sysdeps/nios2/libc-tls.c: New file.
11128 * sysdeps/nios2/libm-test-ulps: New file.
11129 * sysdeps/nios2/machine-gmon.h: New file.
11130 * sysdeps/nios2/math-tests.h: New file.
11131 * sysdeps/nios2/math_private.h: New file.
11132 * sysdeps/nios2/memusage.h: New file.
11133 * sysdeps/nios2/nptl/Makefile: New file.
11134 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
11135 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
11136 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
11137 * sysdeps/nios2/nptl/pthreaddef.h: New file.
11138 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
11139 * sysdeps/nios2/nptl/tls.h: New file.
11140 * sysdeps/nios2/preconfigure: New file.
11141 * sysdeps/nios2/s_fma.c: New file.
11142 * sysdeps/nios2/s_fmaf.c: New file.
11143 * sysdeps/nios2/setjmp.S: New file.
11144 * sysdeps/nios2/sfp-machine.h: New file.
11145 * sysdeps/nios2/sotruss-lib.c: New file.
11146 * sysdeps/nios2/stackguard-macros.h: New file.
11147 * sysdeps/nios2/stackinfo.h: New file.
11148 * sysdeps/nios2/start.S: New file.
11149 * sysdeps/nios2/sysdep.h: New file.
11150 * sysdeps/nios2/tls-macros.h: New file.
11151 * sysdeps/nios2/tst-audit.h: New file.
11152 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
11153 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
11154 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
11155 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
11156 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
11157 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
11158 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
11159 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
11160 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
11161 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
11162 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
11163 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
11164 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
11165 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
11166 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
11167 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
11168 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
11169 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
11170 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
11171 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
11172 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
11173 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
11174 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
11175 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
11176 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
11177 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
11178 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
11179 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
11180 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
11181 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
11182 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
11183 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
11184 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
11185 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
11186 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
11187 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
11188 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
11189 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
11190 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
11191 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
11192 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
11193 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
11194 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
11195 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
11196
11197 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11198
11199 [BZ #17844]
11200 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
11201 (getutent): Use weak_alias in non SHARED case
11202 and default_symbol_version in SHARED case.
11203 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
11204 (getutent_r, pututline): Likewise.
11205 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
11206 (getutid): Likewise.
11207 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
11208 (getutid_r): Likewise.
11209 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
11210 (getutline): Likewise.
11211 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
11212 (getutline_r): Likewise.
11213 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
11214 (updwtmp): Likewise.
11215
11216 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11217
11218 [BZ #17848]
11219 * sysdeps/s390/s390-32/memcmp.S
11220 (memcmp_g5): Rename to __memcmp_g5.
11221 * sysdeps/s390/s390-32/memcpy.S
11222 (memcpy_g5): Rename to __memcpy_g5.
11223 Jump to __memcpy_mvcle instead of memcpy_mvcle.
11224 (memcpy_mvcle) Rename to __memcpy_mvcle.
11225 * sysdeps/s390/s390-32/memset.S
11226 (memset_g5): Rename to __memset_g5.
11227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
11228 (IFUNC_RESOLVE): Prefix ifunc-resolve function
11229 and use prefixed functions.
11230 * sysdeps/s390/s390-32/multiarch/memcmp.S
11231 (memcmp_z196): Rename to __memcmp_z196.
11232 (memcmp_z10): Rename to __memcmp_z10.
11233 (memcmp): Set alias to __memcmp_g5.
11234 (bcmp): Set alias to __memcmp_g5.
11235 * sysdeps/s390/s390-32/multiarch/memcpy.S
11236 (memcpy_z196): Rename to __memcpy_z196.
11237 Jump to __memcpy_mvcle instead of memcpy_mvcle.
11238 (memcpy_z10): Rename to __memcpy_z10.
11239 Jump to __memcpy_mvcle instead of memcpy_mvcle.
11240 (memcpy): Set alias to __memcpy_g5.
11241 * sysdeps/s390/s390-32/multiarch/memset.S
11242 (memset_z196): Rename to __memset_z196.
11243 Jump to __memset_mvcle instead of memset_mvcle.
11244 (memset_z10): Rename to __memset_z10.
11245 Jump to __memset_mvcle instead of memset_mvcle.
11246 (memset_mvcle) Rename to __memset_mvcle.
11247 (memset): Set alias to __memset_g5.
11248 * sysdeps/s390/s390-64/memcmp.S
11249 (memcmp_z900): Rename to __memcmp_z900.
11250 * sysdeps/s390/s390-64/memcpy.S
11251 (memcpy_z900): Rename to __memcpy_z900.
11252 Jump to __memcpy_mvcle instead of memcpy_mvcle.
11253 (memcpy_mvcle) Rename to __memcpy_mvcle.
11254 * sysdeps/s390/s390-64/memset.S
11255 (memset_z900): Rename to __memset_z900.
11256 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
11257 (IFUNC_RESOLVE): Prefix ifunc-resolve function
11258 and use prefixed functions.
11259 * sysdeps/s390/s390-64/multiarch/memcmp.S
11260 (memcmp_z196): Rename to __memcmp_z196.
11261 (memcmp_z10): Rename to __memcmp_z10.
11262 (memcmp): Set alias to __memcmp_z900.
11263 (bcmp): Set alias to __memcmp_z900.
11264 * sysdeps/s390/s390-64/multiarch/memcpy.S
11265 (memcpy_z196): Rename to __memcpy_z196.
11266 Jump to __memcpy_mvcle instead of memcpy_mvcle.
11267 (memcpy_z10): Rename to __memcpy_z10.
11268 Jump to __memcpy_mvcle instead of memcpy_mvcle.
11269 (memcpy): Set alias to __memcpy_z900.
11270 * sysdeps/s390/s390-64/multiarch/memset.S
11271 (memset_z196): Rename to __memset_z196.
11272 Jump to __memset_mvcle instead of memset_mvcle.
11273 (memset_z10): Rename to __memset_z10.
11274 Jump to __memset_mvcle instead of memset_mvcle.
11275 (memset_mvcle) Rename to __memset_mvcle.
11276 (memset): Set alias to __memset_z900.
11277
11278 2015-01-14 Joseph Myers <joseph@codesourcery.com>
11279
11280 [BZ #17748]
11281 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
11282 __fesetenv instead of fesetenv.
11283
11284 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11285
11286 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
11287 macro.
11288
11289 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11290
11291 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
11292 regression on LE.
11293
11294 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
11295 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
11296 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11297 strncmp-power8 object.
11298 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11299 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
11300 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
11301 * NEWS: Update.
11302
11303 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
11304 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11305
11306 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
11307 trailing byte check.
11308
11309 2015-01-13 David S. Miller <davem@davemloft.net>
11310
11311 * include/signal.h (__sigreturn): Guard with __USE_MISC.
11312
11313 2015-01-13 Roland McGrath <roland@hack.frob.com>
11314
11315 * login/logout.c (logout): Use memset rather than bzero.
11316 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
11317 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
11318 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
11319 (_gethtbyaddr): Likewise.
11320 * locale/programs/simple-hash.c (bcopy): Macro removed.
11321
11322 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11323
11324 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11325 Add strcmp-power8 object.
11326 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11327 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
11328 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
11329 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
11330 __strcmp_power8 implementation.
11331 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
11332 * NEWS: Update.
11333
11334 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
11335 Add strncpy-power8 and stpncpy-power8 objects.
11336 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11337 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
11338 implementations.
11339 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
11340 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
11341 __stpncpy_power8 implementation.
11342 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
11343 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
11344 __strncpy_power8 implementation.
11345 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
11346 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
11347 * NEWS: Update.
11348
11349 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
11350 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
11351 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
11352
11353 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11354 strncat-power8 object.
11355 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
11356 __strcat_power8 implementation.
11357 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11358 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
11359 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
11360 optimized strcat for power8.
11361
11362 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
11363 strcpy-power8 and stpcpy-power8 objects.
11364 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11365 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
11366 implementations.
11367 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
11368 multiarch stpcpy implementation for POWER8.
11369 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
11370 multiarch strcpy implementation for POWER8.
11371 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
11372 __strcpy_power8 function.
11373 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
11374 stpcpy for POWER8.
11375 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
11376 strcpy for POWER8.
11377 * NEWS: Update.
11378
11379 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
11380
11381 [BZ #16009]
11382 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
11383 weights and rules. Use do_xfrm_cached if data fits in cache,
11384 do_xfrm otherwise. Moved former main loop to...
11385 * (do_xfrm_cached): New function.
11386 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
11387 find_idx, find_position and stack_push.
11388 * (find_idx): New function.
11389 * (find_position): Likewise.
11390 * localedata/sort-test.sh: Added test run for do_xfrm.
11391 * localedata/xfrm-test.c (main): Added command line option
11392 -nocache to run the test with strings that are too large for
11393 the STRXFRM cache.
11394
11395 2015-01-13 Torvald Riegel <triegel@redhat.com>
11396
11397 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
11398 variable to lll_futex_wake call, not the value itself.
11399
11400 2015-01-12 Joseph Myers <joseph@codesourcery.com>
11401
11402 [BZ #17803]
11403 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
11404 twom64. Adjust value to 0x1p-64L.
11405 (__scalblnl): Only return standard underflowing result for K <=
11406 -64 not K <= -63; adjust exponent for underflowing result by 64
11407 not 63.
11408 * math/libm-test.inc (scalbn_test_data): Add more tests.
11409 (scalbln_test_data): Likewise.
11410
11411 [BZ #17834]
11412 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
11413 0x1p63L.
11414 (__scalblnl): Get new exponent of adjusted subnormal value from ES
11415 not HX.
11416 * math/libm-test.inc (scalbn_test_data): Add more tests.
11417 (scalbln_test_data): Likewise.
11418
11419 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11420 Stefani Seibold <stefani@seibold.net>
11421
11422 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
11423 (sysdep_routines): Add dl-vdso here, ...
11424 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
11425 (sysdep_routines): ... not here.
11426 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
11427 fallback when vDSO is not presented.
11428 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
11429 Define with libc_hidden_proto/libc_hidden_data_def definitions.
11430 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
11431 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
11432 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
11433 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
11434 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
11435 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
11436 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
11437 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
11438 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
11439 fallback configurable symbol when vDSO is not available.
11440 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
11441 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
11442 be able to redefine fallback symbol when vDSO is not available.
11443 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
11444 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
11445
11446 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11447
11448 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
11449 (TLS_INIT_TP): Add tm_capable initialization.
11450 (TLS_DEFINE_INIT_TP): Likewise.
11451 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
11452 TCB.
11453 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
11454 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
11455 calculation.
11456 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
11457 transactoion is lock elision is built and TCB tm_capable is set.
11458 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11460 (INTERNAL_SYSCALL_NCS): Likewise.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
11462 (INTERNAL_SYSCALL_NCS): Likewise.
11463 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
11464
11465 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
11466 for powerpc.
11467 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11468 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
11469 and remove it for 32 bits case.
11470 [pthread_rwlock_t] (__rwelision): New field for lock elision.
11471 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
11472 initialization.
11473 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
11474 Disable lock elision with rdlocks if elision is not available.
11475
11476 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
11477 (sysdep_routines): Add lock elision objects.
11478 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11479 [pthread_mutex_t] (__spins): Rework to add lock elision field.
11480 [pthread_mutex_t] (__elision): Add field.
11481 [__PTHREAD_SPINS]: Adjust to init lock elision field.
11482 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
11483 elision definitions for powerpc.
11484 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
11485 implementation of lock elision for powerpc.
11486 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
11487 implementation of timed lock elision for powerpc.
11488 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
11489 implementation of trylock with lock elision for powerpc.
11490 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
11491 implementaion of unlock for lock elision for powerpc.
11492 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
11493 automatic enable lock elision for mutexes.
11494 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
11495 transaction execution definitions for powerpc.
11496 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
11497 definitions.
11498 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
11499 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
11500 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
11501 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
11502 * NEWS: Update.
11503
11504 2015-01-09 Roland McGrath <roland@hack.frob.com>
11505
11506 * sysdeps/posix/shm-directory.c: Use <> rather than ""
11507 for #include of <shm-directory.h>.
11508
11509 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
11510
11511 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
11512 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
11513
11514 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
11515
11516 [BZ #17791]
11517 * NEWS: Mention bug fix.
11518 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
11519 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
11520 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
11521
11522 2015-01-09 Torvald Riegel <triegel@redhat.com>
11523
11524 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
11525
11526 2015-01-09 Torvald Riegel <triegel@redhat.com>
11527
11528 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
11529
11530 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
11531
11532 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
11533 pointer and cast to uintptr_t.
11534
11535 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
11536
11537 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
11538 removed.
11539 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
11540
11541 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
11542
11543 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
11544 of 0.
11545
11546 2015-01-08 Roland McGrath <roland@hack.frob.com>
11547
11548 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
11549 <nptl/pthreadP.h> instead.
11550 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
11551
11552 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
11553 already defined.
11554 [__SIGRTMIN] (init): Function removed.
11555 [__SIGRTMIN] (initialized): Variable removed.
11556 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
11557 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
11558 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
11559 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
11560 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
11561 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
11562 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
11563 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
11564 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
11565 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
11566 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
11567 * sysdeps/nptl/allocrtsig.c: New file.
11568 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
11569 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
11570 * sysdeps/generic/testrtsig.h: File removed.
11571
11572 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
11573 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
11574
11575 * nptl/nptl-init.c (pthread_functions): Conditionalize
11576 .ptr__nptl_setxid initialization on [SIGSETXID].
11577
11578 * sysdeps/nptl/sys/procfs.h: New file.
11579 * nptl_db/Makefile (headers): Add it.
11580 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
11581
11582 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
11583 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
11584 * nptl/pthread_attr_setaffinity.c: Include it.
11585 * nptl/pthread_setattr_default_np.c: Likewise.
11586 * nptl/check-cpuset.h: New file.
11587
11588 2015-01-08 Richard Henderson <rth@redhat.com>
11589
11590 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
11591 (CFLAGS-tst-execstack-prog.c): Likewise.
11592 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
11593
11594 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
11595 Sandra Loosemore <sandra@codesourcery.com>
11596 Andrew Jenner <andrew@codesourcery.com>
11597 Joseph Myers <joseph@codesourcery.com>
11598 Nathan Sidwell <nathan@codesourcery.com>
11599
11600 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
11601 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
11602 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
11603 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
11604 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
11605 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
11606 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
11607 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
11608 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
11609 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
11610 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
11611 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
11612 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
11613 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
11614 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
11615 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
11616 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
11617
11618 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11619
11620 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
11621 timespec struct member in syscall macro.
11622 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
11623 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
11624 first timeval struct member in syscall macro.
11625 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
11626
11627 2015-01-07 Joseph Myers <joseph@codesourcery.com>
11628
11629 [BZ #17748]
11630 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
11631 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
11632 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
11633 __feupdateenv and define as weak alias of __feupdateenv. Use
11634 libm_hidden_weak.
11635 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
11636 libm_hidden_def.
11637 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
11638 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
11639 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11640 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
11641 libm_hidden_def.
11642 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
11643 __feupdateenv and define as weak alias of __feupdateenv. Use
11644 libm_hidden_weak.
11645 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
11646 libm_hidden_def.
11647 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
11648 __feupdateenv and define as weak alias of __feupdateenv. Use
11649 libm_hidden_weak.
11650 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
11651 libm_hidden_def.
11652 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11653 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11654 (__feupdateenv): Likewise.
11655 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
11656 __feupdateenv and define as weak alias of __feupdateenv. Use
11657 libm_hidden_weak.
11658 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11659 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
11660 libm_hidden_def.
11661 * sysdeps/tile/math_private.h (__feupdateenv): New inline
11662 function.
11663 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
11664 libm_hidden_def.
11665 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
11666 __feupdateenv instead of feupdateenv.
11667 (default_libc_feupdateenv_test): Likewise.
11668 (libc_feresetround_ctx): Likewise.
11669
11670 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11671
11672 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
11673 prototype.
11674
11675 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
11676
11677 * posix/regcomp.c (parse_bracket_exp): Initialize type to
11678 COLL_SYM in a couple of places to avoid uninitialized variable
11679 wanings on tilegx gcc 4.8.2.
11680
11681 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11682
11683 * sysdeps/aarch64/strcpy.S: New file.
11684 * sysdeps/aarch64/stpcpy.S: New file.
11685 * NEWS: Updated.
11686
11687 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
11688
11689 * sysdeps/aarch64/strrchr.S: New file.
11690 * NEWS: Updated.
11691
11692 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
11693
11694 [BZ #17658]
11695 * stdlib/setenv.c: Fix memory leak when setting large,
11696 duplicate string.
11697
11698 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
11699
11700 [BZ #17273]
11701 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
11702 and tabs from buffer before parsing fstab entry.
11703 * misc/tst-mntent.c (main): Add test for mount entry with
11704 trailing spaces and tabs.
11705
11706 2015-01-06 Joseph Myers <joseph@codesourcery.com>
11707
11708 [BZ #17748]
11709 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
11710 * math/fesetround.c (fesetround): Rename to __fesetround and
11711 define as weak alias of __fesetround. Use libm_hidden_weak.
11712 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
11713 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
11714 * sysdeps/arm/fesetround.c (fesetround): Likewise.
11715 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
11716 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
11717 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
11718 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
11719 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
11720 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
11721 __fesetround_inline.
11722 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
11723 __fesetround_inline instead of __fesetround.
11724 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
11725 __fesetround and define as weak alias of __fesetround. Use
11726 libm_hidden_weak. Call __fesetround_inline instead of
11727 __fesetround.
11728 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
11729 __fesetround and define as weak alias of __fesetround. Use
11730 libm_hidden_weak.
11731 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
11732 Likewise.
11733 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
11734 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
11735 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
11736 * sysdeps/tile/math_private.h (__fesetround): New inline function.
11737 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
11738 __fesetround and define as weak alias of __fesetround. Use
11739 libm_hidden_weak.
11740 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
11741 __fesetround instead of fesetround.
11742 (default_libc_feholdexcept_setround): Likewise.
11743 (libc_feholdsetround_ctx): Likewise.
11744 (libc_feholdsetround_noex_ctx): Likewise.
11745
11746 [BZ #17748]
11747 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
11748 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
11749 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11750 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11751 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11752 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
11753 define as weak alias of __fesetenv. Use libm_hidden_weak.
11754 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
11755 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11756 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11757 define as weak alias of __fesetenv. Use libm_hidden_weak.
11758 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11759 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11760 define as weak alias of __fesetenv. Use libm_hidden_weak.
11761 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
11762 libm_hidden_def.
11763 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
11764 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
11765 Likewise.
11766 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
11767 define as weak alias of __fesetenv. Use libm_hidden_weak.
11768 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
11769 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
11770 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
11771 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
11772 and define as weak alias of __fesetenv. Use libm_hidden_weak.
11773 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
11774 __fesetenv instead of fesetenv.
11775 (libc_feresetround_noex_ctx): Likewise.
11776 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
11777 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
11778 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
11779 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
11780 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
11781 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
11782 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11783 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
11784 (__feupdateenv): Likewise.
11785 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
11786 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
11787 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11788 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
11789
11790 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11791
11792 [BZ #17806]
11793 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
11794 addresses have been freed.
11795
11796 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
11797
11798 * resolv/res_init.c (__res_vinit): Improve comments about nserv
11799 and nservall.
11800
11801 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
11802
11803 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
11804 Clean up check_pf allocation pattern. addresses
11805
11806 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11807
11808 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
11809 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
11810 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11811 * nptl/pthread_exit.c (__pthread_exit): Likewise.
11812 * nptl/pthread_join.c (pthread_join): Likewise.
11813 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
11814 * sysdeps/posix/waitid.c (__waitid): Likewise.
11815 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
11816 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
11817 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
11818 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
11819 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
11820 Likewise.
11821 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
11822 (__libc_pread64): Likewise.
11823 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
11824 (__libc_pwrite): Likewise.
11825 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
11826 (__libc_pwrite64): Likewsie.
11827 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
11828 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
11829 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
11830 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
11831 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
11832 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
11833 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
11834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
11835 Likewise.
11836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
11837 (__libc_pread64): Likewise.
11838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
11839 Likewise.
11840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
11841 (__libc_pwrite64): Likewise.
11842 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
11843 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
11844 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
11845 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11846 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
11847 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
11848 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
11849 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
11850 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
11851 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
11852 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
11853 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
11854 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
11855 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
11856 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
11857 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
11858 Likewise.
11859
11860 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
11861
11862 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
11863 (CFLAGS-test-double.c): Likewise.
11864 (CFLAGS-test-ldouble.c): Likewise.
11865 (CPPFLAGS-test-ifloat.c): Likewise.
11866 (CPPFLAGS-test-idouble.c): Likewise.
11867 (CPPFLAGS-test-ildoubl.c): Likewise.
11868 (CFLAGS-test-test-fenv.c): Remove variable.
11869 (CFLAGS-test-misc.c): Likewise.
11870
11871 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
11872
11873 [BZ #17797]
11874 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
11875 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
11876 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
11877 CLOCKS_PER_SEC == 1000000.
11878 * time/clocktest.c (main): Replace %ld with %jd and cast to
11879 intmax_t.
11880
11881 2015-01-05 Roland McGrath <roland@hack.frob.com>
11882
11883 * sysdeps/generic/unwind-resume.h: New file.
11884 * sysdeps/gnu/unwind-resume.c: Include it.
11885 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
11886 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
11887 argument list.
11888 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
11889 global rather than static.
11890 (_Unwind_Resume): Update user.
11891 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
11892 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
11893 rather than static. Add __attribute__ ((cold)).
11894 (_Unwind_Resume, __gcc_personality_v0): Update callers.
11895 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
11896 * sysdeps/arm/arm-unwind-resume.S: New file.
11897 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
11898 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
11899 * sysdeps/arm/Makefile [$(subdir) = csu]
11900 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
11901 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11902 Add rt-arm-unwind-resume.
11903 [$(subdir) = nptl]
11904 (libpthread-sysdep_routines, libpthread-shared-only-routines):
11905 Add pt-arm-unwind-resume.
11906 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
11907 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
11908
11909 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11910
11911 [BZ #17748]
11912 * include/fenv.h (__feholdexcept): Declare. Use
11913 libm_hidden_proto.
11914 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
11915 define as weak alias of __feholdexcept. Use libm_hidden_weak.
11916 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11917 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
11918 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
11919 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
11920 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
11921 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11922 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
11923 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
11924 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11925 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
11926 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
11927 (feholdexcept): Likewise.
11928 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
11929 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
11930 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11931 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
11932 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
11933 __feholdexcept instead of feholdexcept.
11934 (default_libc_feholdexcept_setround): Likewise.
11935
11936 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11937
11938 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
11939 to avoid using stl/str to align destination.
11940
11941 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11942
11943 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
11944
11945 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11946
11947 [BZ #17796]
11948 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
11949 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
11950 Define as weak alias not strong alias.
11951
11952 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
11953
11954 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
11955 bltzal with addiupc.
11956 (RTLD_START): Ditto.
11957
11958 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
11959
11960 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
11961 for __vdso_* functions in declarations.
11962 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
11963 definitions.
11964 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
11965 INTERNAL_VSYSCALL): Use struct return types to check for error.
11966
11967 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
11968 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
11969 function with cast from llround().
11970 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
11971 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
11972 Define.
11973
11974 2015-01-05 Joseph Myers <joseph@codesourcery.com>
11975
11976 [BZ #17793]
11977 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
11978 Define as weak alias not strong alias.
11979
11980 [BZ #17635]
11981 * ctype/ctype-c99.c: New file. isblank implementation moved from
11982 ...
11983 * ctype/ctype-extn.c: ... here.
11984 (__isblank_l): Move to ...
11985 * ctype/ctype-c99_l.c: ... here. New file.
11986 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
11987 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
11988 Remove variable.
11989 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
11990 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
11991 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
11992 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
11993 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
11994
11995 [BZ #17777]
11996 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
11997 (posix_fadvise64): Define as weak alias not strong alias.
11998 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
11999 (posix_fallocate64): Likewise.
12000 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
12001 Remove variable.
12002 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
12003 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
12004 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
12005 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
12006 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
12007
12008 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
12009
12010 [BZ #16191]
12011 * NEWS: Mention bug fix.
12012 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
12013 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
12014 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
12015 (HOST_STACK_END_ADDR): Likewise.
12016
12017 2015-01-02 Joseph Myers <joseph@codesourcery.com>
12018
12019 [BZ #17748]
12020 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
12021 * math/fegetround.c (fegetround): Rename to __fegetround and
12022 define as weak alias of __fegetround. Use libm_hidden_weak.
12023 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
12024 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
12025 * sysdeps/arm/fegetround.c (fegetround): Likewise.
12026 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
12027 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12028 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
12029 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
12030 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
12031 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12032 Undefine after rather than before function definition; use
12033 parentheses around function name in definition.
12034 (__fegetround): Also undefine macro after function definition.
12035 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
12036 __fegetround and define as weak alias of __fegetround. Use
12037 libm_hidden_weak. Do not undefine as macro.
12038 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12039 Likewise.
12040 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
12041 __fegetround and define as weak alias of __fegetround. Use
12042 libm_hidden_weak.
12043 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12044 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12045 * sysdeps/tile/math_private.h (__fegetround): New inline function.
12046 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
12047 __fegetround and define as weak alias of __fegetround. Use
12048 libm_hidden_weak.
12049 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
12050 __fegetround instead of fegetround.
12051
12052 [BZ #17782]
12053 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
12054 Condition macro definition on [__USE_MISC].
12055
12056 [BZ #17781]
12057 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
12058 (struct sigaction): Change type of sa_flags field to int.
12059
12060 [BZ #17780]
12061 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
12062 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
12063 __glibc_reserved0.
12064
12065 * nptl/version.c (banner): Use single year in copyright notice.
12066
12067 * NEWS: Update copyright dates.
12068 * catgets/gencat.c (print_version): Likewise.
12069 * csu/version.c (banner): Likewise.
12070 * debug/catchsegv.sh: Likewise.
12071 * debug/pcprofiledump.c (print_version): Likewise.
12072 * debug/xtrace.sh (do_version): Likewise.
12073 * elf/ldconfig.c (print_version): Likewise.
12074 * elf/ldd.bash.in: Likewise.
12075 * elf/pldd.c (print_version): Likewise.
12076 * elf/sotruss.sh: Likewise.
12077 * elf/sprof.c (print_version): Likewise.
12078 * iconv/iconv_prog.c (print_version): Likewise.
12079 * iconv/iconvconfig.c (print_version): Likewise.
12080 * locale/programs/locale.c (print_version): Likewise.
12081 * locale/programs/localedef.c (print_version): Likewise.
12082 * login/programs/pt_chown.c (print_version): Likewise.
12083 * malloc/memusage.sh (do_version): Likewise.
12084 * malloc/memusagestat.c (print_version): Likewise.
12085 * malloc/mtrace.pl: Likewise.
12086 * manual/libc.texinfo: Likewise.
12087 * nptl/version.c (banner): Likewise.
12088 * nscd/nscd.c (print_version): Likewise.
12089 * nss/getent.c (print_version): Likewise.
12090 * nss/makedb.c (print_version): Likewise.
12091 * posix/getconf.c (main): Likewise.
12092 * scripts/test-installation.pl: Likewise.
12093 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
12094
12095 2015-01-02 Will Newton <will.newton@linaro.org>
12096
12097 * sysdeps/arm/armv7/configure: Removed.
12098 * sysdeps/arm/armv7/configure.ac: Likewise.
12099
12100 2015-01-02 Joseph Myers <joseph@codesourcery.com>
12101
12102 * All files with FSF copyright notices: Update copyright dates
12103 using scripts/update-copyrights.
12104 * intl/plural.c: Regenerated.
12105 * locale/programs/charmap-kw.h: Likewise.
12106 * locale/programs/locfile-kw.h: Likewise.
12107
12108 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12109
12110 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
12111
12112 2014-12-31 Joseph Myers <joseph@codesourcery.com>
12113
12114 [BZ #17748]
12115 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
12116 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
12117 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
12118 and define as weak alias of __fegetenv. Use libm_hidden_weak.
12119 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12120 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
12121 define as weak alias of __fegetenv. Use libm_hidden_weak.
12122 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
12123 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12124 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12125 define as weak alias of __fegetenv. Use libm_hidden_weak.
12126 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12127 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12128 define as weak alias of __fegetenv. Use libm_hidden_weak.
12129 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
12130 libm_hidden_def.
12131 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
12132 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
12133 Likewise.
12134 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
12135 define as weak alias of __fegetenv. Use libm_hidden_weak.
12136 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
12137 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
12138 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
12139 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
12140 and define as weak alias of __fegetenv. Use libm_hidden_weak.
12141 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
12142 __fegetenv instead of fegetenv.
12143 (libc_feholdsetround_noex_ctx): Likewise.
12144
12145 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
12146
12147 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
12148 (Elf_MIPS_ABIFlags_v0): New structure.
12149 (EF_MIPS_FP64): Define.
12150 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
12151 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
12152 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
12153 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
12154 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
12155 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
12156 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
12157 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
12158 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
12159 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
12160 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
12161 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
12162 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
12163 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
12164 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
12165 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
12166 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
12167 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
12168 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
12169 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
12170 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
12171 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
12172 field.
12173 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
12174 EF_MIPS_FP64.
12175 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
12176 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
12177 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
12178 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
12179 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
12180 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
12181 * sysdeps/mips/tst-abi-interlink.c: Likewise.
12182 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
12183 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
12184 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
12185 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
12186 record the current FP ABI extension.
12187 (mips-mode-switch): Define to show if kernel headers support mode
12188 switching.
12189 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
12190 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
12191 supported SYSV ABI version to 3.
12192 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
12193 feature.
12194
12195 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12196 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12197
12198 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
12199 path.
12200 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
12201
12202 2014-12-31 Joseph Myers <joseph@codesourcery.com>
12203
12204 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
12205 __fegetround and redefine to call __fegetround. Remove condition
12206 on [!__NO_MATH_INLINES].
12207 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
12208 function.
12209 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
12210 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12211 Remove macro.
12212 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
12213 instead of <fenv_libc.h>.
12214 (__llrintl): Call fegetround instead of __fegetround.
12215 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
12216 instead of <fenv_libc.h>.
12217 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
12218 (__lrintl): Call fegetround instead of __fegetround.
12219 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
12220 instead of <fenv_libc.h>.
12221 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
12222 (__rintl): Call fegetround instead of __fegetround.
12223
12224 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12225
12226 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
12227 arrays.
12228
12229 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
12230
12231 [BZ #17775]
12232 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
12233 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
12234 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
12235
12236 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
12237
12238 * sysdeps/i386/tls-macros.h: Include <features.h>.
12239 (TLS_LE): Use non-PIC version for GCC >= 5.0.
12240 (TLS_IE): Likewise.
12241 (TLS_LD): Likewise.
12242 (TLS_GD): Likewise.
12243 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
12244 define for GCC >= 5.0.
12245
12246 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
12247
12248 * math/test-fenv.c (test_single_exception, set_single_exc,
12249 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
12250 feexcp_mask_test, feenable_test, fe_single_test): Add
12251 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
12252 case where they are not used.
12253 * math/libm-test.inc: Likewise.
12254 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
12255 unused in the absence of FP rounding/exception support.
12256 * stdio-common/tst-printf-round.c: Likewise.
12257 * stdlib/tst-strtod-round.c: Likewise.
12258 * stdlib/tst-strtod-underflow.c: Likewise.
12259
12260 2014-12-30 Joseph Myers <joseph@codesourcery.com>
12261
12262 [BZ #17723]
12263 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
12264 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
12265 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12266 __feraiseexcept and define as weak alias of __feraiseexcept. Use
12267 libm_hidden_weak.
12268 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
12269 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12270 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
12271 libm_hidden_def.
12272 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12273 __feraiseexcept and define as weak alias of __feraiseexcept. Use
12274 libm_hidden_weak.
12275 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
12276 Likewise.
12277 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
12278 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12279 __feraiseexcept and define as weak alias of __feraiseexcept. Use
12280 libm_hidden_weak.
12281 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12282 libm_hidden_def.
12283 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12284 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
12285 (__feraiseexcept): Likewise.
12286 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
12287 __feraiseexcept and define as weak alias of __feraiseexcept. Use
12288 libm_hidden_weak.
12289 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
12290 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
12291 libm_hidden_def.
12292 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
12293 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
12294 Use libm_hidden_def.
12295 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
12296 libm_hidden_def.
12297 (feraiseexcept): Define as weak not strong alias. Use
12298 libm_hidden_weak.
12299 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
12300 New inline function. Factored out of ...
12301 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
12302 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
12303 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
12304 feraiseexcept.
12305 * math/w_acos.c (__acos): Likewise.
12306 * math/w_asin.c (__asin): Likewise.
12307 * math/w_ilogb.c (__ilogb): Likewise.
12308 * math/w_j0.c (y0): Likewise.
12309 * math/w_j1.c (y1): Likewise.
12310 * math/w_jn.c (yn): Likewise.
12311 * math/w_log.c (__log): Likewise.
12312 * math/w_log10.c (__log10): Likewise.
12313 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
12314 * sysdeps/aarch64/fpu/math_private.h
12315 (libc_feupdateenv_test_aarch64): Likewise.
12316 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
12317 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
12318 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
12319 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
12320 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
12321 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
12322 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
12323 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
12324 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
12325 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12326
12327 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
12328
12329 [BZ #17732]
12330 * io/test-utime.c (main): Replace %ld with %jd and cast to
12331 intmax_t.
12332 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
12333 * nptl/tst-mutex5.c: Include <stdint.h>.
12334 (do_test): Replace %ld with %jd and cast to intmax_t.
12335 * posix/tst-regex.c (run_test): Likewise.
12336 (run_test_backwards): Likewise.
12337 * rt/tst-clock.c: Include <stdint.h>.
12338 (clock_test): Replace %ld with %jd and cast to intmax_t.
12339 * rt/tst-cpuclock1.c: Include <stdint.h>.
12340 (do_test): Replace %lu with %ju and cast to uintmax_t.
12341 * rt/tst-cpuclock2.c: Include <stdint.h>.
12342 (do_test): Replace %lu with %ju and cast to uintmax_t.
12343 * rt/tst-mqueue1.c: Include <stdint.h>.
12344 (check_attrs): Replace %ld with %jd and cast to intmax_t.
12345 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
12346 intmax_t.
12347 * rt/tst-mqueue4.c (do_test): Likewise.
12348 * rt/tst-timer4.c: Include <stdint.h>.
12349 (check_ts): Replace %ld with %jd and cast to intmax_t.
12350 (do_test): Likewise.
12351 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
12352 and cast to intmax_t.
12353 * sysdeps/pthread/tst-timer.c (main): Likewise.
12354 * time/clocktest.c (main): Likewise.
12355 * time/tst-posixtz.c (do_test): Likewise.
12356 * timezone/tst-timezone.c (main): Likewise.
12357
12358 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
12359 H.J. Lu <hongjiu.lu@intel.com>
12360
12361 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
12362 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
12363 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
12364 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
12365 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
12366 version if bit_Fast_Unaligned_Load is set.
12367 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12368 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12369 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12370 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12371 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12372 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
12374 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
12375 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
12376 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
12377 to 4.
12378 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
12379 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
12380 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
12381 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
12382
12383 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
12384
12385 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
12386 instead of #if to avoid a Wundef warning.
12387 * stdlib/tst-limits.c (do_test): Likewise.
12388
12389 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
12390 parallel other exception macros.
12391 (fegetenv): Convert from macro to extern inline so that it applies
12392 retroactively to inline functions already seen by the compiler.
12393 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
12394
12395 * posix/Makefile (before-compile): Use $(objpfx) for
12396 posix-conf-vars-def.h.
12397
12398 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12399
12400 * posix/getconf.c (main): Use size_t for type of I.
12401 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
12402 NSPEC.
12403
12404 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
12405 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
12406 * posix/posix-envs.def: Likewise.
12407 * sysdeps/posix/sysconf.c: Likewise.
12408 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
12409 (specs): Remove array.
12410 * scripts/gen-posix-conf-vars.awk: Support generation of specs
12411 array.
12412
12413 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
12414 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
12415 (__sysconf): Use CONF_IS_* macros.
12416
12417 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
12418 ($(objpfx)posix-conf-vars-def.h): New target.
12419 * posix/posix-conf-vars.list: New file.
12420 * posix/posix-conf-vars.h: New file.
12421 * posix/confstr.c: Include posix-conf-vars.h.
12422 (confstr): Use CONF_IS_* macros.
12423 * posix/posix-envs.def: Include posix-conf-vars.h. Use
12424 CONF_IS_* macros.
12425 * scripts/gen-posix-conf-vars.awk: New file.
12426
12427 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
12428
12429 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
12430 fegetround): Add no-op macros to avoid linknamespace issues.
12431
12432 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
12433 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
12434
12435 * sysdeps/unix/sysv/linux/tile/sysdep.h
12436 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
12437 assembly-specific section to avoid a redefinition warning.
12438
12439 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
12440 long before casting to pointer to avoid a cast warning.
12441
12442 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
12443
12444 * sysdeps/tile/tilegx/Implies: New file.
12445
12446 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
12447
12448 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
12449
12450 2014-12-23 Florian Weimer <fweimer@redhat.com>
12451
12452 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
12453
12454 2014-12-22 Joseph Myers <joseph@codesourcery.com>
12455
12456 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
12457 not define.
12458 * sysdeps/unix/sysv/linux/utimes.c: Do not include
12459 <kernel-features.h>.
12460 (__utimes) [__NR_utimes]: Make code unconditional.
12461 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
12462 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12463 (__ASSUME_UTIMES): Do not undefine.
12464 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12465 (__ASSUME_UTIMES): Likewise.
12466 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12467 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
12468 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
12469 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
12470
12471 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
12472
12473 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
12474
12475 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
12476
12477 [BZ #17747]
12478 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
12479 alias to weak alias for j0l, y0l.
12480 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
12481 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
12482
12483 [BZ #17746]
12484 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
12485 conversion.
12486
12487 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
12488
12489 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
12490 to zero if not already defined.
12491
12492 2014-12-22 Joseph Myers <joseph@codesourcery.com>
12493
12494 [BZ #17724]
12495 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
12496 (__kernel_standard_f): Remove. Moved to k_standardf.c.
12497 (__kernel_standard_l): Remove. Moved to k_standardl.c with
12498 (char *) casts added.
12499 * sysdeps/ieee754/k_standardf.c: New file.
12500 * sysdeps/ieee754/k_standardl.c: Likewise.
12501 * math/Makefile (libm-support): Remove k_standard.
12502 (libm-calls): Add k_standard.
12503
12504 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12505
12506 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
12507 Optimize to avoid an unnecessary FPCR read.
12508
12509 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12510
12511 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
12512 Optimize to reduce FPCR/FPSR accesses.
12513
12514 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12515
12516 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
12517 Call libc_fetestexcept_aarch64.
12518
12519 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
12520
12521 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
12522 Call libc_fesetround_aarch64.
12523
12524 2014-12-22 Joseph Myers <joseph@codesourcery.com>
12525
12526 [BZ #17733]
12527 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
12528 (__bind): Do not define as weak alias.
12529 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
12530 define.
12531 (__getsockname): Do not define as weak alias.
12532
12533 2014-12-22 Will Newton <will.newton@linaro.org>
12534
12535 * manual/install.texi: Document that we require bison 2.7
12536 or above.
12537 * INSTALL: Regenerate.
12538 * configure.ac: Use AC_CHECK_PROG_VER instead of
12539 AC_PATH_PROG when checking for bison and check for
12540 version 2.7 or above.
12541 * configure: Regenerate.
12542
12543 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
12544
12545 [BZ #17745]
12546 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
12547 * sysdeps/tile/ffsll.c (ffsll): To here.
12548
12549 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
12550
12551 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12552
12553 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
12554 if not defined.
12555 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
12556 definition.
12557 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12558 hidden ___tls_get_addr.
12559 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
12560 hidden __tls_get_addr.
12561 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
12562 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
12563 Likewise.
12564
12565 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
12566
12567 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
12568 _dl_init call.
12569
12570 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
12571
12572 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
12573 from "call _dl_init@PLT".
12574 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
12575
12576 2014-12-21 Anders Kaseorg <andersk@mit.edu>
12577
12578 * manual/search.texi: (Array Sort Function): Clarify stable sorting
12579 guarantees.
12580
12581 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
12582
12583 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
12584
12585 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12586
12587 [BZ #17744]
12588 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
12589 strnlen.
12590
12591 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12592
12593 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
12594 of multu on MIPSr6.
12595 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
12596 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
12597 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
12598 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
12599 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
12600
12601 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
12602
12603 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
12604 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
12605 (PTR_SUBU): Use subu for mips32r6/mips64r6.
12606 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
12607 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
12608 mips32r6/mips64r6.
12609 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
12610
12611 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
12612
12613 * string/strncat.c (STRNCAT): Simplify implementation.
12614
12615 2014-12-19 David S. Miller <davem@davemloft.net>
12616
12617 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
12618 access the quad as both a long double and as a series of 4 words.
12619
12620 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
12621 link_map->l_info array access.
12622
12623 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
12624
12625 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
12626
12627 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
12628 * math/atest-exp2.c (TIMEOUT): Likewise.
12629 * math/atest-sincos.c (TIMEOUT): Likewise.
12630
12631 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12632
12633 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
12634 -Wno-error with -fno-builtin-lround.
12635
12636 2014-12-19 Torvald Riegel <triegel@redhat.com>
12637
12638 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
12639 Contains futex constants and functions moved over from ...
12640 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
12641 <lowlevellock-futex.h>.
12642 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12643 (lll_timedwait_tid): Add comments and parentheses around macro
12644 arguments.
12645
12646 2014-12-19 Torvald Riegel <triegel@redhat.com>
12647
12648 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
12649 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
12650 (__lll_private_flag): Remove.
12651 (lll_futex_wait): Likewise.
12652 (lll_futex_timed_wait): Likewise.
12653 (lll_futex_wake): Likewise.
12654 (lll_futex_requeue): Likewise.
12655 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
12656 (__lll_timedwait_tid): Spell out argument names.
12657 (lll_timedwait_tid): Add comments and parentheses around macro
12658 arguments.
12659 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
12660 LLL_SHARED and LLL_PRIVATE usable from assembly code.
12661
12662 2014-12-19 Torvald Riegel <triegel@redhat.com>
12663
12664 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
12665 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
12666 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
12667 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
12668 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
12669 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
12670 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
12671 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
12672 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
12673 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
12674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
12675 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
12676 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
12677 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
12678 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
12679 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
12680 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
12681 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
12682 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
12683
12684 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12685
12686 * sysdeps/x86_64/x32/Makefile: New file.
12687
12688 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
12689
12690 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
12691 1L with (mp_limb_t) 1.
12692
12693 2014-12-17 Roland McGrath <roland@hack.frob.com>
12694
12695 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
12696 * nptl/libc_pthread_init.c: ... here.
12697 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
12698 * nptl/register-atfork.c: ... here.
12699
12700 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
12701 Use pthread_sigmask rather than INTERNAL_SYSCALL.
12702 Use assert_perror to check its return value.
12703 (__gai_create_helper_thread): Likewise.
12704
12705 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
12706
12707 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
12708
12709 2014-12-17 Joseph Myers <joseph@codesourcery.com>
12710
12711 [BZ #17725]
12712 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
12713 __profil_counter.
12714 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
12715 Likewise.
12716 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
12717 Likewise.
12718 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
12719 Likewise.
12720 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
12721 (profil_counter): Likewise.
12722 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
12723 (profil_counter): Likewise.
12724 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
12725 Likewise.
12726 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
12727 Likewise.
12728 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
12729 (profil_counter): Likewise.
12730 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
12731 Likewise.
12732 [!__profil_counter] (profil_counter): Define as weak alias of
12733 __profil_counter.
12734 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
12735 (profil_counter): Rename to __profil_counter.
12736 [!__profil_counter] (profil_counter): Define as weak alias of
12737 __profil_counter.
12738 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
12739 (profil_counter): Rename to __profil_counter.
12740 [!__profil_counter] (profil_counter): Define as weak alias of
12741 __profil_counter.
12742 * sysdeps/posix/profil.c: Update comment referring to
12743 profil_counter.
12744 (__profil): Use __profil_counter instead of profil_counter.
12745 * sysdeps/posix/sprofil.c (profil_counter): Rename to
12746 __profil_counter. Use __profil_counter_ushort and
12747 __profil_counter_uint in definitions.
12748 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
12749 instead of profil_counter_uint and profil_counter_ushort.
12750
12751 [BZ #17722]
12752 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
12753 define as weak alias of __inet_makeaddr.
12754 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
12755 as weak alias of __inet_addr.
12756 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
12757 as weak alias of __inet_pton. Use libc_hidden_weak.
12758 * include/arpa/inet.h (__inet_pton): Declare. Use
12759 libc_hidden_proto.
12760 (inet_makeaddr): Don't use libc_hidden_proto.
12761 (__inet_makeaddr): Declare. Use libc_hidden_proto.
12762 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
12763 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
12764 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
12765 Remove variable.
12766 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
12767 (test-xfail-POSIX/time.h/linknamespace): Likewise.
12768
12769 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
12770
12771 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
12772
12773 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12774
12775 * stdio-common/bug-vfprintf-nargs.c (do_test):
12776 Cast value to intptr_t to avoid format warning
12777 for usage with PRIdPTR printing macro.
12778
12779 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
12780
12781 * libio/tst-widetext.c (do_test):
12782 Use format type %td instead of %Zd for ptrdiff_t
12783 in order to avoid format warning.
12784
12785 2014-12-17 Andreas Schwab <schwab@suse.de>
12786
12787 * nscd/mem.c (gc): Add size_t cast to match printf format.
12788
12789 2014-12-16 Roland McGrath <roland@hack.frob.com>
12790
12791 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
12792 (init): Apply PTR_MANGLE to pointers before storing them.
12793 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
12794 before using them.
12795
12796 2014-12-16 Joseph Myers <joseph@codesourcery.com>
12797
12798 [BZ #17719]
12799 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
12800 define as weak alias of __memrchr.
12801 (__memrchr): Do not define as strong alias of memrchr.
12802 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
12803 Remove variable.
12804 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
12805 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
12806 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
12807
12808 [BZ #17717]
12809 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
12810 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
12811 (if_indextoname): Rename to __if_indextoname and define as weak
12812 alias of __if_indextoname. Use libc_hidden_weak.
12813 (if_freenameindex): Rename to __if_freenameindex and define as
12814 weak alias of __if_freenameindex.
12815 (if_nameindex): Rename to __if_nameindex and define as weak alias
12816 of __if_nameindex.
12817 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
12818 __if_nametoindex and define as weak alias of __if_nametoindex.
12819 Use libc_hidden_weak.
12820 (if_freenameindex): Rename to __if_freenameindex and define as
12821 weak alias of __if_freenameindex.
12822 (if_nameindex): Rename to __if_nameindex and define as weak alias
12823 of __if_nameindex.
12824 (if_indextoname): Rename to __if_indextoname and define as weak
12825 alias of __if_indextoname. Use libc_hidden_weak.
12826 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
12827 __if_nametoindex and define as weak alias of __if_nametoindex.
12828 Use libc_hidden_weak.
12829 (if_freenameindex): Rename to __if_freenameindex and define as
12830 weak alias of __if_freenameindex. Use libc_hidden_weak.
12831 (if_nameindex_netlink): Use __if_freenameindex instead of
12832 if_freenameindex.
12833 (if_nameindex): Rename to __if_nameindex and define as weak alias
12834 of __if_nameindex. Use libc_hidden_weak.
12835 (if_indextoname): Rename to __if_indextoname and define as weak
12836 alias of __if_indextoname. Use libc_hidden_weak.
12837 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
12838 libc_hidden_proto.
12839 [!_ISOMAC] (__if_freenameindex): Likewise.
12840 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
12841 if_nametoindex.
12842 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
12843 variable.
12844 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
12845 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
12846 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
12847 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
12848 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
12849 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
12850 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
12851
12852 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
12853 Remove variable.
12854 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
12855 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
12856
12857 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
12858
12859 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
12860 subscript above bounds'
12861
12862 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
12863 bounds.
12864
12865 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
12866
12867 * libio/tst-fopenloc.c: Use test-skeleton.c.
12868
12869 * stdlib/tst-bsearch.c: Use test-skeleton.c.
12870 (entry): Rename to ITEM.
12871 (do_test, comp): Adjust.
12872
12873 * stdio-common/tst-fseek.c: Use test-skeleton.c.
12874
12875 2014-12-16 Torvald Riegel <triegel@redhat.com>
12876
12877 * string/tester.c: Include <libc-internal.h>.
12878 (test_memset): Ignore -Wmemset-transposed-args.
12879
12880 2014-12-16 Torvald Riegel <triegel@redhat.com>
12881
12882 * misc/tst-mntent2.c (do_test): Fix warning.
12883
12884 2014-12-16 Torvald Riegel <triegel@redhat.com>
12885
12886 * elf/tst-unique4lib.cc(a): Mark as used.
12887
12888 2014-12-16 Florian Weimer <fweimer@redhat.com>
12889
12890 [BZ #17630]
12891 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
12892 names.
12893
12894 2014-12-16 Allan McRae <allan@archlinux.org>
12895
12896 * stdio-common/Makefile (tests): Re-add bug26.
12897
12898 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
12899
12900 [BZ #17657]
12901 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
12902 static array.
12903
12904 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
12905
12906 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
12907 (__lll_lock_wait): Likewise.
12908 (__lll_timedlock_wait): Likewise.
12909 (__lll_timedwait_tid): Likewise.
12910 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
12911 (__lll_robust_timedlock_wait): Likewise.
12912 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
12913 (lll_cond_trylock): Likewise.
12914 (__lll_lock): Likewise.
12915 (__lll_robust_lock): Likewise.
12916 (__lll_cond_lock): Likewise.
12917 (lll_robust_cond_lock): Likewise.
12918 (__lll_timedlock): Likewise.
12919 (__lll_robust_timedlock): Likewise.
12920 (__lll_unlock): Likewise.
12921 (__lll_robust_unlock): Likewise.
12922 (lll_wait_tid): Likewise.
12923 (lll_timedwait_tid): Likewise.
12924
12925 2014-12-15 Torvald Riegel <triegel@redhat.com>
12926
12927 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
12928
12929 2014-12-15 Torvald Riegel <triegel@redhat.com>
12930
12931 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
12932
12933 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
12934
12935 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
12936 * stdio-common/tst-sprintf.c: Likewise.
12937
12938 2014-12-15 Torvald Riegel <triegel@redhat.com>
12939
12940 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
12941
12942 2014-12-15 Jeff Law <law@redhat.com>
12943
12944 [BZ #16617]
12945 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
12946 on the heap. (CVE-2012-3406)
12947 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
12948 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
12949 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
12950
12951 2014-12-15 Will Newton <will.newton@linaro.org>
12952
12953 * manual/install.texi: Bump required version of texinfo
12954 to 4.7 from 4.5.
12955 * INSTALL: Regenerated.
12956 * configure.ac: Check for makeinfo version 4.7 and above.
12957 * configure: Regenerated.
12958
12959 2014-12-12 Roland McGrath <roland@hack.frob.com>
12960
12961 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
12962 PREFIX, string constant to insert between directory and name.
12963 * sysdeps/posix/shm_open.c: Update caller.
12964 * sysdeps/posix/shm_unlink.c: Likewise.
12965 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
12966 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
12967 (SEM_SHM_PREFIX): New macro.
12968 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
12969 [$(have-thread-library) = no].
12970 * nptl/Makefile (libpthread-routines): Add shm-directory.
12971 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
12972 * sysdeps/nptl/shm-directory.h: New file.
12973 * sysdeps/posix/shm-directory.c
12974 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
12975 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
12976 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
12977 INTERNAL_SYSCALL.
12978 (__where_is_shmfs): Function removed.
12979 (mountpoint, defaultmount, defaultdir, __namedsem_once):
12980 Variables removed.
12981 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
12982 Use SHM_GET_NAME.
12983 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
12984
12985 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
12986 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
12987 unconditional for use inside libpthread.
12988 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
12989
12990 2014-12-12 Roland McGrath <roland@hack.frob.com>
12991
12992 * nptl/pthread_getaffinity.c: New file.
12993 * nptl/pthread_setaffinity.c: New file.
12994 * nptl/pthread_getname.c: New file.
12995 * nptl/pthread_setname.c: New file.
12996
12997 * nptl/pthread_create.c (START_THREAD_DEFN)
12998 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
12999
13000 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13001 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13002
13003 * resolv/res_send.c (send_vc): Disable warning resplen may
13004 be used uninitialized.
13005
13006 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
13007
13008 * nptl/tst-mutex6.c
13009 (ATTR_NULL): New define checks ATTR against NULL.
13010 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
13011 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
13012
13013 2014-12-11 James Lemke <jwlemke@codesourcery.com>
13014
13015 [BZ #17581]
13016 * malloc/hooks.c
13017 (mem2mem_check): Revert my previous change.
13018 (malloc_check_get_size): Revert my previous change.
13019 (mem2chunk_check): Revert my previous change.
13020
13021 2014-12-11 Roland McGrath <roland@hack.frob.com>
13022
13023 * sysdeps/posix/shm-directory.c: New file.
13024 * sysdeps/posix/shm-directory.h: New file.
13025 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
13026 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
13027 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
13028 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
13029 Transmute EPERM to EACCES.
13030 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
13031 from ...
13032 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
13033 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
13034
13035 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
13036
13037 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
13038 pointer and cast to uintptr_t.
13039 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
13040 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
13041 Add cast to avoid warning.
13042 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
13043
13044 2014-12-11 Joseph Myers <joseph@codesourcery.com>
13045
13046 * nptl/semaphore.h: Move to ...
13047 * sysdeps/pthread/semaphore.h: ... here.
13048 * Makefile (installed-headers): Change nptl/semaphore.h to
13049 sysdeps/pthread/semaphore.h.
13050
13051 2014-12-11 Roland McGrath <roland@hack.frob.com>
13052
13053 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
13054 generated error format strings.
13055
13056 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
13057 -Wformat-extra-args warnings for scanf formats.
13058 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
13059 test of zero-length format (duh).
13060 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
13061 corner-case scanf format test.
13062 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
13063 generated fprintf format string.
13064 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
13065 corner-case sprintf format tests.
13066 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
13067 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
13068 -Wformat-extra-args warnings throughout.
13069 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
13070 (CFLAGS-scanf4.c): Likewise.
13071 (CFLAGS-scanf7.c): Likewise.
13072 (CFLAGS-tst-sprintf.c): Likewise.
13073 (CFLAGS-tst-printf.c): Likewise.
13074 (CFLAGS-tst-printfsz.c): Likewise.
13075
13076 2014-12-11 Joseph Myers <joseph@codesourcery.com>
13077
13078 * include/cpio.h: New file.
13079 * include/fmtmsg.h: Likewise.
13080
13081 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
13082 corresponding format argument to size_t.
13083 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
13084 arguments.
13085 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
13086 corresponding format argument to size_t.
13087 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
13088 arguments.
13089 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
13090 corresponding format argument to size_t.
13091 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
13092 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
13093 (CFLAGS-tst-mbswcs2.c): Likewise.
13094 (CFLAGS-tst-mbswcs3.c): Likewise.
13095 (CFLAGS-tst-mbswcs4.c): Likewise.
13096 (CFLAGS-tst-mbswcs5.c): Likewise.
13097 (CFLAGS-tst-trans.c): Likewise
13098
13099 2014-12-11 Roland McGrath <roland@hack.frob.com>
13100
13101 * posix/regexbug1.c (main): Use "%s" format with regerror results,
13102 rather than assuming they won't contain any '%'s.
13103
13104 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
13105
13106 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
13107 inhibit_loop_to_libcall to avoid recursive calls.
13108 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
13109 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
13110
13111 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
13112
13113 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
13114 prototype.
13115
13116 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
13117
13118 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
13119 integer value instead of boolean.
13120
13121 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
13122
13123 * malloc/malloc.c: Fix powerof2 check.
13124
13125 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13126
13127 * locale/programs/locfile.h (maybe_swap_uint32):
13128 Remove inline and add unused attribute.
13129
13130 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13131
13132 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
13133 Truncating assembler expression to a .long expression.
13134
13135 2014-12-11 Andreas Schwab <schwab@suse.de>
13136
13137 * elf/rtld.c (struct map_args): Constify str member.
13138 (do_preload): Constify fname argument.
13139
13140 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13141
13142 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
13143 constants definition.
13144
13145 2014-12-11 Andreas Schwab <schwab@suse.de>
13146
13147 [BZ #16657]
13148 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
13149 FORCE_ELISION instead of DO_ELISION.
13150 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
13151 Remove.
13152 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
13153 Likewise.
13154
13155 * iconvdata/gconv-modules: Remove duplicate entry.
13156
13157 2014-12-11 Will Newton <will.newton@linaro.org>
13158
13159 Merge gettext 0.19.3 into intl/.
13160
13161 This involves a number of cosmetic changes to comments
13162 and ANSI function definitions and prototypes throughout
13163 all the files. The gettext copyright header is used but
13164 with the date ranges taken from the glibc copy.
13165
13166 * NEWS: Add gettext merge to 2.21.
13167 * intl/bindtextdom.c: Switch to gettext copyright.
13168 Use ANSI definitions and prototypes.
13169 Use gl_* locking primitives rather than __libc_* ones.
13170 Use __builtin_expect rather than __glibc_likely/unlikely.
13171 * intl/dcgettext.c: Switch to gettext copyright.
13172 Use ANSI definitions and prototypes.
13173 * intl/dcigettext.c: Switch to gettext copyright.
13174 Use ANSI definitions and prototypes.
13175 (INTDIV0_RAISES_SIGFPE): New define.
13176 Use gl_* locking primitives rather than __libc_* ones.
13177 Include eval-plural.h instead of plural-eval.c.
13178 Use __builtin_expect rather than __glibc_likely/unlikely.
13179 * intl/dcngettext.c: Switch to gettext copyright.
13180 Use ANSI definitions and prototypes.
13181 * intl/dgettext.c: Likewise.
13182 * intl/dngettext.c: Likewise.
13183 * intl/plural-eval.c: Renamed to...
13184 * intl/eval-plural.h: ...this.
13185 * intl/explodename.c: Switch to gettext copyright.
13186 Use ANSI definitions and prototypes.
13187 (_nl_explode_name): Use strchr instead of __rawmemchr.
13188 * intl/finddomain.c: Switch to gettext copyright.
13189 Use ANSI definitions and prototypes.
13190 Use gl_* locking primitives rather than __libc_* ones.
13191 (_nl_find_domain): Use malloc rather than alloca for
13192 allocation of temporary locale name.
13193 * intl/gettext.c: Switch to gettext copyright.
13194 Use ANSI definitions and prototypes.
13195 * intl/gettextP.h: Switch to gettext copyright.
13196 Use ANSI definitions and prototypes.
13197 Use gl_* locking primitives rather than __libc_* ones.
13198 * intl/gmo.h: Switch to gettext copyright.
13199 (struct sysdep_string): Move struct segment_pair outside of
13200 struct definition.
13201 * intl/hash-string.c: Use ANSI definitions and prototypes.
13202 * intl/hash-string.h: Switch to gettext copyright.
13203 Use ANSI definitions and prototypes.
13204 * intl/l10nflist.c: Switch to gettext copyright.
13205 Use ANSI definitions and prototypes.
13206 (_nl_normalize_codeset): Avoid integer overflow.
13207 * intl/loadinfo.h: Switch to gettext copyright.
13208 Use ANSI definitions and prototypes.
13209 (LIBINTL_DLL_EXPORTED): New define.
13210 (PATH_SEPARATOR): New define.
13211 * intl/loadmsgcat.c: Switch to gettext copyright.
13212 * intl/localealias.c: Switch to gettext copyright.
13213 Use ANSI definitions and prototypes.
13214 (_nl_expand_alias): Use PATH_SEPARATOR.
13215 * intl/ngettext.c: Switch to gettext copyright.
13216 Use ANSI definitions and prototypes.
13217 * intl/plural-exp.c: Likewise.
13218 * intl/plural-exp.h: Switch to gettext copyright.
13219 Use ANSI definitions and prototypes.
13220 (struct expression): Move definition of enum operator outside
13221 of struct definition.
13222 * intl/plural.c: Regenerate.
13223 * intl/plural.y: Switch to gettext copyright.
13224 Use ANSI definitions and prototypes.
13225 Port to bison 3.0.
13226 * intl/textdomain.c: Switch to gettext copyright.
13227 Use ANSI definitions and prototypes.
13228 Use gl_* locking primitives rather than __libc_* ones.
13229
13230 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
13231
13232 * debug/warning-nop.c: Add used atrribute.
13233
13234 2014-12-10 Joseph Myers <joseph@codesourcery.com>
13235
13236 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
13237
13238 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
13239 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
13240 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
13241
13242 2014-12-10 Joseph Myers <joseph@codesourcery.com>
13243 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13244
13245 [BZ #17634]
13246 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
13247 Undefine after defining function. Define as weak alias of
13248 __wcschr. Use libc_hidden_weak.
13249 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
13250 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
13251 (libc_hidden_def): Also define __GI___wcschr alias.
13252 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
13253 __wcschr and define as weak alias of __wcschr.
13254 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
13255 __wcschr.
13256 [!WCSCHR] (DEFAULT_WCSCHR): Define.
13257 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
13258 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
13259 libc_hidden_weak. Do not use libc_hidden_def.
13260 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
13261 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
13262 __GI___wcschr alias.
13263 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
13264 [IS_IN (libc)] (wcschr): Define as macro expanding to
13265 __redirect_wcschr.
13266 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
13267 [IS_IN (libc)] (__wcschr_power6): Likewise.
13268 [IS_IN (libc)] (__wcschr_power7): Likewise.
13269 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
13270 instead of wcschr.
13271 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
13272 __libc_wcschr.
13273 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
13274 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
13275 __wcschr and define as weak alias of __wcschr. Use
13276 libc_hidden_builtin_def.
13277 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
13278 as weak alias of __wcschr. Use libc_hidden_weak.
13279 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
13280 wcschr.
13281 * time/era.c (_nl_init_era_entries): Likewise.
13282 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
13283 variable.
13284 (test-xfail-XPG3/time.h/linknamespace): Likewise.
13285 (test-xfail-XPG4/time.h/linknamespace): Likewise.
13286
13287 2014-12-10 Joseph Myers <joseph@codesourcery.com>
13288
13289 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
13290 format for long int variable.
13291
13292 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
13293
13294 [BZ #10672]
13295 * manual/search.texi: (Array Sort Function): Remove claim how to make
13296 qsort stable.
13297
13298 2014-12-10 Andreas Schwab <schwab@suse.de>
13299
13300 [BZ #12847]
13301 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
13302 user-controlled locks.
13303
13304 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
13305
13306 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
13307 register.
13308
13309 2014-12-10 Joseph Myers <joseph@codesourcery.com>
13310
13311 * configure.ac (--disable-werror): New configure option.
13312 (enable_werror): New AC_SUBST.
13313 * configure: Regenerated.
13314 * config.make.in (enable-werror): New variable.
13315 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
13316 -Wno-error=undef.
13317 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
13318 * manual/install.texi (Configuring and compiling): Document
13319 --disable-werror.
13320 * INSTALL: Regenerated.
13321 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
13322 (CFLAGS-tst-chk2.c): Likewise.
13323 (CFLAGS-tst-chk3.c): Likewise.
13324 (CFLAGS-tst-chk4.cc): Likewise.
13325 (CFLAGS-tst-chk5.cc): Likewise.
13326 (CFLAGS-tst-chk6.cc): Likewise.
13327 (CFLAGS-tst-lfschk1.c): Likewise.
13328 (CFLAGS-tst-lfschk2.c): Likewise.
13329 (CFLAGS-tst-lfschk3.c): Likewise.
13330 (CFLAGS-tst-lfschk4.cc): Likewise.
13331 (CFLAGS-tst-lfschk5.cc): Likewise.
13332 (CFLAGS-tst-lfschk6.cc): Likewise.
13333
13334 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
13335 (main): Disable -Wdeprecated-declarations around calls to
13336 register_printf_function.
13337
13338 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
13339 (do_test): Disable -Wdiv-by-zero around some calls to
13340 fwrite_unlocked and fread_unlocked.
13341
13342 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
13343 (DIAG_POP_NEEDS_COMMENT): Likewise.
13344 (_DIAG_STR1): Likewise.
13345 (_DIAG_STR): Likewise.
13346 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
13347 * stdio-common/bug21.c: Include <libc-internal.h>.
13348 (do_test): Disable -Wformat around call to sscanf.
13349 * stdio-common/scanf14.c: Include <libc-internal.h>.
13350 (main): Disable -Wformat around some calls to scanf functions.
13351
13352 2014-12-09 Torvald Riegel <triegel@redhat.com>
13353
13354 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
13355
13356 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13357
13358 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
13359 stack variable alignment.
13360
13361 2014-12-06 Joseph Myers <joseph@codesourcery.com>
13362
13363 [BZ #17682]
13364 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
13365 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
13366 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
13367 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
13368 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
13369 __getrlimit instead of getrlimit.
13370 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
13371 __gettimeofday instead of gettimeofday.
13372 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13373 Likewise.
13374 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13375 Likewise.
13376 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
13377 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
13378 Remove variable.
13379 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
13380 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
13381
13382 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13383
13384 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
13385 for wide-character tests.
13386
13387 2014-12-04 Roland McGrath <roland@hack.frob.com>
13388
13389 * io/openat64.c: #include <libc-internal.h>
13390 (__openat64): Prototypify. Use ignore_value on MODE.
13391 * io/openat.c: Likewise.
13392 * misc/reboot.c: #include <libc-internal.h>
13393 (reboot): Prototypify. Use ignore_value on HOWTO.
13394 * misc/ptrace.c: #include <libc-internal.h>
13395 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
13396
13397 2014-12-04 Joseph Myers <joseph@codesourcery.com>
13398
13399 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
13400 XPG4, UNIX98 and XOPEN2K.
13401 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
13402 Remove variable.
13403 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
13404
13405 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
13406
13407 * libio/fileops.c: Use ISO C style for function definitions.
13408 * libio/iofopen.c: Likewise.
13409 * libio/wfileops.c: Likewise.
13410
13411 [BZ #17653]
13412 * libio/fileops.c (_IO_new_file_underflow): Unset cached
13413 offset on EOF.
13414 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
13415 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
13416 (fgets_func): Function pointer to fgets and fgetws.
13417 (do_ftell_test): Add test to verify ftell value after read
13418 EOF.
13419 (do_test): Set fgets_func.
13420
13421 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
13422 O_TRUNC flag for w and w+ modes.
13423 (do_rewind_test): Likewise.
13424 (do_ftell_test): Likewise.
13425 (do_write_test): Likewise.
13426
13427 [BZ #17647]
13428 * libio/fileops.c (do_ftell): Seek only when there are
13429 unflushed writes.
13430 * libio/wfileops.c (do_ftell_wide): Likewise.
13431 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
13432 test case.
13433 (do_one_test): Call it.
13434
13435 2014-12-03 Joseph Myers <joseph@codesourcery.com>
13436
13437 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
13438 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
13439 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
13440 Remove variable.
13441 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
13442 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
13443 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
13444
13445 2014-12-02 Joseph Myers <joseph@codesourcery.com>
13446
13447 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
13448 Remove variable.
13449 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
13450
13451 [BZ #17668]
13452 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
13453 as weak alias of __getifaddrs. Use libc_hidden_weak.
13454 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13455 __freeifaddrs. Use libc_hidden_weak.
13456 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
13457 define as weak alias of __getifaddrs. Use libc_hidden_weak.
13458 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13459 __freeifaddrs. Use libc_hidden_weak.
13460 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
13461 __getifaddrs and define as weak alias of __getifaddrs. Use
13462 libc_hidden_weak.
13463 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
13464 __freeifaddrs. Use libc_hidden_weak.
13465 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
13466 Remove variable.
13467 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
13468 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
13469
13470 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
13471
13472 [BZ #17601]
13473 * sysdeps/mips/start.S (__start): Use indirect jump to call
13474 __libc_start_main.
13475
13476 2014-12-02 Joseph Myers <joseph@codesourcery.com>
13477
13478 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
13479
13480 * nptl/tst-mutex1.c: Include <stdbool.h>.
13481 [!ATTR] (ATTR_NULL): New macro.
13482 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
13483 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
13484 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
13485
13486 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
13487 to char *.
13488
13489 [BZ #17665]
13490 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
13491 Change conditional to [__USE_MISC].
13492
13493 [BZ #17664]
13494 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
13495 fgets_unlocked.
13496 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
13497 __fgets_unlocked.
13498 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
13499 fgets_unlocked.
13500 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
13501 Remove variable.
13502 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
13503 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
13504 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
13505 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
13506 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
13507 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
13508 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
13509 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
13510 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
13511
13512 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
13513
13514 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13515
13516 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13517 Remove strpbrk objects.
13518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13519 (__libc_ifunc_impl_list): Remove strpbrk implementation.
13520 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
13521 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
13522 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
13523 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
13524
13525 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13526 Remove strcspn objects.
13527 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13528 (__libc_ifunc_impl_list): Remove strcspn implementation.
13529 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
13530 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
13531 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
13532 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
13533
13534 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
13535 Remove strspn objetcs.
13536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
13537 (__libc_ifunc_impl_list): Remove strspn implementation.
13538 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
13539 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13540 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
13541 * sysdeps/powerpc/powerpc64/strspn.S: New file.
13542
13543 2014-12-01 James Lemke <jwlemke@codesourcery.com>
13544
13545 [BZ #17581]
13546 * malloc/hooks.c
13547 (mem2mem_check): Add a terminator to the chain of checking blocks.
13548 (malloc_check_get_size): Use it here.
13549 (mem2chunk_check): Ditto.
13550
13551 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13552
13553 * sysdeps/powerpc/powerpc64/strtok.S: New file.
13554 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
13555
13556 2014-11-29 Carlos O'Donell <carlos@redhat.com>
13557
13558 * bits/ioctl-types.h: Indent preprocessor directives correctly.
13559
13560 * nptl/nptl-init.c: Include libc-internal.h.
13561 (__pthread_initialize_minimal_internal): Use ROUND_UP.
13562
13563 * elf/ldconfig.c (search_dir): Expand comment.
13564
13565 2014-11-29 Joseph Myers <joseph@codesourcery.com>
13566
13567 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
13568 variable.
13569 (linknamespace-symlist-stdlibs-tests): Likewise.
13570 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
13571 instead of $(objpfx)symlist-stdlibs.
13572 (linknamespace-libs-isoc): New variable.
13573 (linknamespace-libs): Use $(linknamespace-libs-isoc).
13574 (linknamespace-libs-ISO): New variable.
13575 (linknamespace-libs-ISO99): Likewise.
13576 (linknamespace-libs-ISO11): Likewise.
13577 (linknamespace-libs-XPG3): Likewise.
13578 (linknamespace-libs-XPG4): Likewise.
13579 (linknamespace-libs-POSIX): Likewise.
13580 (linknamespace-libs-UNIX98): Likewise.
13581 (linknamespace-libs-XOPEN2K): Likewise.
13582 (linknamespace-libs-POSIX2008): Likewise.
13583 (linknamespace-libs-XOPEN2K8): Likewise.
13584 ($(objpfx)symlist-stdlibs): Replace by
13585 $(linknamespace-symlist-stdlibs-tests). Use
13586 $(linknamespace-libs-$*) as set of libraries.
13587 ($(linknamespace-header-tests)): Update dependencies. Use
13588 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
13589 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
13590 * conform/linknamespace.pl: Remove comment about considering
13591 definitions of symbols from irrelevant libraries.
13592
13593 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
13594
13595 [BZ #13862]
13596 * elf/dl-tls.c: Include <atomic.h>.
13597 (oom): Remove #ifdef SHARED/#endif.
13598 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
13599 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
13600 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
13601 big enough.
13602 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
13603 * nptl/Makefile (tests): Add tst-stack4.
13604 (modules-names): Add tst-stack4mod.
13605 ($(objpfx)tst-stack4): New.
13606 (tst-stack4mod.sos): Likewise.
13607 ($(objpfx)tst-stack4.out): Likewise.
13608 ($(tst-stack4mod.sos)): Likewise.
13609 (clean): Likewise.
13610 * nptl/tst-stack4.c: New file.
13611 * nptl/tst-stack4mod.c: Likewise.
13612
13613 2014-11-27 J. Brown <jb999@gmx.de>
13614
13615 * sysdeps/x86/bits/string.h: Add recent CPUs.
13616
13617 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13618
13619 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
13620 sigblock.
13621
13622 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
13623 feof.
13624
13625 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
13626 variable.
13627
13628 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
13629
13630 * nscd/connections.c: Include libc-internal.h because of macro
13631 usage ignore_value.
13632
13633 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13634
13635 * string/bits/string3.h (__warn_memset_zero_len): Don't
13636 declare for gcc newer than 5.0.
13637 (memset): Don't test for zero-length __LEN for gcc newer than
13638 5.0.
13639
13640 2014-11-27 Joseph Myers <joseph@codesourcery.com>
13641
13642 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
13643 size_t for %zu format.
13644
13645 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
13646 difference, not %ju.
13647
13648 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13649
13650 * include/libc-internal.h (ignore_value): New macro.
13651 * nscd/connections.c (restart): Wrap calls to setuid and setgid
13652 with ignore_value.
13653
13654 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
13655 definition.
13656
13657 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
13658 pthread_cleanup_push to void *.
13659
13660 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
13661 Undefine.
13662
13663 [BZ #16619]
13664 [BZ #16740]
13665 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
13666 instead of 1L << 52.
13667
13668 * libio/bug-rewind.c (do_test): Check fwscanf return values.
13669 * libio/bug-rewind2.c (do_test): Likewise.
13670
13671 * debug/test-stpcpy_chk-ifunc.c: Remove file.
13672 * debug/test-strcpy_chk-ifunc.c: Likewise.
13673 * wcsmbs/test-wcschr-ifunc.c: Likewise.
13674 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
13675 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
13676 * wcsmbs/test-wcslen-ifunc.c: Likewise.
13677 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
13678 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
13679 * Rules [$(multi-arch) = no] (tests): Do not filter out
13680 $(tests-ifunc).
13681 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
13682 * debug/Makefile (tests-ifunc): Remove variable.
13683 (tests): Do not add $(tests-ifunc).
13684 * wcsmbs/Makefile (tests-ifunc): Remove variable.
13685 (tests): Do not add $(tests-ifunc).
13686 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
13687 [TEST_IFUNC]: Remove conditionals.
13688 * string/test-string.h (TEST_IFUNC): Remove macro.
13689 [TEST_IFUNC]: Remove conditionals.
13690
13691 * string/test-strchr.c [!WIDE] (L): New macro.
13692 [WIDE] (L): Likewise.
13693 (check1): Use CHAR instead of char. Use L on string and character
13694 constants.
13695
13696 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
13697
13698 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
13699 tests.
13700 * sysdeps/powerpc/bits/atomic.h
13701 (__arch_atomic_exchange_and_add_32_acq): Add definition.
13702 (__arch_atomic_exchange_and_add_32_rel): Likewise.
13703 (atomic_exchange_and_add_acq): Likewise.
13704 (atomic_exchange_and_add_rel): Likewise.
13705 * sysdeps/powerpc/powerpc32/bits/atomic.h
13706 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13707 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13708 * sysdeps/powerpc/powerpc64/bits/atomic.h
13709 (__arch_atomic_exchange_and_add_64_acq): Add definition.
13710 (__arch_atomic_exchange_and_add_64_rel): Likewise.
13711
13712 2014-11-26 Torvald Riegel <triegel@redhat.com>
13713
13714 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
13715 Change synchronization of __sched_fifo_min_prio and
13716 __sched_fifo_max_prio.
13717 * nptl/pthread_mutexattr_getprioceiling.c
13718 (pthread_mutexattr_getprioceiling): Likewise.
13719 * nptl/pthread_mutexattr_setprioceiling.c
13720 (pthread_mutexattr_setprioceiling): Likewise.
13721 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
13722 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
13723 Likewise.
13724
13725 2014-11-26 Joseph Myers <joseph@codesourcery.com>
13726
13727 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
13728 void.
13729
13730 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13731
13732 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
13733 third argument const.
13734
13735 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
13736
13737 fnmatch: work around GCC compiler warning bug with uninit var
13738 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
13739 This works around a bug with x86-64 GCC 4.9.2 and earlier
13740 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
13741 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
13742 used uninitialized in this function [-Wmaybe-uninitialized]".
13743
13744 2014-11-25 Joseph Myers <joseph@codesourcery.com>
13745
13746 * posix/bug-regex31.c (main): Return RES not 0.
13747
13748 2014-11-25 Anton Blanchard <anton@samba.org>
13749
13750 * sysdeps/powerpc/bits/atomic.h
13751 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
13752
13753 2014-11-24 Sterling Augustine <saugustine@google.com>
13754
13755 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
13756
13757 2014-11-24 Ryan Cumming <etaoins@gmail.com>
13758
13759 [BZ #17608]
13760 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
13761
13762 2014-11-24 Joseph Myers <joseph@codesourcery.com>
13763
13764 [BZ #17633]
13765 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
13766 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
13767 variable.
13768 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
13769 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
13770
13771 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13772
13773 * string/strncpy.c (strncpy): Improve performance by using memset.
13774
13775 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
13776
13777 * string/strcpy.c (strcpy):
13778 Improve performance by using strlen and memcpy.
13779
13780 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
13781
13782 * string/strcoll_l.c (get_next_seq): __always_inline.
13783 * string/strcoll_l.c (do_compare): __always_inline.
13784
13785 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
13786
13787 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
13788 defined.
13789 * include/mqueue.h: Likewise.
13790 * include/stdlib.h: Likewise.
13791
13792 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
13793 (get_null_defines): Adjust.
13794 * sunrpc/Makefile: Adjust comment.
13795 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
13796 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
13797 (CFLAGS-interp.c): Likewise.
13798 (CFLAGS-ldconfig.c): Likewise.
13799 (CPPFLAGS-.os): Likewise.
13800 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
13801 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
13802 * extra-modules.mk (extra-modules.mk): Likewise.
13803 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
13804 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
13805 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
13806 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
13807 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
13808 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
13809 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
13810 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
13811 * iconvdata/Makefile (CPPFLAGS): Likewise.
13812 (cpp-srcs-left): Add libof for all iconvdata routines.
13813 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
13814 * include/assert.h: Likewise.
13815 * include/ctype.h: Likewise.
13816 * include/errno.h: Likewise.
13817 * include/libc-symbols.h: Likewise.
13818 * include/math.h: Likewise.
13819 * include/netdb.h: Likewise.
13820 * include/resolv.h: Likewise.
13821 * include/stdio.h: Likewise.
13822 * include/stdlib.h: Likewise.
13823 * include/string.h: Likewise.
13824 * include/sys/stat.h: Likewise.
13825 * include/wctype.h: Likewise.
13826 * intl/l10nflist.c: Likewise.
13827 * libidn/idn-stub.c: Likewise.
13828 * libio/libioP.h: Likewise.
13829 * nptl/libc_multiple_threads.c: Likewise.
13830 * nptl/pthreadP.h: Likewise.
13831 * posix/regex_internal.h: Likewise.
13832 * resolv/res_hconf.c: Likewise.
13833 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
13834 * sysdeps/arm/memmove.S: Likewise.
13835 * sysdeps/arm/sysdep.h: Likewise.
13836 * sysdeps/generic/_itoa.h: Likewise.
13837 * sysdeps/generic/symbol-hacks.h: Likewise.
13838 * sysdeps/gnu/errlist.awk: Likewise.
13839 * sysdeps/gnu/errlist.c: Likewise.
13840 * sysdeps/i386/i586/memcpy.S: Likewise.
13841 * sysdeps/i386/i586/memset.S: Likewise.
13842 * sysdeps/i386/i686/memcpy.S: Likewise.
13843 * sysdeps/i386/i686/memmove.S: Likewise.
13844 * sysdeps/i386/i686/mempcpy.S: Likewise.
13845 * sysdeps/i386/i686/memset.S: Likewise.
13846 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
13847 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
13848 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
13849 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
13850 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
13851 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
13852 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
13853 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
13854 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
13855 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
13856 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
13857 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
13858 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
13859 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
13860 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
13861 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
13862 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
13863 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
13864 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
13865 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
13866 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
13867 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
13868 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
13869 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
13870 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
13871 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
13872 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
13873 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
13874 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
13875 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
13876 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
13877 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
13878 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
13879 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
13880 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
13881 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
13882 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
13883 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
13884 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
13885 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
13886 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
13887 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
13888 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
13889 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
13890 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
13891 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
13892 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
13893 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
13894 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
13895 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
13896 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
13897 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
13898 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
13899 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
13900 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
13901 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
13902 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
13903 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
13904 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
13905 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
13906 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
13907 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
13908 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
13909 * sysdeps/nptl/bits/libc-lock.h: Likewise.
13910 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
13911 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
13912 * sysdeps/posix/closedir.c: Likewise.
13913 * sysdeps/posix/opendir.c: Likewise.
13914 * sysdeps/posix/readdir.c: Likewise.
13915 * sysdeps/posix/rewinddir.c: Likewise.
13916 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
13917 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
13918 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13919 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13920 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13921 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
13922 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
13923 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
13924 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13925 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
13926 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13927 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13928 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13929 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
13930 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
13931 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
13932 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13933 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13934 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
13935 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
13936 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13937 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
13938 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
13939 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13940 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
13941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
13942 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
13943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13944 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13945 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
13946 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
13947 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
13948 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
13949 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
13950 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
13951 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
13952 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13953 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13954 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
13955 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
13956 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
13957 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
13958 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13959 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
13960 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
13961 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
13962 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
13963 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13964 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
13965 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
13966 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
13967 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13968 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
13969 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13970 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13971 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
13972 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
13973 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13974 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13975 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
13976 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
13977 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13978 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
13979 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13980 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
13981 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
13982 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
13983 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
13984 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
13985 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
13986 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
13987 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13988 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
13989 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13990 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13991 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
13992 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
13993 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13994 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
13995 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
13996 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
13998 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
13999 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
14000 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14001 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
14002 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
14003 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
14004 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
14005 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
14006 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
14007 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
14008 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
14009 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
14010 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
14011 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
14012 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
14013 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
14014 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
14015 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
14016 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
14017 * sysdeps/unix/alpha/sysdep.S: Likewise.
14018 * sysdeps/unix/alpha/sysdep.h: Likewise.
14019 * sysdeps/unix/make-syscalls.sh: Likewise.
14020 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14021 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14022 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14023 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
14024 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14025 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14026 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
14027 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14028 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14029 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
14030 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14031 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14032 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14033 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14034 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14035 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
14036 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14037 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14038 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14039 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14040 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14041 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14042 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14043 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14044 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14045 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14046 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14047 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14049 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
14050 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14051 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
14053 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14054 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
14055 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
14057 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14058 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
14059 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
14060 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14061 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14062 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14063 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14064 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14066 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14067 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14069 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14070 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14071 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14072 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14073 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14074 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14075 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14076 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14078 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
14079 * sysdeps/x86_64/memcpy.S: Likewise.
14080 * sysdeps/x86_64/memmove.c: Likewise.
14081 * sysdeps/x86_64/memset.S: Likewise.
14082 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
14083 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14084 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14085 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
14086 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
14087 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14088 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14089 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
14090 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14091 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14092 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14093 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14094 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
14095 * sysdeps/x86_64/multiarch/memset.S: Likewise.
14096 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
14097 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
14098 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
14099 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
14100 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
14101 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
14102 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
14103 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14104 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14105 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
14106 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
14107 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
14108 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
14109 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
14110 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
14111 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
14112 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
14113 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
14114 * sysdeps/x86_64/strcmp.S: Likewise.
14115
14116 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
14117
14118 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
14119 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
14120 * elf/rtld-Rules: Likewise.
14121 * elf/setup-vdso.h: Likewise.
14122 * include/assert.h: Likewise.
14123 * include/bits/stdlib-float.h: Likewise.
14124 * include/errno.h: Likewise.
14125 * include/sys/stat.h: Likewise.
14126 * include/unistd.h: Likewise.
14127 * sysdeps/aarch64/setjmp.S: Likewise.
14128 * sysdeps/alpha/setjmp.S: Likewise.
14129 * sysdeps/arm/__longjmp.S: Likewise.
14130 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
14131 * sysdeps/arm/setjmp.S: Likewise.
14132 * sysdeps/arm/sysdep.h: Likewise.
14133 * sysdeps/generic/_itoa.h: Likewise.
14134 * sysdeps/generic/dl-sysdep.h: Likewise.
14135 * sysdeps/generic/ldsodefs.h: Likewise.
14136 * sysdeps/i386/dl-tls.h: Likewise.
14137 * sysdeps/i386/setjmp.S: Likewise.
14138 * sysdeps/m68k/setjmp.c: Likewise.
14139 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
14140 * sysdeps/mach/hurd/opendir.c: Likewise.
14141 * sysdeps/posix/getcwd.c: Likewise.
14142 * sysdeps/posix/opendir.c: Likewise.
14143 * sysdeps/posix/profil.c: Likewise.
14144 * sysdeps/powerpc/dl-procinfo.h: Likewise.
14145 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
14146 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
14147 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
14148 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
14149 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
14150 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
14151 * sysdeps/s390/dl-tls.h: Likewise.
14152 * sysdeps/s390/s390-32/setjmp.S: Likewise.
14153 * sysdeps/s390/s390-64/setjmp.S: Likewise.
14154 * sysdeps/sh/sh3/setjmp.S: Likewise.
14155 * sysdeps/sh/sh4/setjmp.S: Likewise.
14156 * sysdeps/unix/alpha/sysdep.h: Likewise.
14157 * sysdeps/unix/arm/sysdep.S: Likewise.
14158 * sysdeps/unix/i386/sysdep.S: Likewise.
14159 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14160 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
14161 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
14162 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
14163 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14164 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
14165 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
14166 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14167 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14168 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
14169 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14170 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
14171 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
14172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14174 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
14175 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14176 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14177 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
14178 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14179 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
14180 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
14181 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
14182 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
14183 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14184 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
14185 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14186 * sysdeps/unix/x86_64/sysdep.S: Likewise.
14187 * sysdeps/x86_64/setjmp.S: Likewise.
14188
14189 * include/math.h: Use IS_IN instead of IS_IN_libm.
14190 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
14191 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
14192 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
14193 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14194 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
14195 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
14196 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
14197 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
14198 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
14199 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
14200 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
14201 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
14202 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
14203 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
14205 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
14210 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
14211 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
14212 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
14213 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
14214 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
14215 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
14216 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
14217 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
14218 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
14219 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
14220 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
14221 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14222 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
14224 Likewise.
14225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
14226 Likewise.
14227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
14228 Likewise.
14229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
14230 Likewise.
14231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
14232 Likewise.
14233 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14234 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
14235 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14236 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14237 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14238 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14239 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
14240 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
14241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
14242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
14243 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
14244 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
14245 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
14246 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14247 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14248 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
14249 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14250 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14251 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
14252 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14253 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
14254 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
14255 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
14256 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
14257 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
14258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
14259 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
14260
14261 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
14262 * nptl/pthreadP.h: Likewise.
14263 * nptl_db/structs.def: Likewise.
14264 * sysdeps/arm/sysdep.h: Likewise.
14265 * sysdeps/nptl/bits/libc-lock.h: Likewise.
14266 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
14267 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
14268 * sysdeps/unix/alpha/sysdep.h: Likewise.
14269 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14270 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
14271 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14272 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14273 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14274 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14275 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14276 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14277 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14278 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14279 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14280 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14281 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14282 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
14284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
14285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14286 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14287 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14288 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14289 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14290 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14291 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
14292 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14293 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14294 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14295
14296 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
14297 * nptl/pthreadP.h: Likewise.
14298 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
14299 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
14300 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
14301 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
14302 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
14303 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
14304 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14305 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
14306 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
14307 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
14308 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
14309 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
14310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
14311 Likewise.
14312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
14313 Likewise.
14314 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
14315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
14316 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
14317 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
14318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
14319 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
14320 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
14321 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
14322
14323 * dlfcn/dladdr.c: Use IS_IN.
14324 * dlfcn/dladdr1.c: Likewise.
14325 * dlfcn/dlclose.c: Likewise.
14326 * dlfcn/dlerror.c: Likewise.
14327 * dlfcn/dlinfo.c: Likewise.
14328 * dlfcn/dlmopen.c: Likewise.
14329 * dlfcn/dlopen.c: Likewise.
14330 * dlfcn/dlsym.c: Likewise.
14331 * dlfcn/dlvsym.c: Likewise.
14332
14333 * include/ifaddrs.h: Use IS_IN.
14334 * inet/check_pf.c: Likewise.
14335 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14336 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
14337
14338 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
14339 IS_IN_ldconfig.
14340 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
14341 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
14342
14343 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
14344 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
14345 IS_IN (libc).
14346
14347 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
14348
14349 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
14350 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
14351 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
14352 * include/libc-symbols.h (IS_IN_LIB): New macro.
14353 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
14354 * include/netdb.h: Likewise.
14355 * include/stap-probe.h: Remove all uses of IN_LIB.
14356
14357 * Makeconfig (module-cppflags-real): Define MODULE_NAME
14358 instead of IN_MODULE.
14359 * include/libc-symbols.h (IN_MODULE): Define using
14360 MODULE_NAME.
14361 (PASTE_NAME, PASTE_NAME1): New macros.
14362 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
14363 of IN_LIB.
14364 (STAP_PROBE_ASM): Likewise.
14365
14366 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
14367
14368 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
14369 __mach_init in dlopened libc.
14370
14371 2014-11-22 Mike Frysinger <vapier@gentoo.org>
14372
14373 * sysdeps/arm/preconfigure.ac: Delete EABI check.
14374 * sysdeps/arm/preconfigure: Regenerate.
14375
14376 2014-11-21 Roland McGrath <roland@hack.frob.com>
14377
14378 * nptl/pthread_create.c (__pthread_create_2_1): Set
14379 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
14380 when copying values from IATTR into PD.
14381
14382 2014-11-21 Will Newton <will.newton@linaro.org>
14383 Andrew Pinski <andrew.pinski@caviumnetworks.com>
14384
14385 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
14386 Refactor inline-asm. Also add comment.
14387
14388 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
14389 ElfW macro instead of hardcoded Elf64 types.
14390 (la_aarch64_gnu_pltenter): Likewise.
14391 * sysdeps/aarch64/dl-machine.h
14392 (elf_machine_runtime_setup): Use ElfW(Addr).
14393
14394 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
14395 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
14396 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
14397 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
14398 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
14399 (R_AARCH64_TLS_DTPMOD64): Rename to ..
14400 (R_AARCH64_TLS_DTPMOD): This.
14401 (R_AARCH64_TLS_DTPREL64): Rename to ...
14402 (R_AARCH64_TLS_DTPREL): This.
14403 (R_AARCH64_TLS_TPREL64): Rename to ...
14404 (R_AARCH64_TLS_TPREL): This.
14405 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
14406 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
14407 R_AARCH64_TLS_TPREL64.
14408 (elf_machine_rela): Likewise.
14409
14410 2014-11-21 Torvald Riegel <triegel@redhat.com>
14411
14412 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
14413 by setting it to 0. 64b atomics are not supported currently.
14414
14415 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14416
14417 [BZ #16469]
14418 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
14419 search domain names.
14420
14421 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14422
14423 [BZ #16469]
14424 * NEWS: Update.
14425 * resolv/res_query.c (__libc_res_nquerydomain): Retain
14426 trailing dot.
14427 * posix/tst-getaddrinfo5.c: New.
14428 * posix/Makefile (tests): Add it.
14429
14430 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14431
14432 [BZ #14498]
14433 * NEWS: Fixed.
14434 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
14435 after parsing line but before break_if_match.
14436 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
14437 if there is a protocol mismatch.
14438
14439 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
14440
14441 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
14442 because the potential race is on the user-supplied stream.
14443
14444 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14445
14446 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
14447 string literal if not passed a buffer.
14448 * manual/job.texi (ctermid): Update reasoning, note deviation
14449 from posix, suggest mtasurace when not passed a buffer, for
14450 future non-preliminary safety notes.
14451
14452 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14453
14454 * manual/users.texi (cuserid): Fix MT-Safety note for the case
14455 of not passing it a buffer.
14456 Reported by Peng Haitao.
14457
14458 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
14459
14460 * manual/Makefile ($(objpfx)stamp-summary): Require
14461 check-safety.sh to pass.
14462 * manual/check-safety.sh: Wish for verification that every
14463 @deftypefn and @deftypefun is followed by a @safety remark.
14464
14465 2014-11-20 Roland McGrath <roland@hack.frob.com>
14466
14467 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
14468
14469 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
14470 PTHREAD_CANCEL_ASYNCHRONOUS.
14471 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
14472 send SIGCANCEL.
14473
14474 * nptl/default-sched.h: New file.
14475 * sysdeps/unix/sysv/linux/default-sched.h: New file.
14476 * nptl/pthread_create.c: Include it.
14477 (__pthread_create_2_1): Use collect_default_sched instead of making
14478 Linux syscalls here directly.
14479
14480 2014-11-20 Torvald Riegel <triegel@redhat.com>
14481
14482 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
14483 __pthread_once): Use C11 atomics.
14484
14485 2014-11-20 Torvald Riegel <triegel@redhat.com>
14486
14487 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
14488
14489 2014-11-20 Torvald Riegel <triegel@redhat.com>
14490
14491 * include/atomic.h (__atomic_link_error, __atomic_check_size,
14492 atomic_thread_fence_acquire, atomic_thread_fence_release,
14493 atomic_thread_fence_seq_cst, atomic_load_relaxed,
14494 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
14495 atomic_compare_exchange_weak_relaxed,
14496 atomic_compare_exchange_weak_acquire,
14497 atomic_compare_exchange_weak_release,
14498 atomic_exchange_acquire, atomic_exchange_release,
14499 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
14500 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
14501 atomic_fetch_and_acquire,
14502 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
14503
14504 2014-11-20 Torvald Riegel <triegel@redhat.com>
14505
14506 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
14507 USE_ATOMIC_COMPILER_BUILTINS): Define.
14508 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
14509 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14510 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
14511 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14512 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
14513 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14514 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
14515 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14516 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
14517 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14518 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
14519 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14520 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
14521 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14522 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
14523 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14524 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14525 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14526 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14527 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14528 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
14529 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14530 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
14531 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14532 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
14533 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14534 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
14535 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14536 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
14537 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14538 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
14539 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14540 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
14541 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14542 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
14543 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14544 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
14545 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14546 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
14547 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
14548
14549 2014-11-19 Roland McGrath <roland@hack.frob.com>
14550
14551 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
14552 the sched_priority value here. It was already checked when the user
14553 called pthread_attr_setschedparam.
14554
14555 * nptl/tst-bad-schedattr.c: New file.
14556 * nptl/Makefile (tests): Add it.
14557
14558 2014-11-19 Carlos O'Donell <carlos@redhat.com>
14559 Florian Weimer <fweimer@redhat.com>
14560 Joseph Myers <joseph@codesourcery.com>
14561 Adam Conrad <adconrad@0c3.net>
14562 Andreas Schwab <schwab@suse.de>
14563 Brooks <bmoses@google.com>
14564
14565 [BZ #17625]
14566 * wordexp-test.c (__dso_handle): Add prototype.
14567 (__register_atfork): Likewise.
14568 (__app_register_atfork): New function.
14569 (registered_forks): New global.
14570 (register_fork): New function.
14571 (test_case): Add 3 new tests for WRDE_CMDSUB.
14572 (main): Call __app_register_atfork.
14573 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
14574 fork count is non-zero fail the test.
14575 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
14576 is set.
14577 (parse_dollars): Remove check for WRDE_NOCMD.
14578 (parse_dquote): Likewise.
14579
14580 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
14581
14582 * Makeconfig (built-modules): List non-library modules to be
14583 built.
14584 (module-cppflags): Include libc-modules.h for
14585 everything except shlib-versions.v.i.
14586 (CPPFLAGS): Use it.
14587 (before-compile): Add libc-modules.h.
14588 ($(common-objpfx)libc-modules.h,
14589 $(common-objpfx)libc-modules.stmp): New targets.
14590 (common-generated): Add libc-modules.h and libc-modules.stmp.
14591 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
14592 * include/libc-symbols.h: Don't include libc-modules.h.
14593 * include/libc-modules.h: Remove file.
14594 * scripts/gen-libc-modules.awk: New script to generate
14595 libc-modules.h.
14596 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
14597 Depend on libc-modules.stmp.
14598
14599 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
14600
14601 * Makeconfig (in-module): Get value of libof set for the
14602 translation unit.
14603 (CPPFLAGS): Use $(in-module).
14604 * Makerules: Don't suffix routine names for nonlib.
14605 * include/libc-modules.h: New file.
14606 * include/libc-symbols.h: Include libc-modules.h
14607 (IS_IN): New macro to replace IS_IN_* macros.
14608 * elf/Makefile: Set libof-* for each routine.
14609 * elf/rtld-Rules: Likewise.
14610 * extra-modules.mk: Likewise.
14611 * iconv/Makefile: Likewise.
14612 * iconvdata/Makefile: Likewise.
14613 * locale/Makefile: Likewise.
14614 * malloc/Makefile: Likewise.
14615 * nss/Makefile: Likewise.
14616 * sysdeps/gnu/Makefile: Likewise.
14617 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
14618 * sysdeps/unix/sysv/linux/Makefile: Likewise.
14619 * sysdeps/s390/s390-64/Makefile: Likewise.
14620 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
14621 CPPFLAGS for nscd instead of nonlib.
14622
14623 2014-11-18 Roland McGrath <roland@hack.frob.com>
14624
14625 * nptl/createthread.c: New file.
14626
14627 * nptl/createthread.c: Moved ...
14628 * sysdeps/unix/sysv/linux/createthread.c: ... here.
14629
14630 * nptl/createthread.c: Add proper top-line comment.
14631 (do_clone): Folded into ...
14632 (create_thread): ... here. Take new arguments STOPPED_START and
14633 THREAD_RAN. Always set PD->stopped_start to something here. Don't
14634 increment __nptl_threads, do event-reporting logic, do
14635 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
14636 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
14637 resource cleanup if sched_setaffinity or sched_setscheduler fails,
14638 just send SIGCANCEL.
14639 * nptl/pthread_create.c: Forward-declare create_thread before
14640 including createthread.c.
14641 (start_thread): Use new macro START_THREAD_DEFN to replace defining
14642 declaration, and new macro START_THREAD_SELF to replace argument.
14643 Remove return statement.
14644 (report_thread_creation): New function.
14645 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
14646 synchronization logic, and __nptl_nthreads increment here, around
14647 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
14648 PD->parent_cancelhandling here, before create_thread. When
14649 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
14650 __deallocate_stack, and ENOMEM translation here.
14651
14652 2014-11-18 Joseph Myers <joseph@codesourcery.com>
14653
14654 [BZ #17616]
14655 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
14656 (mptwo): Rename to __mptwo.
14657 (__inv): Use __mptwo instead of mptwo.
14658 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
14659 (mptwo): Rename to __mptwo.
14660 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
14661 of mpone and __mptwo instead of mptwo.
14662 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
14663 instead of mpone.
14664 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
14665 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
14666 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
14667 of mpone and __mptwo instead of mptwo.
14668 (__mpranred): Use __mpone instead of mpone.
14669 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
14670 variable.
14671 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14672 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14673 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14674 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14675 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14676 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14677 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14678 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14679 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14680 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14681 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14682 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14683 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14684 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14685 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14686 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14687 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14688 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14689 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
14690
14691 2014-11-18 Tom de Vries <tom@codesoucery.com>
14692
14693 * manual/signal.texi (Primitives Interrupted by Signals): In section,
14694 replace BSD Handler xref with BSD Signal Handling.
14695
14696 2014-11-17 Richard Henderson <rth@redhat.com>
14697
14698 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
14699 (_FP_PACK_RAW_2): Remove.
14700 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
14701 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
14702 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
14703 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
14704 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
14705 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
14706 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
14707 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
14708 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
14709 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
14710 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
14711 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
14712 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
14713 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
14714 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
14715 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
14716
14717 2014-11-14 Roland McGrath <roland@hack.frob.com>
14718
14719 * signal/signal.h [__USE_MISC]
14720 (struct sigvec): Remove type.
14721 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
14722 (sigvec): Remove declaration.
14723 * sysdeps/posix/sigvec.c: Moved ...
14724 * signal/sigvec.c: ... here, replacing old file.
14725 (struct sigvec): New type, copied from old signal.h definition.
14726 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
14727 (__sigvec): Convert definition to prototype.
14728 (sigvec): Replace weak_alias with compat_symbol.
14729 * signal/Versions (libc: GLIBC_2.21): New version set.
14730 * include/signal.h: Remove __sigvec declaration.
14731 * sysdeps/unix/bsd/sigvec.c: Remove file.
14732 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
14733 * manual/signal.texi (BSD Handler): Remove subsection.
14734 Move siginterrupt up to ...
14735 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
14736 (Blocking in BSD): Fold subsection into its parent.
14737 * NEWS: Mention sigvec removal.
14738
14739 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14740
14741 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
14742 (DLA_FMS): Make definition conditional only on [__FMA4__].
14743 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
14744 definition.
14745
14746 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
14747 Make definition conditional only on [PROF].
14748 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
14749 definition.
14750 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
14751 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
14752
14753 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
14754 !__GNUC__].
14755 * include/signal.h (__sigpause): Move declaration above call to
14756 libc_hidden_proto.
14757 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
14758 variable.
14759 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14760 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14761
14762 2014-11-14 David S. Miller <davem@davemloft.net>
14763
14764 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
14765 Define before including <string/memcpy.c> and <string/mempcpy.c>.
14766
14767 2014-11-14 Joseph Myers <joseph@codesourcery.com>
14768
14769 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
14770 * configure: Regenerated.
14771 * manual/install.texi (Tools for Compilation): Document a
14772 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
14773 compiler verified to work.
14774 * INSTALL: Regenerated.
14775
14776 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
14777 redeclare with asm name.
14778 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
14779 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
14780 including <string.h>.
14781 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14782 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
14783 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14784 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
14785 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14786 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
14787 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
14788
14789 2014-11-13 Joseph Myers <joseph@codesourcery.com>
14790
14791 * stdlib/strtol.c (__strtol): Use prototype definition.
14792
14793 [BZ #17594]
14794 * stdlib/strtol.c (SYM__): New macro.
14795 (SYM__1): Likewise.
14796 (__strtol): Likewise.
14797 (strtol): Rename to __strtol and define as weak alias of
14798 __strtol. Use libc_hidden_weak.
14799
14800 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14801
14802 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
14803 Use numbered labels in inline assembly.
14804
14805 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14806
14807 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
14808 Add setjmp LIBC_PROBE.
14809 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
14810 Likewise.
14811 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
14812 Add longjmp, longjmp_target LIBC_PROBE.
14813 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
14814 Likewise.
14815
14816 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14817
14818 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14819 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
14820 to get rid of unused variable warning.
14821
14822 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
14823
14824 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
14825 Check for unwind_backtrace == NULL only in SHARED case.
14826 (__backchain_backtrace): Compile only in SHARED case.
14827 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
14828 Likewise.
14829 (__backchain_backtrace): Declare as static.
14830
14831 2014-11-12 Roland McGrath <roland@hack.frob.com>
14832
14833 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
14834 (__libc_multiple_threads_ptr): Variable moved ...
14835 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
14836
14837 2014-11-12 Joseph Myers <joseph@codesourcery.com>
14838
14839 * conform/GlibcConform.pm: New file.
14840 * conform/conformtest.pl: Use GlibcConform module.
14841 * conform/linknamespace.pl: New file.
14842 * conform/list-header-symbols.pl: Likewise.
14843 * conform/Makefile (linknamespace-symlists-base): New variable.
14844 (linknamespace-symlists-tests): Likewise.
14845 (linknamespace-header-base): Likewise.
14846 (linknamespace-header-tests): Likewise.
14847 (tests-special): Add new tests.
14848 ($(linknamespace-symlists-tests)): New rule.
14849 (linknamespace-libs): New variable.
14850 ($(objpfx)symlist-stdlibs): New rule.
14851 ($(linknamespace-header-tests)): Likewise.
14852 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
14853 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
14854 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
14855 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
14856 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
14857 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
14858 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
14859 (test-xfail-ISO/math.h/linknamespace): Likewise.
14860 (test-xfail-ISO/signal.h/linknamespace): Likewise.
14861 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
14862 (test-xfail-ISO/time.h/linknamespace): Likewise.
14863 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
14864 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
14865 (test-xfail-ISO99/math.h/linknamespace): Likewise.
14866 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
14867 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
14868 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
14869 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
14870 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
14871 (test-xfail-ISO11/math.h/linknamespace): Likewise.
14872 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
14873 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
14874 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
14875 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
14876 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
14877 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
14878 (test-xfail-XPG3/math.h/linknamespace): Likewise.
14879 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
14880 (test-xfail-XPG3/search.h/linknamespace): Likewise.
14881 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
14882 (test-xfail-XPG3/time.h/linknamespace): Likewise.
14883 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
14884 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
14885 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
14886 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
14887 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
14888 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
14889 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
14890 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
14891 (test-xfail-XPG4/math.h/linknamespace): Likewise.
14892 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
14893 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
14894 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
14895 (test-xfail-XPG4/search.h/linknamespace): Likewise.
14896 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
14897 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
14898 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
14899 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
14900 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
14901 (test-xfail-XPG4/time.h/linknamespace): Likewise.
14902 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
14903 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
14904 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
14905 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
14906 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
14907 (test-xfail-POSIX/math.h/linknamespace): Likewise.
14908 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
14909 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
14910 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
14911 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
14912 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
14913 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
14914 (test-xfail-POSIX/time.h/linknamespace): Likewise.
14915 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
14916 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
14917 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
14918 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
14919 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
14920 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
14921 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
14922 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
14923 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
14924 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
14925 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
14926 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
14927 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
14928 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
14929 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
14930 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
14931 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
14932 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
14933 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
14934 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
14935 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
14936 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
14937 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
14938 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
14939 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
14940 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
14941 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
14942 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
14943 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
14944 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
14945 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
14946 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
14947 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
14948 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
14949 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
14950 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
14951 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
14952 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
14953 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
14954 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
14955 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
14956 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
14957 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
14958 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
14959 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
14960 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
14961 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
14962 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
14963 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
14964 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
14965 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
14966 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
14967 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
14968 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
14969 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
14970 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
14971 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
14972 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
14973 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
14974 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
14975 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
14976 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
14977 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
14978 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
14979 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
14980 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
14981 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
14982 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
14983 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
14984 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
14985 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
14986 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
14987 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
14988 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
14989 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
14990 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
14991 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
14992 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
14993 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
14994 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
14995 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
14996 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
14997 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
14998 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
14999 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
15000 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
15001 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
15002 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
15003 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
15004 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
15005 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
15006 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
15007 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
15008 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
15009 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
15010 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
15011 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
15012 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
15013
15014 [BZ #17589]
15015 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
15016 of fgets_unlocked.
15017
15018 [BZ #17585]
15019 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
15020 (memmem): Rename to __memmem and define as weak alias of
15021 __memmem. Use libc_hidden_weak.
15022 (__memmem): Use libc_hidden_def.
15023 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
15024 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
15025 memmem.
15026
15027 [BZ #17582]
15028 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
15029 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
15030 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
15031 and define as weak alias of __fgets_unlocked. Use
15032 libc_hidden_weak.
15033 (__fgets_unlocked): Use libc_hidden_def.
15034 * include/stdio.h (__fgets_unlocked): Declare. Use
15035 libc_hidden_proto.
15036 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
15037 __fgets_unlocked instead of fgets_unlocked.
15038 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
15039 (GET_NPROCS_CONF_PARSER): Likewise.
15040 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
15041 (GET_NPROCS_CONF_PARSER): Likewise.
15042
15043 [BZ #17574]
15044 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
15045 weak alias of __wmemset. Use libc_hidden_weak.
15046 (__wmemset): Use libc_hidden_def.
15047 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
15048 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
15049 of wmemset.
15050
15051 [BZ #17573]
15052 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
15053 with asm name __mempcpy.
15054 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
15055
15056 [BZ #17572]
15057 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
15058 and define as weak alias of __rawmemchr.
15059 (__rawmemchr): Do not define as strong alias of rawmemchr.
15060
15061 [BZ #17571]
15062 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
15063 alias of __qsort_r.
15064 (qsort): Call __qsort_r instead of qsort_r.
15065 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
15066 (__qsort_r): Declare. Call libc_hidden_proto.
15067 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
15068 instead of qsort_r.
15069 * nscd/gai.c (__qsort_r): Define to qsort_r.
15070 * posix/tst-rfc3484.c (__qsort_r): Likewise.
15071 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
15072 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
15073
15074 [BZ #17570]
15075 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
15076 define as weak alias of __malloc_info.
15077
15078 [BZ #17584]
15079 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
15080 as weak alias of __rewinddir. Don't use libc_hidden_def.
15081 (__rewinddir): Use libc_hidden_def.
15082 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
15083 as weak alias of __rewinddir. Don't use libc_hidden_def.
15084 (__rewinddir): Use libc_hidden_def.
15085 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
15086 weak alias of __rewinddir. Don't use libc_hidden_def.
15087 (__rewinddir): Use libc_hidden_def.
15088 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
15089 (__rewinddir): Use libc_hidden_proto.
15090 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
15091 rewinddir.
15092 (__getcwd): Use __rewinddir instead of rewinddir.
15093
15094 [BZ #17583]
15095 * libio/fileno.c (fileno): Rename to __fileno and define as weak
15096 alias of __fileno. Use libc_hidden_weak.
15097 (__fileno): Use libc_hidden_def.
15098 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
15099 * libio/ftello.c (ftello): Rename to __ftello and define as weak
15100 alias of __ftello.
15101 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
15102 __ftello.
15103 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
15104 (__fread_unlocked): Define as strong alias of _IO_fread. Use
15105 libc_hidden_def.
15106 (fread_unlocked): Don't use libc_hidden_ver.
15107 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
15108 and define as weak alias of __fread_unlocked. Don't use
15109 libc_hidden_def.
15110 (__fread_unlocked): Use libc_hidden_def.
15111 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
15112 (ftello): Don't use libc_hidden_proto.
15113 (__ftello): Declare. Use libc_hidden_proto.
15114 (fread_unlocked): Don't use libc_hidden_proto.
15115 (__fread_unlocked): Declare. Use libc_hidden_proto.
15116 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
15117 and __ftello instead of fileno, fread_unlocked and ftello.
15118
15119 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15120
15121 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
15122 GOT12.
15123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
15124 Likewise.
15125 (_dl_start_user): Likewise.
15126 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
15127
15128 2014-11-12 Carlos O'Donell <carlos@redhat.com>
15129 Siddhesh Poyarekar <siddhesh@redhat.com>
15130
15131 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
15132 Move argv and envp down instead of moving argc up.
15133 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
15134
15135 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
15136
15137 [BZ #17506]
15138 * test-skeleton.c (main): Return successful if one of
15139 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
15140 * string/tst-strcoll-overflow.c: Define expected status.
15141
15142 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
15143
15144 [BZ #17475]
15145 * locale/iso-639.def: Define Bhili and Tulu language codes.
15146
15147 2014-11-11 Alan Hayward <alan.hayward@arm.com>
15148
15149 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
15150
15151 2014-11-10 Renlin Li <Renlin.Li@arm.com>
15152
15153 [BZ #17555]
15154 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
15155
15156 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
15157
15158 * configure.ac: Updated check of minimal required version to
15159 2.22.
15160 * manual/install.texi (Tools for Compilation): Updated version
15161 number.
15162 * configure: Regenerated.
15163 * INSTALL: Likewise.
15164
15165 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
15166
15167 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
15168 __tls_get_addr.
15169
15170 2014-11-07 Joseph Myers <joseph@codesourcery.com>
15171
15172 * include/sys/wait.h (__libc_waitpid): Remove declaration.
15173 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
15174 (__waitpid): Don't define as alias. Use libc_hidden_def not
15175 libc_hidden_weak.
15176 (waitpid): Define as alias of __waitpid.
15177 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
15178 __waitpid.
15179 (__waitpid): Don't define as alias. Use libc_hidden_def not
15180 libc_hidden_weak.
15181 (waitpid): Define as alias of __waitpid.
15182 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
15183 __libc_waitpid alias.
15184 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
15185 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
15186 Likewise.
15187 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
15188 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
15189 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
15190 alias.
15191 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
15192 __waitpid.
15193 (__waitpid): Don't define as alias. Use libc_hidden_def not
15194 libc_hidden_weak.
15195 (waitpid): Define as alias of __waitpid.
15196
15197 2014-11-06 Carlos O'Donell <carlos@redhat.com>
15198
15199 * manual/llio.texi: Add comment that write safety has been
15200 fixed in Linux.
15201
15202 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
15203 (localplt-build-dso): Add elf/ld.so.
15204 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
15205 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
15206 and free for ld.so.
15207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
15208 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
15209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
15210 Likewise.
15211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
15212 Likewise.
15213 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
15214 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
15215 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
15216 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
15217 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
15218 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
15219 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
15220 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
15221 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
15222 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
15223 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
15224
15225 2014-11-05 Joseph Myers <joseph@codesourcery.com>
15226
15227 [BZ #14132]
15228 * include/libc-symbols.h (INTUSE): Remove macro.
15229 (INTDEF): Likewise.
15230 (INTVARDEF): Likewise.
15231 (_INTVARDEF): Likewise.
15232 (INTDEF2): Likewise.
15233 (INTVARDEF2): Likewise.
15234 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
15235 rtld_hidden_def instead of INTVARDEF.
15236 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
15237 (_dl_starting_up_internal): Remove declaration.
15238 (_dl_starting_up): Use rtld_hidden_proto.
15239 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
15240 declaration.
15241 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
15242 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
15243 _dl_starting_up.
15244 * elf/dl-writev.h (_dl_writev): Likewise.
15245 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
15246 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
15247 _dl_starting_up_internal.
15248
15249 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15250
15251 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
15252 test-skeleton.c.
15253
15254 2014-11-05 Will Newton <will.newton@linaro.org>
15255
15256 * benchtests/Makefile: (bench-malloc): Add malloc thread
15257 scalability benchmark.
15258 * benchtests/bench-malloc-threads.c: New file.
15259
15260 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
15261
15262 * sysdeps/aarch64/strchrnul.S: New file.
15263
15264 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15265
15266 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
15267 definition.
15268 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15269 Likwise.
15270 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15271 Likewise.
15272 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15273 Likewise.
15274 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15275 Likewise.
15276 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15277 Likewise.
15278
15279 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
15280
15281 * catgets/test-gencat.c: Use test-skeleton.c.
15282 * catgets/tst-catgets.c: Likewise.
15283 * csu/tst-empty.c: Likewise.
15284 * elf/tst-audit2.c: Likewise.
15285 * elf/tst-global1.c: Likewise.
15286 * elf/tst-pathopt.c: Likewise.
15287 * elf/tst-piemod1.c: Likewise.
15288 * elf/tst-tls10.c: Likewise.
15289 * elf/tst-tls11.c: Likewise.
15290 * elf/tst-tls12.c: Likewise.
15291 * gnulib/tst-gcc.c: Likewise.
15292 * iconvdata/tst-e2big.c: Likewise.
15293 * iconvdata/tst-loading.c: Likewise.
15294 * iconv/tst-iconv1.c: Likewise.
15295 * iconv/tst-iconv2.c: Likewise.
15296 * inet/test-inet6_opt.c: Likewise.
15297 * inet/tst-gethnm.c: Likewise.
15298 * inet/tst-network.c: Likewise.
15299 * inet/tst-ntoa.c: Likewise.
15300 * intl/tst-codeset.c: Likewise.
15301 * intl/tst-gettext2.c: Likewise.
15302 * intl/tst-gettext3.c: Likewise.
15303 * intl/tst-ngettext.c: Likewise.
15304 * intl/tst-translit.c: Likewise.
15305 * io/test-stat.c: Likewise.
15306 * libio/test-fmemopen.c: Likewise.
15307 * libio/tst-freopen.c: Likewise.
15308 * libio/tst-sscanf.c: Likewise.
15309 * libio/tst-ungetwc1.c: Likewise.
15310 * libio/tst-ungetwc2.c: Likewise.
15311 * libio/tst-widetext.c: Likewise.
15312 * localedata/tst-ctype.c: Likewise.
15313 * localedata/tst-digits.c: Likewise.
15314 * localedata/tst-leaks.c: Likewise.
15315 * localedata/tst-mbswcs1.c: Likewise.
15316 * localedata/tst-mbswcs2.c: Likewise.
15317 * localedata/tst-mbswcs3.c: Likewise.
15318 * localedata/tst-mbswcs4.c: Likewise.
15319 * localedata/tst-mbswcs5.c: Likewise.
15320 * localedata/tst-setlocale.c: Likewise.
15321 * localedata/tst-trans.c: Likewise.
15322 * localedata/tst-wctype.c: Likewise.
15323 * localedata/tst-xlocale1.c: Likewise.
15324 * login/tst-grantpt.c: Likewise.
15325 * malloc/tst-calloc.c: Likewise.
15326 * malloc/tst-malloc.c: Likewise.
15327 * malloc/tst-mallocstate.c: Likewise.
15328 * malloc/tst-mcheck.c: Likewise.
15329 * malloc/tst-mtrace.c: Likewise.
15330 * malloc/tst-obstack.c: Likewise.
15331 * math/atest-exp2.c: Likewise.
15332 * math/atest-exp.c: Likewise.
15333 * math/atest-sincos.c: Likewise.
15334 * math/test-matherr.c: Likewise.
15335 * math/test-misc.c: Likewise.
15336 * math/test-powl.c: Likewise.
15337 * math/tst-definitions.c: Likewise.
15338 * misc/tst-dirname.c: Likewise.
15339 * misc/tst-efgcvt.c: Likewise.
15340 * misc/tst-fdset.c: Likewise.
15341 * misc/tst-hsearch.c: Likewise.
15342 * misc/tst-mntent2.c: Likewise.
15343 * nptl/tst-sem7.c: Likewise.
15344 * nptl/tst-sem8.c: Likewise.
15345 * nptl/tst-sem9.c: Likewise.
15346 * nss/test-netdb.c: Likewise.
15347 * posix/tst-fnmatch.c: Likewise.
15348 * posix/tst-getlogin.c: Likewise.
15349 * posix/tst-gnuglob.c: Likewise.
15350 * posix/tst-mmap.c: Likewise.
15351 * pwd/tst-getpw.c: Likewise.
15352 * resolv/tst-inet_ntop.c: Likewise.
15353 * rt/tst-timer.c: Likewise.
15354 * stdio-common/test-fseek.c: Likewise.
15355 * stdio-common/test-popen.c: Likewise.
15356 * stdio-common/test-vfprintf.c: Likewise.
15357 * stdio-common/tst-cookie.c: Likewise.
15358 * stdio-common/tst-fileno.c: Likewise.
15359 * stdio-common/tst-gets.c: Likewise.
15360 * stdio-common/tst-obprintf.c: Likewise.
15361 * stdio-common/tst-perror.c: Likewise.
15362 * stdio-common/tst-sprintf2.c: Likewise.
15363 * stdio-common/tst-sprintf3.c: Likewise.
15364 * stdio-common/tst-sprintf.c: Likewise.
15365 * stdio-common/tst-swprintf.c: Likewise.
15366 * stdio-common/tst-tmpnam.c: Likewise.
15367 * stdio-common/tst-unbputc.c: Likewise.
15368 * stdio-common/tst-wc-printf.c: Likewise.
15369 * stdlib/tst-environ.c: Likewise.
15370 * stdlib/tst-fmtmsg.c: Likewise.
15371 * stdlib/tst-limits.c: Likewise.
15372 * stdlib/tst-rand48-2.c: Likewise.
15373 * stdlib/tst-rand48.c: Likewise.
15374 * stdlib/tst-random2.c: Likewise.
15375 * stdlib/tst-random.c: Likewise.
15376 * stdlib/tst-strtol.c: Likewise.
15377 * stdlib/tst-strtoll.c: Likewise.
15378 * stdlib/tst-tls-atexit.c: Likewise.
15379 * stdlib/tst-xpg-basename.c: Likewise.
15380 * string/test-ffs.c: Likewise.
15381 * string/tst-bswap.c: Likewise.
15382 * string/tst-inlcall.c: Likewise.
15383 * string/tst-strtok.c: Likewise.
15384 * string/tst-strxfrm.c: Likewise.
15385 * sysdeps/x86_64/tst-audit10.c: Likewise.
15386 * sysdeps/x86_64/tst-audit3.c: Likewise.
15387 * sysdeps/x86_64/tst-audit4.c: Likewise.
15388 * sysdeps/x86_64/tst-audit5.c: Likewise.
15389 * time/tst-ftime_l.c: Likewise.
15390 * time/tst-getdate.c: Likewise.
15391 * time/tst-mktime3.c: Likewise.
15392 * time/tst-mktime.c: Likewise.
15393 * time/tst-posixtz.c: Likewise.
15394 * time/tst-strptime2.c: Likewise.
15395 * time/tst-strptime3.c: Likewise.
15396 * wcsmbs/tst-btowc.c: Likewise.
15397 * wcsmbs/tst-mbrtowc.c: Likewise.
15398 * wcsmbs/tst-mbsrtowcs.c: Likewise.
15399 * wcsmbs/tst-wchar-h.c: Likewise.
15400 * wcsmbs/tst-wcpncpy.c: Likewise.
15401 * wcsmbs/tst-wcrtomb.c: Likewise.
15402 * wcsmbs/tst-wcsnlen.c: Likewise.
15403 * wcsmbs/tst-wcstof.c: Likewise.
15404
15405 2014-11-04 Joseph Myers <joseph@codesourcery.com>
15406
15407 [BZ #14132]
15408 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
15409 INTDEF.
15410 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
15411 declaration.
15412 (_dl_mcount): Use rtld_hidden_proto.
15413 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
15414 _dl_mcount.
15415 * elf/rtld.c (_rtld_global_ro): Likewise.
15416
15417 [BZ #14132]
15418 * elf/dl-init.c (_dl_init): Don't use INTDEF.
15419 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
15420 of _dl_init_internal.
15421 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
15422 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
15423 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
15424 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
15425 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
15426 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
15427 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
15428 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
15429 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
15430 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
15431 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
15432 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
15433 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
15434 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
15435 * sysdeps/tile/dl-start.S (_start): Likewise.
15436 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
15437 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
15438
15439 [BZ #14132]
15440 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
15441 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
15442 (rtld_progname): Make macro definition unconditional.
15443 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
15444 INTDEF.
15445 (dlmopen_doit): Do not use INTUSE with _dl_argv.
15446 (dl_main): Likewise.
15447 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
15448 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
15449 instead of _dl_argv_internal.
15450 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
15451 __GI__dl_argv instead of INTUSE(_dl_argv).
15452 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
15453 __GI__dl_argv instead of _dl_argv_internal.
15454
15455 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
15456 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
15457 macro.
15458 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
15459 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
15460 New macro.
15461 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
15462 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
15463 macro.
15464 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
15465 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
15466
15467 2014-11-04 Andreas Schwab <schwab@suse.de>
15468
15469 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
15470
15471 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15472
15473 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
15474 mtvsrd instruction in binary form.
15475
15476 2014-11-03 Andreas Schwab <schwab@suse.de>
15477
15478 [BZ #17522]
15479 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
15480 for less than MB_LEN_MAX use a local buffer of that size.
15481 * libio/tst-fputws.c: New file.
15482 * libio/Makefile (tests): Add tst-fputws.
15483
15484 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
15485
15486 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
15487 the size of the fpu_fr.fpu_dregs[] array.
15488
15489 2014-11-01 Joseph Myers <joseph@codesourcery.com>
15490
15491 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
15492 (__nanosleep): Do not define as alias.
15493 (nanosleep): Define as alias of __nanosleep.
15494 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
15495 __libc_nanosleep name.
15496
15497 2014-10-31 Joseph Myers <joseph@codesourcery.com>
15498
15499 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
15500 install.texi in comment.
15501
15502 2014-10-31 Torvald Riegel <triegel@redhat.com>
15503
15504 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
15505 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
15506 ... add here and use lwsync or sync ...
15507 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
15508 ... and add here using lwsync.
15509
15510 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
15511
15512 * elf/dl-machine-reject-phdr.h: New file.
15513 * elf/dl-load.c: #include that.
15514 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
15515 if that returned true.
15516
15517 2014-10-31 Roland McGrath <roland@hack.frob.com>
15518
15519 [BZ #17496]
15520 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
15521 gen-as-const-headers chunk. Add a big scare comment after the last
15522 safe place to touch before-compile.
15523
15524 2014-10-31 Joseph Myers <joseph@codesourcery.com>
15525
15526 * manual/install.texi (Tools for Compilation): Update autoconf
15527 version requirements.
15528 * INSTALL: Regenerated.
15529
15530 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
15531 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
15532 (__libc_pselect): Likewise.
15533
15534 [BZ #14138]
15535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
15536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
15537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
15538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
15539
15540 2014-10-31 Torvald Riegel <triegel@redhat.com>
15541
15542 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
15543 correct barrier instruction.
15544 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
15545 Likewise.
15546 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
15547 Likewise.
15548
15549 2014-10-30 Roland McGrath <roland@hack.frob.com>
15550
15551 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
15552 after defining inlines. Instead, just use parens to defeat macro
15553 expansion of __isctype in its declaration.
15554
15555 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15556
15557 * include/sys/uio.h (__libc_readv): Remove declaration.
15558 (__libc_writev): Likewise.
15559 * misc/readv.c (__libc_readv): Rename to __readv.
15560 (__readv): Do not define as alias.
15561 (readv): Define as alias of __readv.
15562 * misc/writev.c (__libc_writev): Rename to __writev.
15563 (__writev): Do not define as alias.
15564 (writev): Define as alias of __writev.
15565 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
15566 (__readv): Do not define as alias.
15567 (readv): Define unconditionally as alias of __readv.
15568 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
15569 (__writev): Do not define as alias.
15570 (writev): Define unconditionally as alias of __writev.
15571 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
15572 name.
15573 (writev): Do not define __libc_writev name.
15574
15575 2014-10-30 Roland McGrath <roland@hack.frob.com>
15576
15577 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
15578 (convert_charseq): New function, broken out of ...
15579 (use_from_charmap): ... here. Call it.
15580 (use_to_charmap): Use convert_charseq and free instead of duplicating
15581 its code with a variable-length stack struct.
15582
15583 2014-10-30 Joseph Myers <joseph@codesourcery.com>
15584
15585 * include/fcntl.h (__libc_creat): Remove declaration.
15586 * io/creat.c (__libc_creat): Rename to creat.
15587 (creat): Do not define as alias.
15588 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
15589 of creat instead of __libc_creat.
15590 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
15591 to creat.
15592 (creat): Do not define as alias.
15593 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
15594 __libc_creat.
15595 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
15596 __libc_creat name.
15597 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
15598 Likewise.
15599
15600 2014-10-29 Carlos O'Donell <carlos@redhat.com>
15601
15602 * manual/llio.texi: Add comments discussing why write() may be
15603 considered MT-unsafe on Linux.
15604
15605 2014-10-28 Carlos O'Donell <carlos@redhat.com>
15606
15607 * dl-load.c (local_strdup): Remove.
15608 (expand_dynamic_string_token): Use __strdup.
15609 (decompose_rpath): Likewise.
15610 (_dl_map_object): Likewise.
15611
15612 2014-10-28 Joseph Myers <joseph@codesourcery.com>
15613
15614 [BZ #14132]
15615 * sysdeps/generic/unwind-dw2-fde.c
15616 (__register_frame_info_bases_internal): Do not declare.
15617 (__register_frame_info_table_bases_internal): Likewise.
15618 (__deregister_frame_info_bases_internal): Likewise.
15619 (__register_frame_info_bases): Declare and use hidden_proto before
15620 definition. Use hidden_def instead of INTDEF.
15621 (__register_frame_info_table_bases): Likewise.
15622 (__deregister_frame_info_bases): Likewise.
15623 (__register_frame_info): Do not use INTUSE.
15624 (__register_frame): Likewise.
15625 (__register_frame_info_table): Likewise.
15626 (__register_frame_table): Likewise.
15627 (__deregister_frame_info): Likewise.
15628 (__deregister_frame): Likewise.
15629
15630 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
15631
15632 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15633 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
15634 not undefine.
15635 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
15636 Likewise.
15637 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
15638 Likewise.
15639
15640 2014-10-27 Joseph Myers <joseph@codesourcery.com>
15641
15642 [BZ #14138]
15643 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
15644 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
15645 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
15646 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
15647 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
15648 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
15649 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
15650 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
15651 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
15652 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
15653 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
15654 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
15655 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
15656 syscall.
15657 (setfsuid): Likewise.
15658 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
15659 (setfsuid): Likewise.
15660 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
15661 (setfsuid): Likewise.
15662 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
15663 Likewise.
15664 (setfsuid): Likewise.
15665 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
15666 (setfsuid): Likewise.
15667 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
15668 Likewise.
15669 (setfsuid): Likewise.
15670
15671 2014-10-27 Andreas Schwab <schwab@suse.de>
15672
15673 [BZ #17501]
15674 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
15675 check for Slow_SSE4_2 feature bit.
15676 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
15677 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
15678 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
15679 Likewise. Fix check for Fast_Unaligned_Load feature bit.
15680
15681 2014-10-24 Roland McGrath <roland@hack.frob.com>
15682
15683 * configure.ac: Validate compiler version with a empirical test of
15684 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
15685 $CC -v output.
15686 * configure: Regenerated.
15687
15688 * inet/htons.c (htons): Prototypify.
15689 * inet/htonl.c (htonl): Likewise.
15690
15691 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15692
15693 * string/strncat.c (strncat): Improve performance by using strlen.
15694
15695 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15696
15697 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
15698
15699 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15700
15701 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
15702 Call libc_fetestexcept_aarch64.
15703
15704 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15705
15706 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
15707 Call libc_feholdexcept_aarch64.
15708
15709 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15710
15711 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
15712 Call get_rounding_mode.
15713
15714 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15715
15716 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
15717 Simplify logic.
15718
15719 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
15720
15721 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
15722 Simplify logic.
15723
15724 2014-10-24 Joseph Myers <joseph@codesourcery.com>
15725
15726 [BZ #14138]
15727 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
15728 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
15729 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
15730 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
15731 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
15732 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
15733 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
15734 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
15735 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
15736 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
15737 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
15738 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
15739 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
15740 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
15741 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
15742 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
15743 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
15744 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
15745 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
15746 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
15747 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
15748 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
15749 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
15750 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
15751 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
15752 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
15753 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
15754 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
15755 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
15756 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
15757 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
15758 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
15759 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
15760 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
15761 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
15762 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
15763 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
15764 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
15765 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
15766 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
15767 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
15768 syscall.
15769 (geteuid): Likewise.
15770 (getgid): Likewise.
15771 (getuid): Likewise.
15772 (getresgid): Likewise.
15773 (getresuid): Likewise.
15774 (getgroups): Likewise.
15775 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
15776 (geteuid): Likewise.
15777 (getgid): Likewise.
15778 (getuid): Likewise.
15779 (getresgid): Likewise.
15780 (getresuid): Likewise.
15781 (getgroups): Likewise.
15782 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
15783 (geteuid): Likewise.
15784 (getgid): Likewise.
15785 (getuid): Likewise.
15786 (getresgid): Likewise.
15787 (getresuid): Likewise.
15788 (getgroups): Likewise.
15789 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
15790 Likewise.
15791 (geteuid): Likewise.
15792 (getgid): Likewise.
15793 (getuid): Likewise.
15794 (getresgid): Likewise.
15795 (getresuid): Likewise.
15796 (getgroups): Likewise.
15797 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
15798 (geteuid): Likewise.
15799 (getgid): Likewise.
15800 (getuid): Likewise.
15801 (getresgid): Likewise.
15802 (getresuid): Likewise.
15803 (getgroups): Likewise.
15804 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
15805 Likewise.
15806 (geteuid): Likewise.
15807 (getgid): Likewise.
15808 (getuid): Likewise.
15809 (getgroups): Likewise.
15810
15811 [BZ #14138]
15812 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
15813 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
15814 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
15815 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15816 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
15817 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
15818 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
15819 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
15820 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
15821 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
15822 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
15823 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
15824 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
15825 __chown.
15826 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
15827 (lchown): Likewise.
15828 (fchown): Likewise.
15829 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
15830 Likewise.
15831 (lchown): Likewise.
15832 (fchown): Likewise.
15833 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
15834 (lchown): Likewise.
15835 (fchown): Likewise.
15836 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
15837 Likewise.
15838 (lchown): Likewise.
15839 (fchown): Likewise.
15840
15841 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15842
15843 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
15844 Simplify logic.
15845
15846 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15847
15848 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15849 Cleanup logic.
15850
15851 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15852
15853 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
15854 Remove unused include.
15855
15856 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
15857
15858 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
15859 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
15860 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
15861 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
15862
15863 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
15864 Helge Deller <deller@gmx.de>
15865
15866 [BZ #17508]
15867 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
15868 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
15869 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
15870
15871 2014-10-23 Joseph Myers <joseph@codesourcery.com>
15872
15873 [BZ #14132]
15874 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
15875 Remove macro definition.
15876 (__ashrdi3_v_glibc20): Likewise.
15877 (__lshrdi3_v_glibc20): Likewise.
15878 (__cmpdi2_v_glibc20): Likewise.
15879 (__ucmpdi2_v_glibc20): Likewise.
15880 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
15881 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15882 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15883 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15884 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15885 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
15886
15887 2014-10-22 Roland McGrath <roland@hack.frob.com>
15888
15889 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
15890 old GNU extension [0] syntax.
15891 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
15892 alloca rather than an array member with variable length.
15893 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
15894 * nscd/nscd.c (invalidate_db): New function, broken out of ...
15895 (parse_opt): ... here. Likewise use alloca there.
15896 Validate the -i argument before checking for rootness.
15897 (send_shutdown): New function, broken out of ...
15898 (parse_opt): ... here.
15899
15900 2014-10-22 Roland McGrath <roland@hack.frob.com>
15901
15902 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
15903 macro to get at the _rt_local_ro field.
15904 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
15905 ([PIC] case) or _dl_hwcap ([!PIC] case).
15906 * sysdeps/arm/setjmp.S: Likewise.
15907
15908 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
15909 * sysdeps/arm/configure.ac: New check to define it.
15910 * sysdeps/arm/configure: Regenerated.
15911 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
15912 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
15913 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
15914 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
15915 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
15916 Use move/movt pair instead of a load.
15917 (LDST_GLOBAL): Macro removed.
15918 (LDR_GLOBAL): New macro replaces it.
15919 (LDR_HIDDEN): New macro.
15920 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
15921 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
15922
15923 * setjmp/tst-setjmp-static.c: New file.
15924 * setjmp/Makefile (tests): Add it.
15925 (tests-static): New variable.
15926
15927 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
15928
15929 [BZ #17485]
15930 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
15931
15932 2014-10-21 Joseph Myers <joseph@codesourcery.com>
15933
15934 [BZ #14132]
15935 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
15936
15937 2014-10-21 Roland McGrath <roland@hack.frob.com>
15938
15939 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
15940
15941 2014-10-20 Roland McGrath <roland@hack.frob.com>
15942
15943 * io/fts.c (dirent_not_directory): New function.
15944 (fts_build): Call it.
15945
15946 2014-10-20 Roland McGrath <roland@hack.frob.com>
15947
15948 * nptl/version.c (__nptl_main): Use normal __write rather than
15949 INTERNAL_SYSCALL.
15950 (banner): Update copyright years.
15951
15952 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
15953 gettimeofday.
15954 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
15955 * nptl/pthread_cond_timedwait.c: Likewise.
15956 * nptl/pthread_mutex_timedlock.c: Likewise.
15957 * nptl/sem_timedwait.c: Likewise.
15958
15959 * sysdeps/nptl/bits/libc-lock.h
15960 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15961 (__libc_lock_init_recursive): Return void, not 0.
15962 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
15963 (__libc_rwlock_init): Likewise.
15964 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
15965
15966 2014-10-20 Torvald Riegel <triegel@redhat.com>
15967
15968 [BZ #15215]
15969 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
15970 (__pthread_once_slow): ... here.
15971 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
15972 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
15973
15974 2014-10-20 Torvald Riegel <triegel@redhat.com>
15975
15976 [BZ #15215]
15977 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
15978 __PTHREAD_ONCE_FORK_GEN_INCR): New.
15979 * sysdeps/nptl/fork.c (__libc_fork): Use them.
15980 * nptl/pthread_once.c (__pthread_once): Likewise.
15981 Update comments.
15982
15983 2014-10-20 Joseph Myers <joseph@codesourcery.com>
15984
15985 [BZ #14138]
15986 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
15987 name.
15988 (writev): Use __libc_writev as strong name.
15989 * sysdeps/unix/sysv/linux/readv.c: Remove file.
15990 * sysdeps/unix/sysv/linux/writev.c: Likewise.
15991
15992 2014-10-17 Roland McGrath <roland@hack.frob.com>
15993
15994 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
15995
15996 * sysdeps/i386/nptl/tls.h
15997 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
15998 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
15999 New macros.
16000 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
16001 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
16002 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
16003 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
16004 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
16005 Call CHECK_THREAD_SYSINFO instead of doing an assert.
16006
16007 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
16008 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
16009 on [__NR_futex].
16010 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
16011 broken out of ...
16012 (__pthread_mutex_init): ... here. Call it.
16013 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
16014 Conditionalize PI cases on [__NR_futex].
16015 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
16016 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
16017 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16018
16019 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
16020 conditional on [SIGSETXID].
16021 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
16022 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
16023 is defined. Likewise for SIGSETXID.
16024 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
16025 Conditionalize definitions on [SIGSETXID].
16026 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
16027 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
16028 unblocking on [SIGCANCEL].
16029
16030 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
16031 [__NR_set_robust_list].
16032
16033 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16034
16035 * string/strcoll_l.c (get_next_seq): Fix up formatting.
16036 (do_compare): Likewise.
16037
16038 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
16039
16040 [BZ #15884]
16041 * string/strcoll_l.c: Don't include stdio.h.
16042 (coll_seq): Remove members idxarr and rulearr.
16043 (get_next_seq_cached): Remove function.
16044 (get_next_seq): Likewise.
16045 (get_next_seq_nocache): Rename to get_next_seq.
16046 (do_compare): Remove function.
16047 (do_compare_nocache): Rename to do_compare.
16048 (STRCOLL): Remove weight and rules cache.
16049
16050 2014-10-16 Roland McGrath <roland@hack.frob.com>
16051
16052 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
16053 * sysdeps/arm/sfp-machine.h: ... to here.
16054 * sysdeps/arm/Implies: Remove arm/soft-fp.
16055
16056 2014-10-14 Joseph Myers <joseph@codesourcery.com>
16057
16058 * conform/data/sys/utsname.h-data (*_t): Allow.
16059 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
16060 [POSIX] (WEXITED): Do not expect constant.
16061 [POSIX] (WSTOPPED): Likewise.
16062 [POSIX] (WNOHANG): Likewise.
16063 [POSIX] (WNOWAIT): Likewise.
16064 [POSIX] (siginfo_t): Do not expect type or elements.
16065 [POSIX] (pid_t): Do not expect type.
16066 [POSIX] (signal.h): Do not allow header.
16067 [POSIX] (sys/resource.h): Likewise.
16068 [POSIX] (si_*): Do not allow pattern.
16069 [POSIX] (W*): Likewise.
16070 [POSIX] (P_*): Likewise.
16071 [POSIX] (BUS_*): Likewise.
16072 [POSIX] (CLD_*): Likewise.
16073 [POSIX] (FPE_*): Likewise.
16074 [POSIX] (ILL_*): Likewise.
16075 [POSIX] (POLL_*): Likewise.
16076 [POSIX] (SEGV_*): Likewise.
16077 [POSIX] (SI_*): Likewise.
16078 [POSIX] (TRAP_*): Likewise.
16079 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
16080 variable.
16081
16082 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
16083
16084 [BZ #12926]
16085 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
16086 infinite loop when __recvmsg returns 0.
16087
16088 2014-10-10 Joseph Myers <joseph@codesourcery.com>
16089
16090 * CANCEL-FCT-WAIVE: Remove file.
16091 * CANCEL-FILE-WAIVE: Likewise.
16092
16093 [BZ #14132]
16094 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
16095 instead of INTVARDEF.
16096 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
16097 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
16098 rtld_hidden_data_def instead of INTVARDEF.
16099 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
16100 * elf/dl-deps.c (expand_dst): Likewise.
16101 * elf/dl-load.c (_dl_dst_count): Likewise.
16102 (_dl_dst_substitute): Likewise.
16103 (decompose_rpath): Likewise.
16104 (_dl_init_paths): Likewise.
16105 (open_path): Likewise.
16106 (_dl_map_object): Likewise.
16107 * elf/rtld.c (dl_main): Likewise.
16108 (process_dl_audit): Likewise.
16109 (process_envvars): Likewise.
16110 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
16111 Remove declaration.
16112 (__libc_enable_secure): Use rtld_hidden_proto.
16113
16114 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16115
16116 * elf/dl-load.c
16117 (add_path): New function broken out of _dl_rtld_di_serinfo.
16118 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
16119
16120 2014-10-09 Joseph Myers <joseph@codesourcery.com>
16121
16122 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
16123 parentheses around macro arguments.
16124 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
16125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
16126 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
16127 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
16128 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
16129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
16130 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
16132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
16133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
16134 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
16135 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
16136 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
16137 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
16138 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
16139 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
16140 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
16141 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
16142 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
16143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
16144 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
16145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
16146 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
16147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
16148 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
16149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
16150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
16151 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
16152 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
16153 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
16154 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
16155 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
16156 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
16157 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
16158 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
16159 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
16160 Likewise.
16161 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
16162 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16163 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16164 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
16165 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
16166 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
16167 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
16168 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
16169 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
16170 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
16171 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
16172 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
16173 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
16174 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
16175 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
16176 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
16177 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
16178 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
16179 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
16180 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
16181 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
16182 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
16183 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
16184 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
16185 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
16186 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
16187 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
16188 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
16189 (_FP_FRAC_SRS_1): Likewise.
16190 (_FP_FRAC_CLZ_1): Likewise.
16191 (_FP_MUL_MEAT_1_imm): Likewise.
16192 (_FP_MUL_MEAT_1_wide): Likewise.
16193 (_FP_MUL_MEAT_1_hard): Likewise.
16194 (_FP_SQRT_MEAT_1): Likewise.
16195 (_FP_FRAC_ASSEMBLE_1): Likewise.
16196 (_FP_FRAC_DISASSEMBLE_1): Likewise.
16197 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
16198 (__FP_CLZ_2): Likewise.
16199 (_FP_MUL_MEAT_2_wide): Likewise.
16200 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
16201 (_FP_MUL_MEAT_2_gmp): Likewise.
16202 (_FP_MUL_MEAT_2_120_240_double): Likewise.
16203 (_FP_SQRT_MEAT_2): Likewise.
16204 (_FP_FRAC_ASSEMBLE_2): Likewise.
16205 (_FP_FRAC_DISASSEMBLE_2): Likewise.
16206 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
16207 (_FP_FRAC_CLZ_4): Likewise.
16208 (_FP_MUL_MEAT_4_wide): Likewise.
16209 (_FP_MUL_MEAT_4_gmp): Likewise.
16210 (_FP_SQRT_MEAT_4): Likewise.
16211 (_FP_FRAC_ASSEMBLE_4): Likewise.
16212 (_FP_FRAC_DISASSEMBLE_4): Likewise.
16213 * soft-fp/op-common.h (_FP_CMP): Likewise.
16214 (_FP_CMP_EQ): Likewise.
16215 (_FP_CMP_UNORD): Likewise.
16216 (_FP_TO_INT): Likewise.
16217 (_FP_FROM_INT): Likewise.
16218 [!__FP_CLZ] (__FP_CLZ): Likewise.
16219 (_FP_DIV_HELP_imm): Likewise.
16220 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
16221 Likewise.
16222 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
16223 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
16224 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
16225 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
16226 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
16227 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16228 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16229 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
16230 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
16231 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
16232 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
16233 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
16234 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
16235 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
16236 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
16237 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
16238 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
16239 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
16240 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
16241 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
16242 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
16243 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
16244 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
16245 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
16246 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
16247 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
16248 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
16249 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
16250 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
16251 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
16252 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
16253 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
16254 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
16255 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
16256 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
16257 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
16258 (FP_UNPACK_RAW_SP): Likewise.
16259 (FP_PACK_RAW_S): Likewise.
16260 (FP_PACK_RAW_SP): Likewise.
16261 (FP_UNPACK_S): Likewise.
16262 (FP_UNPACK_SP): Likewise.
16263 (FP_UNPACK_SEMIRAW_S): Likewise.
16264 (FP_UNPACK_SEMIRAW_SP): Likewise.
16265 (FP_PACK_S): Likewise.
16266 (FP_PACK_SP): Likewise.
16267 (FP_PACK_SEMIRAW_S): Likewise.
16268 (FP_PACK_SEMIRAW_SP): Likewise.
16269 (_FP_SQRT_MEAT_S): Likewise.
16270 (FP_CMP_S): Likewise.
16271 (FP_CMP_EQ_S): Likewise.
16272 (FP_CMP_UNORD_S): Likewise.
16273 (FP_TO_INT_S): Likewise.
16274 (FP_FROM_INT_S): Likewise.
16275
16276 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
16277
16278 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
16279 (FP_EX_INVALID_IMZ): Likewise.
16280 (FP_EX_INVALID_IMZ_FMA): Likewise.
16281 (FP_EX_INVALID_ISI): Likewise.
16282 (FP_EX_INVALID_ZDZ): Likewise.
16283 (FP_EX_INVALID_IDI): Likewise.
16284 (FP_EX_INVALID_SQRT): Likewise.
16285 (FP_EX_INVALID_CVI): Likewise.
16286 (FP_EX_INVALID_VC): Likewise.
16287 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
16288 "invalid" exceptions.
16289 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
16290 (_FP_ADD_INTERNAL): Likewise.
16291 (_FP_MUL): Likewise.
16292 (_FP_FMA): Likewise.
16293 (_FP_DIV): Likewise.
16294 (_FP_CMP_CHECK_NAN): Likewise.
16295 (_FP_SQRT): Likewise.
16296 (_FP_TO_INT): Likewise.
16297 (FP_EXTEND): Likewise.
16298
16299 2014-10-09 Allan McRae <allan@archlinux.org>
16300
16301 * po/fr.po: Update French translation from translation project.
16302
16303 2014-10-09 Joseph Myers <joseph@codesourcery.com>
16304
16305 [BZ #14132]
16306 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
16307 of INTDEF.
16308 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
16309 (__cxa_atexit): Use libc_hidden_proto.
16310 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
16311
16312 [BZ #14132]
16313 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
16314 declaration.
16315 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
16316 [!_ISOMAC] (__iswspace_l_internal): Likewise.
16317 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
16318 [!_ISOMAC] (__iswctype_internal): Likewise.
16319 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
16320 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
16321 alias.
16322 (fcntl): Remove __fcntl_internal alias.
16323 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
16324 __connect_internal alias.
16325 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
16326 Likewise.
16327
16328 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
16329 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
16330 FP_DENORM_ZERO.
16331 (_FP_CHECK_FLUSH_ZERO): New macro.
16332 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
16333 (_FP_CMP): Likewise.
16334 (_FP_CMP_EQ): Likewise.
16335 (_FP_TO_INT): Do not set inexact for subnormal arguments if
16336 FP_DENORM_ZERO.
16337 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
16338 (FP_TRUNC): Likewise.
16339
16340 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
16341 treated as invalid conversion, not as normal exponent.
16342
16343 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
16344 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
16345 (_FP_CMP_EQ): Likewise.
16346 (_FP_CMP_UNORD): Likewise.
16347 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
16348 (FP_CMP_EQ_D): Likewise.
16349 (FP_CMP_UNORD_D): Likewise.
16350 * soft-fp/extended.h (FP_CMP_E): Likewise.
16351 (FP_CMP_EQ_E): Likewise.
16352 (FP_CMP_UNORD_E): Likewise.
16353 * soft-fp/quad.h (FP_CMP_Q): Likewise.
16354 (FP_CMP_EQ_Q): Likewise.
16355 (FP_CMP_UNORD_Q): Likewise.
16356 * soft-fp/single.h (FP_CMP_S): Likewise.
16357 (FP_CMP_EQ_S): Likewise.
16358 (FP_CMP_UNORD_S): Likewise.
16359 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
16360 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
16361 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
16362 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
16363 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
16364 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
16365 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
16366 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
16367 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
16368 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
16369 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
16370 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
16371 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
16372 to FP_CMP_Q.
16373 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
16374 FP_CMP_Q.
16375 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
16376 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
16377 FP_CMP_EQ_Q.
16378 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
16379 FP_CMP_Q.
16380 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
16381 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
16382 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
16383 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
16384 FP_CMP_EQ_Q.
16385 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
16386 FP_CMP_Q.
16387 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
16388 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
16389 FP_CMP_EQ_Q.
16390 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
16391 FP_CMP_Q.
16392 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
16393 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
16394 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
16395 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
16396 FP_CMP_EQ_Q.
16397
16398 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
16399 a subnormal result, set the underflow exception if trapping on
16400 underflow is enabled.
16401 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
16402 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
16403 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
16404 redefine to 0.
16405 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
16406 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16407 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
16408 * soft-fp/extendxftf2.c (__extendxftf2): Use
16409 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
16410
16411 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
16412 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
16413 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16414 FP_HANDLE_EXCEPTIONS.
16415 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
16416 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16417 FP_HANDLE_EXCEPTIONS.
16418 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
16419 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16420 FP_HANDLE_EXCEPTIONS.
16421 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
16422 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
16423 FP_HANDLE_EXCEPTIONS.
16424
16425 2014-10-08 Joseph Myers <joseph@codesourcery.com>
16426
16427 [BZ #14132]
16428 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
16429 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
16430 use INTUSE.
16431 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
16432 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
16433 Remove alias.
16434 (__adjtimex): Define using libc_hidden_ver.
16435 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
16436 Remove declaration.
16437 (ntp_gettime): Call __adjtimex directly.
16438 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
16439 Remove declaration.
16440 (ntp_gettimex): Call __adjtimex directly.
16441 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
16442 __adjtimex_internal alias.
16443
16444 2014-10-08 Roland McGrath <roland@hack.frob.com>
16445
16446 [BZ #17460]
16447 * nscd/nscd.c (more_help): Rewrite list of tables collection
16448 using xstrdup and asprintf.
16449
16450 * nscd/nscd_conf.c: Remove local xstrdup declaration.
16451
16452 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16453 Roland McGrath <roland@hack.frob.com>
16454
16455 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
16456 (do_lookup_unique): ... local function 'enter' here; update callers.
16457
16458 2014-10-06 Joseph Myers <joseph@codesourcery.com>
16459
16460 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
16461 compat_symbol calls on [SHARED].
16462 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
16463 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
16464 Remove.
16465 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16466 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
16467 (oldsetrlimit): Remove.
16468 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16470 (lchown): New syscall entry.
16471 (oldsetrlimit): Remove.
16472 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16473 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
16474 (oldsetrlimit): Remove.
16475 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
16476
16477 [BZ #14138]
16478 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
16479 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
16480 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
16481 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
16483 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
16484 (fchown): Likewise.
16485 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
16486 (fchown): Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
16488 Likewise.
16489
16490 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16491
16492 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
16493 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
16494 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
16495 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
16496 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
16497 Likewise.
16498 (__old_sem_post): Likewise.
16499
16500 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
16501
16502 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
16503 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
16504 HAVE_CLOCK_GETTIME_VSYSCALL macros.
16505 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
16506 Use INLINE_VSYSCALL macro.
16507 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
16508 __vdso_clock_gettime.
16509 * sysdeps/unix/sysv/linux/tile/init-first.c
16510 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
16511 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
16512 __vdso_clock_gettime.
16513
16514 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
16515 to set up frame more cleanly.
16516
16517 * sysdeps/tile/memcmp.c: New file.
16518
16519 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
16520
16521 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
16522 * sysdeps/tile/tilegx/strcasestr.c: New file.
16523 * sysdeps/tile/tilegx/strnlen.c: New file.
16524 * sysdeps/tile/tilegx/strstr.c: New file.
16525
16526 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
16527
16528 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
16529
16530 * nptl/tst-setuid3.c: Write errors to stdout.
16531
16532 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16533
16534 * elf/dl-deps.c
16535 (preload): New functions broken out of _dl_map_object_deps.
16536 (_dl_map_object_deps): Remove a nested function. Update call sites.
16537
16538 2014-10-01 Joseph Myers <joseph@codesourcery.com>
16539
16540 [BZ #14138]
16541 * sysdeps/unix/sysv/linux/execve.c: Remove file.
16542 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
16543
16544 2014-10-01 Steve Ellcey <sellcey@mips.com>
16545
16546 * sysdeps/mips/strcmp.S: New.
16547
16548 2014-09-30 Joseph Myers <joseph@codesourcery.com>
16549
16550 [BZ #14138]
16551 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
16552 (linkat): Likewise.
16553 (mkdirat): Likewise.
16554 (readlinkat): Likewise.
16555 (renameat): Likewise.
16556 (symlinkat): Likewise.
16557 (unlinkat): Likewise.
16558 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
16559 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
16560 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
16561 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
16562 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
16563 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
16564 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
16565
16566 2014-09-30 Will Newton <will.newton@linaro.org>
16567
16568 * math/math.h: Define long double math functions if
16569 _LIBC_TEST is defined.
16570 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
16571
16572 * localedata/Makefile: Move assignment to tests-special
16573 into an ifdef testing run-built-tests.
16574 * timezone/Makefile: Likewise.
16575
16576 2014-09-29 Joseph Myers <joseph@codesourcery.com>
16577
16578 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
16579 with $(BASH) not $(SHELL).
16580
16581 2014-09-29 Carlos O'Donell <carlos@redhat.com>
16582 Matthew LeGendre <legendre1@llnl.gov>
16583
16584 [BZ #17411]
16585 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
16586 l_reloc_result.
16587
16588 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16589
16590 * stdio-common/printf_fp.c
16591 (hack_digit): New function, broken out of ...
16592 (__printf_fp): ... local function here. Update call sites.
16593 hack_digit now takes an additional parameter that is a pointer
16594 to a struct of the referenced locals. Those locals moved inside
16595 the struct and references updated.
16596
16597 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
16598
16599 * aclocal.m4: Require autoconf 2.69.
16600 * configure: Regenerated.
16601 * sysdeps/aarch64/configure: Likewise.
16602 * sysdeps/alpha/configure: Likewise.
16603 * sysdeps/arm/armv7/configure: Likewise.
16604 * sysdeps/arm/configure: Likewise.
16605 * sysdeps/ia64/configure: Likewise.
16606 * sysdeps/mach/configure: Likewise.
16607 * sysdeps/mips/configure: Likewise.
16608 * sysdeps/s390/configure: Likewise.
16609 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
16610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
16611
16612 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
16613 file.
16614 * sysdeps/ia64/configure.ac: Likewise.
16615
16616 2014-09-26 Joseph Myers <joseph@codesourcery.com>
16617
16618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
16619 specify symbol version for ld.so. Do not include entry for
16620 libpthread.
16621 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16622 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16623 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16624
16625 [BZ #14171]
16626 * Makeconfig [$(build-shared) = yes]
16627 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
16628 makefiles.
16629 [$(build-shared) = yes && $(soversions.mk-done) = t]
16630 ($(common-objpfx)gnu/lib-names.h): Remove rule.
16631 [$(build-shared) = yes && $(soversions.mk-done) = t]
16632 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
16633 to Makerules.
16634 [$(build-shared) = yes && $(soversions.mk-done) = t]
16635 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
16636 here.
16637 [$(build-shared) = yes && $(soversions.mk-done) = t]
16638 (common-generated): Don't append gnu/lib-names.h and
16639 gnu/lib-names.stmp here.
16640 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
16641 (lib-names-h-abi): New variable.
16642 [$(build-shared) = yes && $(soversions.mk-done) = t]
16643 (lib-names-stmp-abi): Likewise.
16644 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16645 abi-variants] (before-compile): Append
16646 $(common-objpfx)$(lib-names-h-abi).
16647 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16648 abi-variants] (common-generated): Append gnu/lib-names.h.
16649 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16650 abi-variants] (install-others-nosubdir): Depend on
16651 $(inst_includedir)/$(lib-names-h-abi).
16652 [$(build-shared) = yes && $(soversions.mk-done) = t &&
16653 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
16654 [$(build-shared) = yes && $(soversions.mk-done) = t]
16655 ($(common-objpfx)$(lib-names-h-abi)): New rule.
16656 [$(build-shared) = yes && $(soversions.mk-done) = t]
16657 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
16658 [$(build-shared) = yes && $(soversions.mk-done) = t]
16659 (common-generated): Append $(lib-names-h-abi) and
16660 $(lib-names-stmp-abi).
16661 * scripts/lib-names.awk: Do not handle multi being set.
16662 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
16663 Remove variable.
16664 (abi-lp64_be-ld-soname): Likewise.
16665 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
16666 Likewise.
16667 (abi-hard-ld-soname): Likewise.
16668 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
16669 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
16670 Remove variable.
16671 (abi-o32_hard-ld-soname): Likewise.
16672 (abi-o32_soft_2008-ld-soname): Likewise.
16673 (abi-o32_hard_2008-ld-soname): Likewise.
16674 (abi-n32_soft-ld-soname): Likewise.
16675 (abi-n32_hard-ld-soname): Likewise.
16676 (abi-n32_soft_2008-ld-soname): Likewise.
16677 (abi-n32_hard_2008-ld-soname): Likewise.
16678 (abi-n64_soft-ld-soname): Likewise.
16679 (abi-n64_hard-ld-soname): Likewise.
16680 (abi-n64_soft_2008-ld-soname): Likewise.
16681 (abi-n64_hard_2008-ld-soname): Likewise.
16682 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
16683 Likewise.
16684 (abi-64-v2-ld-soname): Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
16686 ld.so entries.
16687 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
16688 variable.
16689 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
16690 entry.
16691 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
16692 variable.
16693 (abi-64-ld-soname): Likewise.
16694 (abi-x32-ld-soname): Likewise.
16695 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
16696 entry.
16697 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16698
16699 2014-09-23 Joseph Myers <joseph@codesourcery.com>
16700
16701 [BZ #14138]
16702 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
16703 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
16704 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
16705 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
16706 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
16707 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
16708 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
16709 syscall entry for GLIBC_2.2 symbol version.
16710 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
16711 Likewise.
16712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
16713 (setrlimit): Likewise.
16714 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
16715 Likewise.
16716
16717 2014-09-23 Will Newton <will.newton@linaro.org>
16718
16719 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
16720 _LINUX_ARM_SYSDEP_H include guard too.
16721 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
16722 define.
16723
16724 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
16725
16726 * sysdeps/unix/sysv/linux/eventfd.c:
16727 Make first argument unsigned.
16728 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
16729 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
16730
16731 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
16732
16733 * socket/recvmmsg.c (recvmmsg): Drop const argument.
16734 * socket/sys/socket.h: Likewise
16735 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
16736
16737 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16738
16739 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
16740
16741 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
16742
16743 * time/tst-ftime.c: New test.
16744 * time/Makefile (tests): Add tst-ftime.
16745
16746 2014-09-17 Joseph Myers <joseph@codesourcery.com>
16747
16748 * soft-fp/extended.h: Fix comment formatting.
16749 * soft-fp/op-1.h: Likewise.
16750 * soft-fp/op-2.h: Likewise.
16751 * soft-fp/op-4.h: Likewise.
16752 * soft-fp/op-8.h: Likewise.
16753 * soft-fp/op-common.h: Likewise.
16754 * soft-fp/soft-fp.h: Likewise.
16755
16756 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
16757
16758 2014-09-16 Joseph Myers <joseph@codesourcery.com>
16759
16760 [BZ #6652]
16761 * Makeconfig (soversions-default-setname): Remove variable.
16762 ($(common-objpfx)soversions.i): Don't pass default_setname to
16763 soversions.awk.
16764 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
16765 oldest_abi to abi-versions.awk.
16766 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
16767 * config.make.in (oldest-abi): Remove variable.
16768 * configure.ac (--enable-oldest-abi): Remove configure option.
16769 * configure: Regenerated.
16770 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
16771 text.
16772 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
16773 * scripts/soversions.awk: Do not handle default_setname variable.
16774 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
16775 variable.
16776 * sysdeps/mach/hurd/configure: Regenerated.
16777 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
16778 variable.
16779 * sysdeps/unix/sysv/linux/configure: Regenerated.
16780
16781 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16782
16783 * elf/Makefile (CFLAGS-interp.c): Remove.
16784 ($(elf-objpfx)runtime-linker.h): Generate header with linker
16785 path string.
16786 * elf/interp.c: Include generated runtime-linker.h
16787
16788 * Makerules (lib%.so): Don't include $(+interp) in
16789 prerequisites.
16790 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
16791 * dlfcn/eval.c: Remove file.
16792
16793 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
16794 macros.
16795
16796 [BZ #17266]
16797 * misc/sys/cdefs.h: Define __extern_always_inline for clang
16798 4.2 and newer.
16799
16800 [BZ #17370]
16801 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
16802
16803 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16804 Jakub Jelinek <jakub@redhat.com>
16805
16806 [BZ #17266]
16807 * libio/stdio.h: Check definition of __fortify_function
16808 instead of __extern_always_inline to include bits/stdio2.h.
16809 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
16810 check if __extern_always_inline is defined.
16811 [__USE_MISC || __USE_XOPEN]: Likewise.
16812 [__USE_ISOC99] Likewise.
16813 * misc/sys/cdefs.h (__fortify_function): Define only if
16814 __extern_always_inline is defined.
16815 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
16816 __extern_always_inline and __extern_inline only for g++-4.3
16817 and newer or a compatible gcc.
16818
16819 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
16820
16821 [BZ #17371]
16822 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
16823 last change to handle zero prefix length.
16824
16825 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
16827 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
16828 _SC_REGEX_VERSION.
16829
16830 * posix/getconf.c (vars): Add _POSIX_IPV6 and
16831 _POSIX_RAW_SOCKETS.
16832
16833 2014-09-13 Allan McRae <allan@archlinux.org>
16834
16835 * po/ru.po: Update Russian translation from translation project.
16836
16837 2014-09-12 Roland McGrath <roland@hack.frob.com>
16838
16839 * locale/programs/locale.c (show_locale_vars): Inline local function
16840 into its sole call site. Clean up some style nits.
16841 (print_item): New function, broken out of ...
16842 (show_info): ... local function here. Clean up style nits.
16843
16844 * locale/programs/ld-ctype.c (set_one_default): New function, broken
16845 out of ...
16846 (set_class_defaults): ... local function set_default here.
16847 Define set_default as a macro locally to pass constant parameters.
16848 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
16849 rather than a shared local.
16850
16851 * stdlib/rpmatch.c (try): New function, broken out of ...
16852 (rpmatch): ... local function here. Also, prototypify definition.
16853
16854 2014-09-12 Joseph Myers <joseph@codesourcery.com>
16855
16856 * scripts/soversions.awk: Do not handle configuration names.
16857 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
16858 vendor and os variables to soversions.awk.
16859 * configure.ac: Do not modify gnu-* host_os.
16860 * configure: Regenerated
16861 * shlib-versions: Remove first column with configuration names.
16862 * nptl/shlib-versions: Likewise.
16863 * nptl_db/shlib-versions: Likewise.
16864 * sysdeps/hppa/shlib-versions: Likewise.
16865 * sysdeps/m68k/shlib-versions: Likewise.
16866 * sysdeps/mach/hurd/shlib-versions: Likewise.
16867 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
16868 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
16869 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
16870 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
16871 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
16872 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
16873 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
16874 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16876 Likewise.
16877 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16878 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16879 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16880 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16881 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16882 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
16883 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
16884 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
16885
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
16887 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
16889 Regenerated.
16890 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
16891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
16892 Condition symbol version definitions on [HAVE_ELFV2_ABI].
16893
16894 * shlib-versions: Remove OS-specific entries. Moved to files in
16895 sysdeps.
16896 * sysdeps/mach/hurd/shlib-versions: New file.
16897 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
16898
16899 * nptl/shlib-versions: Remove architecture-specific entries.
16900 Moved to files in sysdeps.
16901 * shlib-versions: Likewise.
16902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
16903 file.
16904 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
16905 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
16906 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
16907 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
16908
16909 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
16910 (UDP_NO_CHECK6_RX): Likewise.
16911
16912 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16913
16914 * sysdeps/posix/sysconf.c (__sysconf): Spell
16915 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
16916
16917 2014-08-12 Florian Weimer <fweimer@redhat.com>
16918
16919 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
16920 loading.
16921 * iconv/Versions (__gconv_transliterate): Export for use from
16922 gconv modules.
16923 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
16924 (struct __gconv_trans_data, __gconv_trans_fct,
16925 __gconv_trans_context_fct, __gconv_trans_query_fct,
16926 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
16927 definitions.
16928 (struct __gconv_step_data): Remove __trans member.
16929 (__gconv_transliterate): Declaration moved from gconv_int.h. No
16930 longer hidden. Remove unused trans_data argument.
16931 * iconv/gconv_int.h (struct trans_struct): Remove definition.
16932 (__gconv_translit_find): Remove declaration.
16933 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
16934 prototype.
16935 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
16936 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
16937 trans_data argument. Add hidden definition.
16938 (__gconv_translit_find): Remove.
16939 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
16940 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
16941 * iconv/skeleton.c: Remove transliteration initialization.
16942 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
16943 __gconv_step_data initialization.
16944 * libio/iofwide.c (__libio_translit_): Remove.
16945 (_IO_fwide): Adjust struct __gconv_step_data initialization.
16946 * wcsmbs/btowc.c (__btowc): Likewise.
16947 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16948 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16949 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
16950 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
16951 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
16952 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
16953 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
16954 * wcsmbs/wctob.c (wctob): Likewise.
16955
16956 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16957
16958 [BZ #16194]
16959 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
16960 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
16961 register usage.
16962 * sysdeps/x86/Makefile: Adjust.
16963
16964 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
16965 Roland McGrath <roland@hack.frob.com>
16966
16967 * locale/weight.h: Add include guard.
16968 (findidx): Make static rather than auto; take new parameters
16969 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
16970 * locale/weightwc.h: Likewise.
16971 * posix/fnmatch_loop.c
16972 (FCT): Change type of EXTRA from int32_t to wint_t.
16973 Don't include either header inside the function.
16974 Call FINDIDX rather than findidx, and pass new arguments.
16975 #undef FINDIDX at the end of the file.
16976 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
16977 FINDIDX before including fnmatch_loop.c for the non-wide version.
16978 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
16979 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
16980 for the wide version.
16981 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
16982 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
16983 Pass new arguments to findidx.
16984 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
16985 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
16986 Don't #include it inside the function. Pass new arguments to findidx.
16987 * posix/regex_internal.h
16988 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
16989 (re_string_elem_size_at): Don't #include it inside the function.
16990 Pass new arguments to findidx.
16991 * string/strcoll_l.c: #include WEIGHT_H at top level.
16992 (get_next_seq): Don't #include it inside the function.
16993 Pass new arguments to findidx.
16994 (get_next_seq_nocache): Likewise.
16995 * string/strxfrm_l.c: #include WEIGHT_H at top level.
16996 (STRXFRM): Don't #include it inside the function.
16997 Pass new arguments to findidx.
16998
16999 2014-09-11 Florian Weimer <fweimer@redhat.com>
17000
17001 [BZ #17344]
17002 * malloc/malloc.c (unlink): Turn asserts into a call to
17003 malloc_printerr.
17004
17005 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
17006
17007 [BZ #17370]
17008 * libio/wfileops (do_ftell_wide): Free OUT.
17009
17010 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
17011
17012 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
17013
17014 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17015
17016 [BZ #17363]
17017 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
17018 group if the current group is empty.
17019
17020 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17021
17022 * benchtests/bench-memset.c (test_main): Add more test from size
17023 from 32 to 512 bytes.
17024 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17025 Add POWER8 memset object.
17026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17027 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
17028 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
17029 implementation.
17030 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
17031 Likewise.
17032 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
17033 multiarch POWER8 memset optimization.
17034 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
17035 POWER8 memset optimization.
17036
17037 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
17038 Remove bzero multiarch objects.
17039 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
17040 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
17041 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
17042 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
17043 Remove define.
17044 [__bzero]: Redefine to specific name.
17045 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
17046 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
17047 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
17048 define.
17049 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
17050 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
17051
17052 2014-09-10 Florian Weimer <fweimer@redhat.com>
17053
17054 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
17055 warnings into errors.
17056
17057 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
17058 __cxa_thread_atexit_impl prototype.
17059
17060 2014-09-09 Steve Ellcey <sellcey@mips.com>
17061
17062 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
17063 Fix capitalization of error message.
17064
17065 2014-09-09 Steve Ellcey <sellcey@mips.com>
17066
17067 * sysdeps/mips/preconfigure: Modify ABI tests.
17068
17069 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
17070
17071 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
17072
17073 2014-09-07 Roland McGrath <roland@hack.frob.com>
17074 Carlos O'Donell <carlos@systemhalted.org>
17075
17076 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
17077 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
17078 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
17079 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
17080 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
17081 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
17082 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
17083 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
17084 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
17085 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
17086 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
17087 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
17088 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
17089 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
17090 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
17091 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
17092 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
17093 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
17094 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
17095 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
17096 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
17097 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
17098 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
17099 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
17100 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
17101 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
17102 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
17103 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
17104 Deconditionalize the code that was previously under [RESET_PID].
17105 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
17106 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
17107 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
17108 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
17109 include sysdep.h.
17110
17111 2014-09-08 Allan McRae <allan@archlinux.org>
17112
17113 * version.h (RELEASE): Set to "development".
17114 (VERSION): Set to "2.20.90"
17115
17116 2014-09-07 Allan McRae <allan@archlinux.org
17117
17118 * version.h (RELEASE): Set to "stable".
17119 (VERSION): Set to "2.20"
17120 * include/features.h (__GLIBC_MINOR__): Set to 20.
17121
17122 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
17123 Liebler.
17124
17125 * po/ko.po: Update Korean translation from translation project.
17126
17127 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
17128
17129 [BZ #17354]
17130 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
17131 macro for handling signed relocations.
17132
17133 2014-09-03 Florian Weimer <fweimer@redhat.com>
17134
17135 [BZ #17325]
17136 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
17137 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
17138 assert.
17139 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
17140 * iconvdata/ibm935.c (BODY): Likewise.
17141 * iconvdata/ibm937.c (BODY): Likewise.
17142 * iconvdata/ibm939.c (BODY): Likewise.
17143 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
17144 assert.
17145 * iconvdata/Makefile (iconv-test.out): Pass module list to test
17146 script.
17147 * iconvdata/run-iconv-test.sh: New test loop for checking for
17148 decoder crashers.
17149
17150 2014-09-02 Khem Raj <raj.khem@gmail.com>
17151
17152 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
17153 libm_hidden_ver.
17154
17155 2014-09-01 Allan McRae <allan@archlinux.org>
17156
17157 * po/eo.po: Update Esperanto translation from translation project.
17158
17159 * po/ca.po: Update Catalan translation from translation project.
17160
17161 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
17162
17163 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
17164 __proc_dostop call.
17165
17166 2014-08-27 Mark Wielaard <mjw@redhat.com>
17167
17168 [BZ #17319]
17169 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
17170 to call set_thread_area instead of hand written asm.
17171 (__NR_set_thread_area): Removed define.
17172 (TLS_FLAG_WRITABLE): Likewise.
17173 (__ASSUME_SET_THREAD_AREA): Remove check.
17174 (TLS_EBX_ARG): Remove define.
17175 (TLS_LOAD_EBX): Likewise.
17176
17177 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17178
17179 Simplify atomicity of socket creation in bind.
17180
17181 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
17182 looking up the name after linking the file.
17183
17184 2014-08-27 Allan McRae <allan@archlinux.org>
17185
17186 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
17187
17188 2014-08-26 Florian Weimer <fweimer@redhat.com>
17189
17190 [BZ #17187]
17191 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
17192 trans_compare, open_translit, __gconv_translit_find):
17193 Remove module loading code.
17194
17195 2014-08-26 Allan McRae <allan@archlinux.org>
17196
17197 * po/vi.po: Update Vietnamese translation from translation project.
17198
17199 * po/uk.po: Update Ukrainian translation from translation project.
17200
17201 * po/fr.po: Update French translation from translation project.
17202
17203 * po/ru.po: Update Russian translation from translation project.
17204
17205 * po/pl.po: Update Polish translation from translation project.
17206
17207 * po/cs.po: Update Czech translation from translation project.
17208
17209 * po/de.po: Update German translation from translation project.
17210
17211 * po/bg.po: Update Bulgarian translation from translation project.
17212
17213 * po/sv.po: Update Sweedish translation from translation project.
17214
17215 * po/nl.po: Update Dutch translation from translation project.
17216
17217 * po/es.po: Update Spanish translation from translation project.
17218
17219 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17220
17221 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
17222
17223 * catgets/Makefile (CPPFLAGS-gencat): Remove.
17224 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
17225 (CPPFLAGS-iconvconfig): Likewise.
17226 * timezone/Makefile (CPPFLAGS-zic): Likewise.
17227
17228 * include/libc-symbols.h: Remove unnecessary check for
17229 NOT_IN_libc.
17230 * nptl/pthreadP.h: Likewise.
17231 * sysdeps/aarch64/setjmp.S: Likewise.
17232 * sysdeps/alpha/setjmp.S: Likewise.
17233 * sysdeps/arm/sysdep.h: Likewise.
17234 * sysdeps/i386/setjmp.S: Likewise.
17235 * sysdeps/m68k/setjmp.c: Likewise.
17236 * sysdeps/posix/getcwd.c: Likewise.
17237 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17238 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
17239 * sysdeps/s390/s390-32/setjmp.S: Likewise.
17240 * sysdeps/s390/s390-64/setjmp.S: Likewise.
17241 * sysdeps/sh/sh3/setjmp.S: Likewise.
17242 * sysdeps/sh/sh4/setjmp.S: Likewise.
17243 * sysdeps/unix/alpha/sysdep.h: Likewise.
17244 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
17245 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17246 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
17247 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
17248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
17249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
17250 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17251 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17252 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
17253 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
17254 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
17255 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
17256 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17257 * sysdeps/x86_64/setjmp.S: Likewise.
17258
17259 2014-08-13 Joseph Myers <joseph@codesourcery.com>
17260
17261 [BZ #17263]
17262 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
17263 <stdint.h>.
17264 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
17265 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
17266
17267 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17268
17269 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
17270
17271 [BZ #17262]
17272 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
17273 and __x86_64__ when disabling x87 inline functions.
17274
17275 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
17276
17277 [BZ #17259]
17278 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
17279 asm statement with __cpuid_count.
17280
17281 2014-08-12 Mike Frysinger <vapier@gentoo.org>
17282
17283 * configure.ac: Change __ehdr_start code to dereference the struct.
17284 Run readelf on the output to look for relocations.
17285 * configure: Regenerated.
17286
17287 2014-08-12 Joseph Myers <joseph@codesourcery.com>
17288
17289 [BZ #17261]
17290 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
17291 value to 0.
17292 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
17293
17294 2014-08-12 Roland McGrath <roland@hack.frob.com>
17295
17296 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
17297
17298 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
17299
17300 [BZ #16892]
17301 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
17302 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
17303
17304 2014-08-12 Sean Anderson <seanga2@gmail.com>
17305
17306 * malloc/malloc.c: Fix typo in comment.
17307
17308 2014-08-09 Allan McRae <allan@archlinux.org>
17309
17310 * Regenerate libc.po.
17311
17312 2014-08-08 Mike Frysinger <vapier@gentoo.org>
17313
17314 * intl/tst-gettext2.sh: Check every lang file for creation.
17315
17316 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
17317
17318 * sysdeps/aarch64/fpu/math_private.h
17319 (libc_feholdsetround_noex_aarch64_ctx): New function.
17320
17321 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
17322
17323 * sysdeps/arm/armv6/strcpy.S (strcpy):
17324 Fix performance issue in misaligned cases.
17325
17326 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17327
17328 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
17329 Move definition from termios.h.
17330 (struct termio): Likewise.
17331 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17332 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17333 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17334 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17335 Likewise.
17336 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
17337 Move definition to ioctl-types.h
17338 (struct termio): Likewise.
17339 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
17340 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
17341 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
17342 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
17343 Likewise.
17344
17345 2014-08-05 Richard Henderson <rth@redhat.com>
17346
17347 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
17348 exceptions.
17349 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
17350 Add fraiseexcpt.
17351 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
17352 Use __feraiseexcept.
17353 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
17354 Protect libm symbols with IS_IN_libm.
17355
17356 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
17357
17358 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
17359
17360 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
17361
17362 2014-08-04 Will Newton <will.newton@linaro.org>
17363
17364 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
17365 file.
17366
17367 2014-08-04 Mike Frysinger <vapier@gentoo.org>
17368
17369 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
17370 variants for each function.
17371
17372 2014-08-04 Roland McGrath <roland@hack.frob.com>
17373
17374 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
17375 appended ...
17376 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
17377 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
17378 appended ...
17379 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
17380 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
17381 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
17382 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
17383 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
17384 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
17385 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
17386 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
17387 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
17388 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
17389 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
17390 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
17391 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
17392 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
17393 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
17394 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
17395 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
17396 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
17397 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
17398 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
17399 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
17400 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
17401 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
17402 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
17403 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
17404 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
17405 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
17406 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
17407 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
17408 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
17409 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
17410 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
17411 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
17412 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
17413 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
17414 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
17415 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
17416 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
17417 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
17418 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
17419 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
17420 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
17421 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
17422 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
17423 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
17424 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
17425 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
17426 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
17427 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
17428 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
17429 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
17430 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
17431 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
17432 Update #include.
17433 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
17434 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
17435
17436 2014-08-04 Roland McGrath <roland@hack.frob.com>
17437
17438 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
17439 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
17440 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
17441 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
17442 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
17443 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
17444
17445 2014-08-04 Roland McGrath <roland@hack.frob.com>
17446
17447 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
17448 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
17449 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
17450 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
17451
17452 2014-08-04 Roland McGrath <roland@hack.frob.com>
17453
17454 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
17455 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
17456 (__libc_vfork): Define function under this name.
17457 (__vfork): Define as an alias.
17458 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
17459 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
17460
17461 2014-08-04 Roland McGrath <roland@hack.frob.com>
17462
17463 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
17464 that was previously under [RESET_PID].
17465 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
17466
17467 2014-08-04 Andreas Schwab <schwab@suse.de>
17468
17469 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
17470
17471 2014-08-03 Mike Frysinger <vapier@gentoo.org>
17472
17473 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
17474 (main): Likewise.
17475
17476 2014-08-01 Roland McGrath <roland@hack.frob.com>
17477
17478 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
17479
17480 2014-08-01 Richard Henderon <rth@redhat.com>
17481
17482 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
17483 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
17484 typo in exact zero test.
17485 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17487 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17488
17489 2014-08-01 Roland McGrath <roland@hack.frob.com>
17490
17491 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
17492 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
17493 * sysdeps/arm/sysdep.h: ... here.
17494 [!__ASSEMBLER__]: Include <stdint.h>.
17495
17496 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
17497
17498 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
17499 (HAVE_WCTYPE_H): Likewise.
17500 (HAVE_ISWCTYPE): Likewise.
17501 (ENABLE_NLS): Likewise.
17502 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
17503 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
17504
17505 * posix/regex_internal.c: Check if DEBUG is defined and is
17506 set.
17507
17508 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
17509 (HAVE_MBSRTOWCS): Likewise.
17510 * posix/fnmatch.c: Include string.h unconditionally.
17511
17512 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
17513
17514 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
17515 reversal.
17516
17517 2014-07-31 Roland McGrath <roland@hack.frob.com>
17518
17519 * sysdeps/generic/safe-fatal.h: New file.
17520 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
17521 * nptl/forward.c: Include it.
17522 (__pthread_unwind): Use __safe_fatal as default action, rather
17523 than a bogus use of INTERNAL_SYSCALL that could never work.
17524
17525 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
17526 * configure.ac (libc_cv_builtin_trap): New test.
17527 * configure: Regenerated.
17528 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
17529 (ABORT_INSTRUCTION): Define using __builtin_trap.
17530
17531 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
17532 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
17533 * sysdeps/nptl/nptl-signals.h: New file.
17534 * nptl/pthreadP.h: Include <nptl-signals.h>.
17535
17536 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17537
17538 * sysdeps/s390/s390-64/utf16-utf32-z9.c
17539 (ONE_DIRECTION): Define.
17540 * sysdeps/s390/s390-64/utf8-utf16-z9.c
17541 (ONE_DIRECTION): Define.
17542 * sysdeps/s390/s390-64/utf8-utf32-z9.c
17543 (ONE_DIRECTION): Define.
17544
17545 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
17546
17547 * sysdeps/s390/Makefile: Delete file.
17548 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
17549 * sysdeps/s390/__longjmp.c: Delete file.
17550 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
17551 Remove fields __flags and __reserved.
17552 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
17553 and add versioning.
17554 * sysdeps/s390/rtld-__longjmp.c: Delete file.
17555 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
17556 * sysdeps/s390/rtld-setjmp.S: Likewise.
17557 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
17558 * sysdeps/s390/s390-32/__longjmp.c: ... here.
17559 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
17560 * sysdeps/s390/s390-32/setjmp.S: ... here.
17561 Add versioning.
17562 (__sigsetjmp): Remove setting __flags field.
17563 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
17564 * sysdeps/s390/s390-64/__longjmp.c: ... here.
17565 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
17566 * sysdeps/s390/s390-64/setjmp.S: ... here.
17567 Add versioning.
17568 (__sigsetjmp): Remove setting __flags field.
17569 * sysdeps/s390/setjmp.S: Delete file.
17570 * sysdeps/s390/sigjmp.c: Likewise.
17571 * sysdeps/s390/v1-longjmp.c: Likewise.
17572 * sysdeps/s390/v1-setjmp.h: Likewise.
17573 * sysdeps/s390/v1-sigjmp.c: Likewise.
17574 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
17575 Remove v1-longjmp_chk.
17576 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
17577 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
17578 Include debug/longjmp_chk.c and add versioning.
17579 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
17580 Include nptl/pt-longjmp.c and add versioning.
17581 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
17582 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
17583 Include __longjmp.c.
17584 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
17585 Move to ...
17586 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
17587 (__getcontext): Remove setting __flags field.
17588 Add versioning.
17589 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
17590 Don't restore upper high grps.
17591 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
17592 Likewise.
17593 (__swapcontext): Remove setting uc_flags field.
17594 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
17595 Delete file.
17596 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
17597 Include __longjmp.c.
17598 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
17599 Move to ...
17600 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
17601 (__getcontext): Remove setting __flags field.
17602 Add versioning.
17603 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
17604 (__swapcontext): Remove setting uc_flags field.
17605 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
17606 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
17607 Remove fields uc_high_gprs and __reserved.
17608 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
17609 New file with reverted content.
17610 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
17611 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
17612 Regenerated.
17613 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
17614 Regenerated.
17615
17616 2014-07-31 Andreas Schwab <schwab@suse.de>
17617
17618 * config.h.in (HAVE_IFUNC): Define to 0.
17619 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
17620 definedness.
17621
17622 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
17623
17624 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17625 memmove-avx-unaligned, memcpy-avx-unaligned and
17626 mempcpy-avx-unaligned.
17627 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17628 Add tests for AVX memcpy functions.
17629 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
17630 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
17631 memcpy_chk.
17632 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
17633 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
17634 memmove_chk.
17635 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
17636 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
17637 mempcpy_chk.
17638 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
17639 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
17640 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
17641
17642 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17643
17644 [BZ #17213]
17645 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
17646 powerpc64le.
17647
17648 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
17649
17650 [BZ #16839]
17651 * manual/llio.texi: Add section about open file description locks.
17652 * manual/examples/ofdlocks.c: Example of open file description
17653 lock usage.
17654 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
17655 F_OFD_SETLK, and F_OFD_SETLKW.
17656
17657 2014-07-23 Allan McRae <allan@archlinux.org>
17658
17659 * po/es.po: Update Spanish translation from translation project.
17660
17661 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
17662
17663 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
17664
17665 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
17666
17667 [BZ #17078]
17668 * sysdeps/arm/dl-machine.h (elf_machine_rela)
17669 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
17670 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
17671
17672 2014-07-17 Joseph Myers <joseph@codesourcery.com>
17673
17674 [BZ #17088]
17675 * math/fesetenv.c (__fesetenv)
17676 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
17677 * math/feupdateenv.c (__feupdateenv)
17678 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
17679
17680 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
17681 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
17682 (__ASSUME_SOCKETCALL): Do not define.
17683
17684 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
17685 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
17686 (__ASSUME_SOCKETCALL): Do not define.
17687 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
17688 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17689 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17690 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
17691 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17692 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
17693 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17694 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17695
17696 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
17697 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
17698 (__ASSUME_SOCKETCALL): Do not define.
17699 (__ASSUME_IPC64): Define unconditionally.
17700 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17701 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17702 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
17703 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17704 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
17705 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17706 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
17707 Likewise.
17708
17709 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
17710 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
17711 (__ASSUME_SOCKETCALL): Do not define.
17712 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
17713 (__ASSUME_FUTEX_LOCK_PI): Likewise.
17714 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17715 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17716 (__ASSUME_REQUEUE_PI): Define unconditionally.
17717 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
17718 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
17719 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17720 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
17721 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17722 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17723
17724 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
17725 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
17726 (__ASSUME_SOCKETCALL): Do not define.
17727 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
17728 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17729 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17730 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
17731 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17732 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17733
17734 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
17735 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
17736 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
17737 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
17738 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17739 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
17740 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
17741 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
17742 (__ASSUME_GETCPU_SYSCALL): Likewise.
17743
17744 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
17745 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
17746 cases for individual architectures.
17747 * sysdeps/gnu/configure: Regenerated.
17748 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
17749 LIBC_SLIBDIR_RTLDDIR.
17750 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
17751 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
17752 LIBC_SLIBDIR_RTLDDIR.
17753 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
17754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
17755 LIBC_SLIBDIR_RTLDDIR.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
17757 Regenerated.
17758 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
17759 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
17760 file.
17761 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
17762 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
17763 file.
17764 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
17765 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
17766 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
17768
17769 * sysdeps/aarch64/shlib-versions: Move to ...
17770 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
17771 * sysdeps/alpha/shlib-versions: Move to ...
17772 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
17773 * sysdeps/arm/shlib-versions: Move to ...
17774 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
17775 * sysdeps/hppa/shlib-versions: Move all contents except for
17776 libgcc_s entry to ...
17777 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
17778 entry from ...
17779 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
17780 * sysdeps/ia64/shlib-versions: Move to ...
17781 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
17782 entry from ...
17783 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
17784 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
17785 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
17786 * sysdeps/microblaze/shlib-versions: Move to ...
17787 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
17788 * sysdeps/mips/shlib-versions: Move to ...
17789 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
17790 entry from ...
17791 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
17792 * sysdeps/tile/shlib-versions: Move to ...
17793 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
17794 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
17795 from ...
17796 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
17797 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
17798 entry from ...
17799 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
17800
17801 2014-07-17 Will Newton <will.newton@linaro.org>
17802
17803 * sysdeps/arm/bits/atomic.h
17804 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
17805 (__arch_compare_and_exchange_bool_16_int): Likewise.
17806 (__arch_compare_and_exchange_bool_64_int): Likewise.
17807
17808 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
17809 into an #else block.
17810
17811 2014-07-16 Roland McGrath <roland@hack.frob.com>
17812
17813 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
17814 just Linux configurations. Test empirically that the compiler sets
17815 __ARM_EABI__, rather than using the tuple to decide.
17816 * sysdeps/arm/preconfigure: Regenerated.
17817 * sysdeps/unix/sysv/linux/arm/configure: File removed.
17818 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
17819 contents appended ...
17820 * sysdeps/arm/configure.ac: ... here.
17821 * sysdeps/arm/configure: Regenerated.
17822
17823 2014-07-15 Roland McGrath <roland@hack.frob.com>
17824
17825 * nptl/pthread_kill.c: New file.
17826 * nptl/pthread_sigmask.c: New file.
17827 * nptl/pthread_sigqueue.c: New file.
17828
17829 * sysdeps/nptl/lowlevellock.h: New file.
17830 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
17831 * sysdeps/nptl/lowlevellock-futex.h: New file.
17832
17833 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
17834 Remove dead declarations.
17835
17836 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
17837
17838 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
17839 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
17840 config-cflags-avx2.
17841 * sysdeps/x86_64/configure.ac: Likewise.
17842 * sysdeps/i386/configure: Regenerated.
17843 * sysdeps/x86_64/configure: Likewise.
17844 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17845 memset-avx2 only if config-cflags-avx2 is yes.
17846 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17847 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
17848 defined.
17849 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
17850 only if HAVE_AVX2_SUPPORT is defined.
17851 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17852
17853 2014-07-14 Alan Modra <amodra@gmail.com>
17854
17855 [BZ #17153]
17856 * elf/elf.h (DT_PPC64_NUM): Correct value.
17857 * NEWS: Add to fixed bug list.
17858
17859 2014-07-13 Jim Meyering <meyering@fb.com>
17860
17861 [BZ 17150]
17862 regex: don't deref NULL upon heap allocation failure
17863 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
17864 failure in one more place.
17865 To trigger the segfault, configure grep -with-included-regex,
17866 build it, and run these commands:
17867 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
17868
17869 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
17870
17871 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17872
17873 2014-07-11 Richard Henderson <rth@redhat.com>
17874
17875 * sysdeps/aarch64/libm-test-ulps: Update.
17876
17877 2014-07-10 Florian Weimer <fweimer@redhat.com>
17878
17879 [BZ #17135]
17880 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
17881 * nptl/allocatestack.c (__nptl_setxid_error): New function.
17882 (__nptl_setxid): Initialize error member. Call
17883 __nptl_setxid_error.
17884 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
17885 * nptl/descr.h (struct xid_command): Add error member.
17886 * nptl/tst-setuid3.c: New file.
17887 * nptl/Makefile (tests): Add it.
17888
17889 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17890
17891 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
17892 New define.
17893 (__lll_trylock): Use __lll_base_trylock.
17894 (__lll_cond_trylock): Likewise.
17895
17896 2014-07-10 Roland McGrath <roland@hack.frob.com>
17897
17898 * nptl/pthread_create.c (start_thread): Use atomic_or and
17899 lll_futex_wake directly rather than lll_robust_dead.
17900 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17901 (lll_robust_dead): Macro removed.
17902 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
17903 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17904 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17905 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17906 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17907 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17908 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17909 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17910 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17911 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17912 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17913 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17914 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17915 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17916 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17917
17918 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17919 Use atomic_compare_and_exchange_val_acq directly rather than
17920 lll_robust_trylock.
17921 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
17922 (__lll_robust_trylock, lll_robust_trylock): Removed.
17923 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
17924 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
17925 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
17926 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
17927 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
17928 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
17929 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
17930 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
17931 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
17932 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
17933 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
17934 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
17935 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
17936 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
17937
17938 2014-07-02 Florian Weimer <fweimer@redhat.com>
17939
17940 * manual/locale.texi (Locale Names): New section documenting
17941 locale name syntax. Adjust menu and node chaining accordingly.
17942 (Choosing Locale): Reference Locale Names, Locale Categories.
17943 Mention setting LC_ALL=C. Reflect that name syntax is now
17944 documented.
17945 (Locale Categories): New section title. Reference Locale Names.
17946 LC_ALL is an environment variable, but not a category.
17947 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
17948 description, now in Locale Name. Reference that section. Locale
17949 name syntax is now documented.
17950
17951 2014-07-02 Florian Weimer <fweimer@redhat.com>
17952
17953 [BZ #17137]
17954 * locale/findlocale.c (name_present, valid_locale_name): New
17955 functions.
17956 (_nl_find_locale): Use the loc_name variable to store name
17957 candidates. Call name_present and valid_locale_name to check and
17958 validate locale names. Return an error if the locale is invalid.
17959
17960 2014-07-02 Florian Weimer <fweimer@redhat.com>
17961
17962 * locale/setlocale.c (setlocale): Use strdup for allocating
17963 composite name copy.
17964
17965 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
17966
17967 Sync up with gnulib.
17968 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
17969 [!_LIBC && ENABLE_NLS]: Include gettext.h.
17970 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
17971 and _GL_ARG_NONNULL.
17972 [USE_UNLOCKED_IO]: Include unlocked-io.h.
17973 [!_LIBC]: Include code for Windows and Cygwin.
17974 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
17975 Include prototype for int strerror_r.
17976 [!_LIBC] (is_open): New function.
17977 (flush_stdout): New function.
17978 (print_errno_message): Use it.
17979 (error): Likewise.
17980 (error_at_line): Likewise.
17981 (error_tail) Add function attribute macros. Use
17982 __builtin_expect.
17983
17984 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
17985
17986 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
17987
17988 * io/ftw.c: Include sys/param.h unconditionally.
17989
17990 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
17991
17992 [BZ #17125]
17993 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
17994 libc_freeres_ptr.
17995 (freecache): New function to free CACHE on exit.
17996
17997 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
17998 initialization.
17999
18000 2014-07-09 David S. Miller <davem@davemloft.net>
18001
18002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18003
18004 * sysdeps/sparc/nptl/internaltypes.h: Delete.
18005 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
18006 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
18007 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
18008 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
18009 * sysdeps/sparc/nptl/sem_init.c: Likewise.
18010 * sysdeps/sparc/nptl/sem_post.c: Likewise.
18011 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
18012 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
18013 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
18014 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
18015 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
18016 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
18017
18018 2014-07-09 Andreas Schwab <schwab@suse.de>
18019
18020 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
18021 output.
18022 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
18023 (do_test): Likewise.
18024
18025 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
18026
18027 2014-07-09 Will Newton <will.newton@linaro.org>
18028
18029 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
18030 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
18031 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
18032 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
18033 * sysdeps/hppa/start.S (_start): Likewise.
18034
18035 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
18036
18037 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
18038
18039 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
18040 defined.
18041
18042 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18043
18044 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
18045 after checking that it is non-NULL.
18046
18047 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
18048
18049 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18050
18051 * sysdeps/powerpc/memmove.c: Remove file.
18052 * sysdeps/powerpc/powerpc32/power4/memcopy.h
18053 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
18054 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
18055 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
18056 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
18057 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
18058 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
18059 string memmove instead of removed powerpc one.
18060
18061 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18062 [weak_alias]: Fix compiler warning due trailing data.
18063 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
18064 [weak_alias]: Likewise.
18065 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
18066 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
18067
18068 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18069 (__libc_ifunc_impl_list): Add memmove functions.
18070
18071 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
18072
18073 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
18074 Remove code.
18075 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
18076 Likewise
18077 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
18078 Likewise
18079 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
18080 Likewise
18081 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
18082 Likewise
18083 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
18084 Likewise
18085 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
18086 Likewise
18087 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
18088 Likewise
18089 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
18090 Likewise
18091 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
18092 Likewise
18093 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
18094 Likewise
18095 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
18096 Likewise
18097 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
18098 Likewise
18099 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
18100 Likewise
18101 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
18102 Likewise
18103 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
18104 Likewise
18105 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
18106 Likewise
18107
18108 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18109
18110 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
18111 to avoid alignment traps in non-cacheable memory.
18112 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
18113
18114 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
18115 multiarch objects.
18116 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
18117 file: multiarch power7 memmove.
18118 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
18119 multiarch default memmove.
18120 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
18121 multiarch memove for powerpc32/power4.
18122
18123 * string/bcopy.c: Use full path to include memmove.c.
18124 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
18125 multiarch objects.
18126 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
18127 bcopy for powerpc64.
18128 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
18129 bcopy for powerpc64.
18130 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
18131 and memmove implementations.
18132 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
18133 optimized multiarch memmove for POWER7/powerpc64.
18134 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
18135 default multiarch memmove for powerpc64.
18136 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
18137 multiarch for powerpc64.
18138 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
18139 for POWER7/powerpc64.
18140 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
18141 memmove for POWER7/powerpc64.
18142
18143 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
18144 glibc default one.
18145
18146 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
18147 __ELF_NATIVE_CLASS equal to 64.
18148
18149 2014-07-07 Roland McGrath <roland@hack.frob.com>
18150
18151 * sysdeps/nptl/lowlevellock.h: File removed.
18152
18153 * NEWS: NPTL is no longer an add-on!
18154 * nptl/internaltypes.h: Moved ...
18155 * sysdeps/nptl/internaltypes.h: ... here.
18156 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
18157 * sysdeps/nptl/fork.c: Likewise.
18158 * sysdeps/nptl/gai_misc.h: Likewise.
18159 * sysdeps/nptl/librt-cancellation.c: Likewise.
18160 * sysdeps/nptl/jmp-unwind.c: Likewise.
18161 * sysdeps/nptl/setxid.h: Likewise.
18162 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
18163 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
18164 * sysdeps/unix/sysv/linux/arm/Implies: New file.
18165 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
18166 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
18167 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
18168 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
18169 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
18170 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
18171 * sysdeps/unix/sysv/linux/mips/Implies: New file.
18172 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
18173 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
18174 * sysdeps/unix/sysv/linux/sh/Implies: New file.
18175 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
18176 * sysdeps/unix/sysv/linux/tile/Implies: New file.
18177 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
18178 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
18179 * nptl/Makeconfig: Moved ...
18180 * sysdeps/nptl/Makeconfig: ... here.
18181 * nptl/configure: File removed.
18182 * nptl/ANNOUNCE: File removed.
18183 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
18184 * sysdeps/unix/sysv/linux/configure: Regenerated.
18185
18186 * nptl/Makefile (routines): Add libc_pthread_init,
18187 libc_multiple_threads, register-atfork and unregister-atfork.
18188 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
18189 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
18190 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
18191 pthread-pi-defines.sym, structsem.sym.
18192 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
18193 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
18194 [$(subdir) = nptl] (tests): Add tst-setgetname.
18195 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
18196 * sysdeps/unix/sysv/linux/sigaction.c: Just include
18197 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
18198 [!LIBC_SIGACTION]: Remove aliases.
18199 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
18200 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
18201 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
18202 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
18203 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
18204 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
18205 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
18206 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
18207 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
18208 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
18209 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
18210 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
18211 __libc_allocate_rtsig_private.
18212 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
18213 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
18214 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
18215 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
18216 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
18217 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
18218 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
18219 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
18220 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
18221 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
18222 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
18223 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
18224 * nptl/internaltypes.h: ... here.
18225 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
18226 * sysdeps/nptl/jmp-unwind.c: ... here.
18227 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
18228 * nptl/libc-lowlevellock.c: ... here.
18229 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
18230 * nptl/libc_multiple_threads.c: ... here.
18231 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
18232 * nptl/libc_pthread_init.c: ... here.
18233 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
18234 * nptl/lowlevelbarrier.sym: ... here.
18235 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
18236 * nptl/lowlevelcond.sym: ... here.
18237 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
18238 * nptl/lowlevellock.c: ... here.
18239 * nptl/lowlevellock.h: Moved ...
18240 * sysdeps/nptl/lowlevellock.h: ... here.
18241 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
18242 * nptl/lowlevelrobustlock.c: ... here.
18243 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
18244 * nptl/lowlevelrobustlock.sym: ... here.
18245 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
18246 * nptl/lowlevelrwlock.sym: ... here.
18247 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
18248 * nptl/pt-fork.c: ... here.
18249 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
18250 * nptl/pthread-pi-defines.sym: ... here.
18251 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
18252 * nptl/pthread_attr_getaffinity.c: ... here.
18253 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
18254 * nptl/pthread_attr_setaffinity.c: ... here.
18255 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
18256 * nptl/pthread_mutex_cond_lock.c: ... here.
18257 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
18258 Update #include.
18259 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
18260 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
18261 * nptl/pthread_once.c: ... here, replacing old file.
18262 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
18263 * nptl/pthread_yield.c: ... here.
18264 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
18265 * nptl/register-atfork.c: ... here.
18266 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
18267 * nptl/sem_post.c: ... here.
18268 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
18269 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
18270 * nptl/sem_timedwait.c: ... here.
18271 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
18272 * nptl/sem_trywait.c: ... here.
18273 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
18274 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
18275 * nptl/sem_wait.c: ... here.
18276 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
18277 * nptl/structsem.sym: ... here.
18278 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
18279 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
18280 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
18281 * nptl/unregister-atfork.c: ... here.
18282 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
18283 * nptl/unwindbuf.sym: ... here.
18284 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
18285 * sysdeps/nptl/fork.c: ... here.
18286 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
18287 * sysdeps/nptl/fork.h: ... here.
18288 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
18289 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
18290 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
18291 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
18292 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
18293 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
18294 * sysdeps/unix/sysv/linux/getpid.c: ... here.
18295 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
18296 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
18297 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
18298 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
18299 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
18300 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
18301 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
18302 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
18303 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
18304 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
18305 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
18306 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
18307 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
18308 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
18309 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
18310 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
18311 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
18312 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
18313 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
18314 * sysdeps/unix/sysv/linux/raise.c: ... here.
18315 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
18316 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
18317 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
18318 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
18319 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
18320 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
18321 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
18322 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
18323 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
18324 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
18325 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
18326 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
18327 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
18328 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
18329 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
18330
18331 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18332
18333 * sysdeps/generic/memcopy.h: Add comment for
18334 MEMCPY_OK_FOR_FWD_MEMMOVE.
18335
18336 2014-07-04 Will Newton <will.newton@linaro.org>
18337
18338 * string/memchr.c: Merge from gnulib.
18339 [_LIBC]: Remove conditionals.
18340 (__ptr_t): Remove define.
18341 (LONG_MAX_32_BITS): Likewise.
18342 (LONG_MAX): Likewise.
18343 (MEMCHR): Use ANSI prototype and optimize algorithm.
18344
18345 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
18346
18347 2014-07-03 Roland McGrath <roland@hack.frob.com>
18348
18349 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
18350 (lll_futex_timed_wait_bitset): Fix syscall argument count.
18351
18352 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
18353 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
18354 in a bare environment with no <stdlib.h> installed.
18355 * sysdeps/nptl/configure: Regenerated.
18356
18357 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
18358
18359 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
18360 AC_EGREP_CPP for kernel header checks, so they only succeed if
18361 including <linux/version.h> actually works right.
18362 * sysdeps/unix/sysv/linux/configure: Regenerated.
18363
18364 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
18365 value so it's not diagnosed as unused.
18366
18367 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
18368 thing) with "ifeq ($(subdir),rt)".
18369
18370 2014-07-03 Richard Henderson <rth@redhat.com>
18371
18372 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
18373 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
18374 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
18375
18376 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
18377 (math_force_eval): New.
18378
18379 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
18380 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
18381
18382 * sysdeps/alpha/fpu/s_round.c: Remove file.
18383 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
18384
18385 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
18386 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
18387 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
18388 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
18389 (_dl_start, print_statistics): Likewise.
18390 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
18391 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
18392
18393 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18394 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18395 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18396 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18397 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18398 (HP_SMALL_TIMING_AVAIL): Define.
18399 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18400 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18401 (HP_SMALL_TIMING_AVAIL): Define.
18402 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18403 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
18404
18405 * sysdeps/aarch64/hp-timing.h: New file.
18406
18407 * sysdeps/generic/hp-timing.h: Remove dead comment.
18408 * sysdeps/generic/hp-timing-common.h: New file.
18409 * sysdeps/alpha/hp-timing.h: Include it.
18410 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
18411 * sysdeps/i386/i686/hp-timing.h: Likewise.
18412 * sysdeps/ia64/hp-timing.h: Likewise.
18413 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
18414 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
18415 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
18416 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
18417 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
18418 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
18419 (hp_timing_t): New.
18420
18421 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
18422 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
18423 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
18424 * elf/rtld.c (_dl_start_final): Likewise.
18425 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
18426 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18427 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18428 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18429 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18430 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18431 (HP_TIMING_DIFF_INIT): Remove.
18432 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18433 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
18434 (HP_TIMING_DIFF_INIT): Remove.
18435 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
18436 * sysdeps/i386/i686/hp-timing.c: Remove file.
18437 * sysdeps/x86_64/hp-timing.c: Remove file.
18438 * sysdeps/ia64/hp-timing.c: Remove file.
18439 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
18440 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
18441 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
18442 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
18443
18444 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
18445 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
18446 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
18447 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18448 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
18449 (HP_TIMING_ACCUM): Remove.
18450 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18451 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
18452 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
18453
18454 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
18455 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
18456 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
18457 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
18458 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
18459 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18460 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
18461 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
18462
18463 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
18464
18465 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
18466
18467 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
18468
18469 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18470
18471 Sync up with gettext.
18472 * intl/loadmsgcat.c: Define O_BINARY if not defined.
18473 [_MSC_VER]: Include malloc.h
18474 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
18475 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
18476 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
18477 TEMP_FAILURE_RETRY. Cast return of alloca.
18478 [!_LIBC] Call gl_rwlock_init.
18479 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
18480
18481 2014-07-02 Roland McGrath <roland@hack.frob.com>
18482
18483 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
18484 before checking its value.
18485
18486 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18487
18488 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
18489
18490 * debug/memcpy_chk.c: Don't include pagecopy.h.
18491 * debug/mempcpy_chk.c: Likewise.
18492 * string/memcpy.c: Likewise.
18493 * string/memmove.c: Likewise.
18494 * sysdeps/powerpc/memmove.c: Likewise.
18495 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
18496 definition of PAGE_COPY_FWD_MAYBE here...
18497 * sysdeps/generic/pagecopy.h: ... from here.
18498 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
18499
18500 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
18501 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18502
18503 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
18504 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
18505 optimizations.
18506 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18507 (__libc_ifunc_impl_list): Likewise.
18508 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
18509 multiarch strcat for PPC64.
18510 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
18511 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
18512
18513 2014-07-02 Roland McGrath <roland@hack.frob.com>
18514
18515 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
18516
18517 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18518
18519 * intl/loadmsgcat.c: Remove declaration of
18520 get_sysdep_segment_value.
18521 (get_sysdep_segment_value): Use ISO C style.
18522 (_nl_load_domain): Use ISO C style. Get rid of redundant
18523 semicolon. Fix typo and formatting in comment.
18524 (_nl_unload_domain): Use ISO C style.
18525
18526 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
18527
18528 2014-07-02 Will Newton <will.newton@linaro.org>
18529
18530 * malloc/obstack.c: Merge from gnulib master.
18531 [HAVE_CONFIG_H]: Remove conditional code.
18532 [!_LIBC]: Include config.h.
18533 [!ELIDE_CODE]: Don't include inttypes.h, include
18534 stdint.h unconditionally.
18535 (print_and_abort): Mark as _Noreturn.
18536 (_obstack_allocated_p): Mark as __attribute_pure__.
18537 (obstack_free): Rename to __obstack_free.
18538 [!__attribute__]: Remove conditional code.
18539 * malloc/obstack.h: Merge from gnulib master.
18540 [__cplusplus]: Move conditional down.
18541 [!__attribute_pure__]: Define __attribute_pure__ here
18542 if it is not already defined.
18543 (_obstack_memory_used): Mark as __attribute_pure__.
18544 [!__obstack_free]: Define as obstack_free.
18545 [__GNUC__]: Remove check for ancient NeXT gcc.
18546
18547 2014-07-02 Will Newton <will.newton@linaro.org>
18548 Paul Eggert <eggert@cs.ucla.edu>
18549
18550 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
18551
18552 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18553
18554 * resolv/gethnamaddr.c: Add comment warning that the file is
18555 not maintained.
18556
18557 2014-07-01 Carlos O'Donell <carlos@redhat.com>
18558
18559 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
18560 entries.
18561
18562 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
18563 entry for aio_cancel and aio_cancel64.
18564 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
18565 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
18566 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
18567 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
18568 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
18569 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
18570 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
18571 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
18572 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
18573 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
18574 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
18575 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
18576 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
18577
18578 2014-07-01 Roland McGrath <roland@hack.frob.com>
18579
18580 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
18581 * nptl/pthread_mutex_lock.c: Likewise.
18582 * nptl/pthread_mutex_timedlock.c: Likewise.
18583 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
18584
18585 2014-07-01 Richard henderson <rth@redhat.com>
18586
18587 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
18588 (__isnan, __isnanl): Remove.
18589 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
18590
18591 * sysdeps/alpha/fpu/libm-test-ulps: Update.
18592
18593 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
18594
18595 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18596
18597 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
18598
18599 * resolv/nss_dns/dns-host.c (getanswer_r)
18600 [MULTI_PTRS_ARE_ALIASES]: Remove code.
18601
18602 2014-07-01 Joseph Myers <joseph@codesourcery.com>
18603
18604 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18605 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
18606 undefine.
18607 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
18608 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
18609
18610 2014-07-01 Roland McGrath <roland@hack.frob.com>
18611
18612 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
18613 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
18614
18615 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
18616 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
18617
18618 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
18619 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
18620 ... here.
18621 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
18622 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
18623
18624 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
18625 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
18626 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
18627 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
18628
18629 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
18630 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
18631 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
18632 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
18633 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
18634 Moved ...
18635 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
18636 ... here.
18637 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
18638 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
18639 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
18640 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
18641 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
18642 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
18643 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
18644 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
18645 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
18646 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
18647 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
18648 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
18649 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
18650 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
18651 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
18652 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
18653 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
18654 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
18655 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
18656 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
18657 ... here.
18658 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
18659 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
18660 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
18661 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
18662 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
18663 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
18664 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
18665 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
18666
18667 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
18668
18669 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
18670 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
18671 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
18672 Add sysdep.
18673
18674 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18675
18676 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18677
18678 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18679
18680 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
18681 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18682
18683 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18684
18685 * sysdeps/arm/libm-test-ulps: Regenerated.
18686
18687 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18688 Roland McGrath <roland@hack.frob.com>
18689
18690 * test-skeleton.c (signal_handler): Kill the whole process group
18691 before killing the child individually.
18692 (main): Report any failure on `setpgid'.
18693
18694 2014-06-30 Roland McGrath <roland@hack.frob.com>
18695
18696 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
18697 from _TLS_H to _ARM_NPTL_TLS_H.
18698 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
18699 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
18700
18701 2014-06-30 Joseph Myers <joseph@codesourcery.com>
18702
18703 [BZ #16539]
18704 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
18705 (__expm1l): Return argument unchanged when small but not
18706 subnormal.
18707
18708 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
18709 include macro name.
18710 (_FP_UNPACK_RAW_1_P): Likewise.
18711 (_FP_PACK_RAW_1): Likewise.
18712 (_FP_PACK_RAW_1_P): Likewise.
18713 (_FP_MUL_MEAT_1_wide): Likewise.
18714 (_FP_MUL_MEAT_DW_1_hard): Likewise.
18715 (_FP_MUL_MEAT_1_hard): Likewise.
18716 (_FP_DIV_MEAT_1_imm): Likewise.
18717 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
18718 (_FP_DIV_MEAT_1_udiv): Likewise.
18719 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
18720 (_FP_UNPACK_RAW_2): Likewise.
18721 (_FP_UNPACK_RAW_2_P): Likewise.
18722 (_FP_PACK_RAW_2): Likewise.
18723 (_FP_PACK_RAW_2_P): Likewise.
18724 (_FP_MUL_MEAT_DW_2_wide): Likewise.
18725 (_FP_MUL_MEAT_2_wide): Likewise.
18726 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
18727 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
18728 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
18729 (_FP_MUL_MEAT_2_gmp): Likewise.
18730 (_FP_DIV_MEAT_2_udiv): Likewise.
18731 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
18732 (_FP_FRAC_SRL_4): Likewise.
18733 (_FP_FRAC_SRST_4): Likewise.
18734 (_FP_FRAC_SRS_4): Likewise.
18735 (_FP_UNPACK_RAW_4): Likewise.
18736 (_FP_UNPACK_RAW_4_P): Likewise.
18737 (_FP_PACK_RAW_4): Likewise.
18738 (_FP_PACK_RAW_4_P): Likewise.
18739 (_FP_MUL_MEAT_DW_4_wide): Likewise.
18740 (_FP_MUL_MEAT_4_wide): Likewise.
18741 (_FP_MUL_MEAT_4_gmp): Likewise.
18742 (umul_ppppmnnn): Likewise.
18743 (_FP_DIV_MEAT_4_udiv): Likewise.
18744 (__FP_FRAC_ADD_4): Likewise.
18745 (__FP_FRAC_SUB_3): Likewise.
18746 (__FP_FRAC_SUB_4): Likewise.
18747 (__FP_FRAC_DEC_3): Likewise.
18748 (__FP_FRAC_DEC_4): Likewise.
18749 (__FP_FRAC_ADDI_4): Likewise.
18750 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
18751 (_FP_FRAC_SRL_8): Likewise.
18752 (_FP_FRAC_SRS_8): Likewise.
18753
18754 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
18755 include macro name.
18756 (FP_UNPACK_RAW_EP): Likewise.
18757 (FP_PACK_RAW_E): Likewise.
18758 (FP_PACK_RAW_EP): Likewise.
18759 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
18760 (_FP_ISSIGNAN): Likewise.
18761 (_FP_ADD_INTERNAL): Likewise.
18762 (_FP_FMA): Likewise.
18763 (_FP_CMP): Likewise.
18764 (_FP_SQRT): Likewise.
18765 (_FP_TO_INT): Likewise.
18766 (_FP_FROM_INT): Likewise.
18767 (FP_EXTEND): Likewise.
18768 (_FP_DIV_MEAT_N_loop): Likewise.
18769
18770 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
18771
18772 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
18773 throughout.
18774
18775 2014-06-29 Joseph Myers <joseph@codesourcery.com>
18776
18777 [BZ #17097]
18778 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
18779 result with correct sign in case of exponents that produce
18780 overflow except for X very close to 1.
18781
18782 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
18783
18784 mktime: merge #if/#ifdef usage from glibc
18785 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
18786 as that works with both Glibc's and Gnulib's style.
18787 See thread starting at Siddhesh Poyarekar's bug report at:
18788 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
18789
18790 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
18791
18792 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
18793 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
18794 * sysdeps/tile/tilegx/memmove.c: Remove file.
18795
18796 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18797
18798 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
18799 abi-name definition.
18800 * scripts/soversions.awk: Do not handle or generate ABI lines.
18801 * shlib-versions: Remove ABI entries.
18802 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
18803 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
18804
18805 2014-06-27 Roland McGrath <roland@hack.frob.com>
18806
18807 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
18808 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
18809 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
18810 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
18811 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
18812 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
18813 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
18814 Moved ...
18815 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
18816 ... here.
18817 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
18818 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
18819 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
18820 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
18821 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
18822 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
18823 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
18824 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
18825 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
18826 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
18827 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
18828 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
18829 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
18830 Moved ...
18831 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
18832 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
18833 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
18834 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
18835 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
18836 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
18837 Moved ...
18838 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
18839 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
18840 Moved ...
18841 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
18842 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
18843 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
18844 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
18845 Moved ...
18846 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
18847 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
18848 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
18849 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
18850 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
18851 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
18852 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
18853 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
18854 Moved ...
18855 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
18856 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
18857 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
18858 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
18859 Moved ...
18860 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
18861 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
18862 Moved ...
18863 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
18864 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
18865 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
18866 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
18867 Moved ...
18868 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
18869 ... here.
18870 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
18871 Identical file removed.
18872 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
18873 Moved ...
18874 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
18875 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
18876 Identical file removed.
18877 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
18878 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
18879 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
18880 Moved ...
18881 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
18882 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
18883 Identical file removed.
18884 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
18885 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
18886 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
18887 Identical file removed.
18888 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
18889 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
18890 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
18891 Identical file removed.
18892 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
18893 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
18894 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
18895 Identical file removed.
18896 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
18897 Moved ...
18898 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
18899 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
18900 Identical file removed.
18901 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
18902 Moved ...
18903 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
18904 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
18905 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
18906 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
18907 Identical file removed.
18908 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
18909 Moved ...
18910 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
18911 ... here.
18912 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
18913 Identical file removed.
18914 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
18915 Moved ...
18916 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
18917 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
18918 Identical file removed.
18919 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
18920 Moved ...
18921 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
18922 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
18923 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
18924 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
18925 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
18926 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
18927 Moved ...
18928 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
18929 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
18930 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
18931
18932 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
18933 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
18934 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
18935 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
18936 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
18937
18938 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
18939
18940 [BZ #17092]
18941 * nscd/nscd.c (monitor_child): Return exit status of child
18942 instead of return value from wait syscall.
18943
18944 2014-06-27 Joseph Myers <joseph@codesourcery.com>
18945
18946 * configure.ac (libc_commonpagesize): Remove variable.
18947 (libc_relro_required): Likewise.
18948 (libc_cv_z_relro): Remove configure test.
18949 * configure: Regenerated.
18950 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
18951 variable.
18952 (libc_relro_required): Likewise.
18953 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
18954 (libc_relro_required): Likewise.
18955 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
18956 (libc_relro_required): Likewise.
18957 * sysdeps/arm/preconfigure: Regenerated.
18958 * sysdeps/ia64/preconfigure: Remove file.
18959 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
18960 variable.
18961 (libc_relro_required): Likewise.
18962
18963 [BZ #16561]
18964 [BZ #16562]
18965 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
18966 (__ieee754_yn): Set FE_TONEAREST mode internally and then
18967 recompute overflowing results in original rounding mode.
18968 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
18969 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
18970 recompute overflowing results in original rounding mode.
18971 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
18972 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18973 recompute overflowing results in original rounding mode.
18974 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
18975 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18976 recompute overflowing results in original rounding mode.
18977 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
18978 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
18979 recompute overflowing results in original rounding mode.
18980 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
18981 (libc_feholdsetround_ctx): New macro.
18982 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
18983 * sysdeps/i386/fpu/libm-test-ulps: Update.
18984 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
18985
18986 2014-06-26 Joseph Myers <joseph@codesourcery.com>
18987
18988 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
18989 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
18990 corresponding .cpsetup call.
18991
18992 2014-06-26 Roland McGrath <roland@hack.frob.com>
18993
18994 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
18995 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
18996 * sysdeps/arm/Makefile [$(subdir) = csu]
18997 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
18998 (static-only-routines): Add aeabi_read_tp here.
18999 (shared-only-routines): Add libc-aeabi_read_tp here.
19000 (CFLAGS-libc-start.c): Add -fexceptions here.
19001 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
19002 (sysdep_routines, static-only-routines, shared-only-routines):
19003 Don't add to these here.
19004 (CFLAGS-libc-start.c): Likewise.
19005
19006 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
19007 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
19008 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
19009 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
19010 * sysdeps/arm/Makefile [$(subdir) = rt]
19011 (librt-sysdep_routines, librt-shared-only-routines):
19012 Append rt-aeabi_unwind_cpp_pr1 here.
19013 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
19014 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
19015 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
19016 (libpthread-sysdep_routines, libpthread-shared-only-routines):
19017 Append nptl-aeabi_unwind_cpp_pr1 here.
19018 (tests): Filter out tst-cleanupx4 here.
19019 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
19020 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
19021 Don't do those here.
19022
19023 2014-06-26 Joseph Myers <joseph@codesourcery.com>
19024
19025 * scripts/list-sources.sh: Do not handle ports specially.
19026
19027 2014-06-26 Roland McGrath <roland@hack.frob.com>
19028
19029 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
19030 * sysdeps/arm/feupdateenv.c: Likewise.
19031
19032 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
19033
19034 2014-06-26 Joseph Myers <joseph@codesourcery.com>
19035
19036 * manual/texinfo.tex: Update to version 2014-05-05.10 with
19037 trailing whitespace removed.
19038 * scripts/config.guess: Update to version 2014-03-23.
19039 * scripts/config.sub: Update to version 2014-05-01
19040 * scripts/install-sh: Update to version 2013-12-25.23.
19041 * scripts/move-if-change: Update from gnulib.
19042
19043 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19044
19045 * debug/memmove_chk.c: Remove pagecopy.h include.
19046
19047 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
19048
19049 * time/mktime.c (leapyear): Remove inline keyword. The code is now
19050 identical to gnulib mktime.
19051
19052 2014-06-26 Joseph Myers <joseph@codesourcery.com>
19053
19054 * configure.ac: Do not test for machine being rs6000. Do not test
19055 for powerpc*-*soft.
19056 * configure: Regenerated.
19057
19058 [BZ #11505]
19059 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
19060 test.
19061 * configure: Regenerated.
19062 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
19063 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
19064 Remove configure test.
19065 * sysdeps/arm/configure: Regenerated.
19066 * sysdeps/nptl/configure.ac: Do not check
19067 libc_cv_asm_cfi_directives.
19068 * sysdeps/nptl/configure: Regenerated.
19069 * sysdeps/x86_64/nptl/configure.ac: Remove file.
19070 * sysdeps/x86_64/nptl/configure: Remove generated file.
19071 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
19072 unconditional.
19073 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
19074
19075 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
19076
19077 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
19078 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
19079 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
19080 it is defined.
19081
19082 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
19083 instead of whether it is defined.
19084 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
19085 * sysdeps/hppa/dl-machine.h: Likewise.
19086 * sysdeps/ia64/dl-machine.h: Likewise.
19087 * sysdeps/m68k/dl-machine.h: Likewise.
19088 * sysdeps/microblaze/dl-machine.h: Likewise.
19089 * sysdeps/mips/dl-machine.: Likewise.
19090 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
19091 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19092 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
19093 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
19094 * sysdeps/sh/dl-machine.h: Likewise.
19095 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
19096 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
19097 * sysdeps/tile/dl-machine.h: Likewise.
19098 * sysdeps/x86_64/dl-machine.h: Likewise.
19099
19100 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
19101 code.
19102 (verify_persistent_db): Likewise.
19103
19104 2014-06-26 Roland McGrath <roland@hack.frob.com>
19105
19106 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
19107 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
19108 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
19109 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
19110 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19111 Moved ...
19112 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
19113 ... here.
19114 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
19115 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
19116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
19117 Identical file removed.
19118 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
19119 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
19120 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
19121 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
19122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
19123 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
19124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
19125 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
19126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
19127 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
19128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19129 Moved ...
19130 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
19131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
19132 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
19133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
19134 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
19135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19136 Moved ...
19137 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
19138 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
19139 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
19140 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
19141 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
19142 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19143 Identical file removed.
19144 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
19145 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
19146 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
19147 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
19148 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19149 Moved ...
19150 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
19151 ... here.
19152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
19153 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
19154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
19155 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
19156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
19157 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
19158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
19159 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
19160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
19161 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
19162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19163 Moved ...
19164 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
19165 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
19166 Moved ...
19167 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
19168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
19169 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
19170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19171 Moved ...
19172 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
19173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
19174 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
19175
19176 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
19177 folded into ...
19178 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
19179 * sysdeps/unix/sysv/linux/s390/Versions
19180 (libpthread: GLIBC_2.19): New version set.
19181 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
19182 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
19183 (librt: GLIBC_2.3.3): New version set.
19184 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
19185 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
19186 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
19187 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
19188 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
19189 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
19190 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
19191 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
19192 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
19193 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
19194 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
19195 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
19196 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
19197 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
19198 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
19199 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
19200 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
19201 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
19202 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
19203 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
19204 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
19205 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
19206 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
19207 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
19208 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
19209 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
19210 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
19211 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
19212 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
19213 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
19214 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
19215 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
19216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
19217 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
19218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
19219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
19220 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
19221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
19222 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
19223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
19224 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
19225 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
19226 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
19227 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
19228 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
19229
19230 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
19231 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
19232 (__libc_vfork): Define the function under this name.
19233 [!NOT_IN_libc] (__vfork): Make this an alias.
19234 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19235 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
19236 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
19237 (__libc_vfork): Define the function under this name.
19238 [!NOT_IN_libc] (__vfork): Make this an alias.
19239 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
19240 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
19241 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
19242 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
19243 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
19244 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
19245
19246 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
19247 code that was previously under [RESET_PID].
19248 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
19249 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
19250 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
19251
19252 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
19253 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
19254 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
19255 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
19256 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
19257 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
19258 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
19259 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
19260 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
19261 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
19262 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
19263 Moved ...
19264 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
19265 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
19266 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
19267 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
19268 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
19269 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
19270 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
19271 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
19272 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
19273 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
19274 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
19275 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
19276 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
19277 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
19278 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
19279 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
19280 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
19281 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
19282 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
19283 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
19284 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
19285 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
19286 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
19287 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
19288 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
19289 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
19290 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
19291 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
19292 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
19293
19294 2014-06-25 Roland McGrath <roland@hack.frob.com>
19295
19296 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
19297 that was previously under [RESET_PID].
19298 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
19299
19300 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19301
19302 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
19303 not undefine and redefine.
19304 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
19305 [O_CLOEXEC]: Make code unconditional.
19306 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
19307 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
19308 <kernel-features.h>.
19309 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
19310 conditional variable definition.
19311 (shm_open) [O_CLOEXEC]: Make code unconditional.
19312 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
19313 code.
19314
19315 * configure.ac (USE_REGPARMS): Don't define here.
19316 * configure: Regenerated.
19317 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
19318 * sysdeps/i386/configure: Regenerated.
19319
19320 * nptl/createthread.c: Don't include kernel-features.h.
19321 * nptl/pthread_cancel.c: Likewise.
19322 * nptl/pthread_condattr_setclock.c: Likewise.
19323 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
19324 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
19325 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
19326 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
19327 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
19328 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
19329 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
19330 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
19331 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
19332 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
19333 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
19334 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
19335 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
19336 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
19337 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
19338 * nscd/gai.c: Likewise.
19339 * nss/nss_db/db-open.c: Likewise.
19340 * sysdeps/generic/ldsodefs.h: Likewise.
19341 * sysdeps/sh/nptl/tls.h: Likewise.
19342 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
19343 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
19344 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
19345 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
19346 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
19347 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
19348 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
19349 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
19350 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
19351 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
19352 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
19353 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
19354 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
19355 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
19356 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
19357 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
19358 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
19359 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
19360 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
19361 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
19362 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19363 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19364 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
19365 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
19366 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19367 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19368 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
19369 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
19370 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
19371 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
19372 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
19373 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
19374 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
19375 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19376 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19377 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
19378 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19379 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
19380 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
19381 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
19382 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
19383 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
19384 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
19385 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
19386 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
19387 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
19388 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
19389 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
19390 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
19391 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19392 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19393 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19394 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19395 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
19396 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
19397 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
19398 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
19399 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
19400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
19401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
19402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
19403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
19404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
19405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
19409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
19410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
19411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
19412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
19413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
19414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
19416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
19417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
19418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
19419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
19420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
19421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
19422 * sysdeps/unix/sysv/linux/pread.c: Likewise.
19423 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
19424 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
19425 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
19426 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
19427 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
19428 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
19430 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
19431 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19432 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
19433 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19434 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
19435 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
19436 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
19437 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
19438 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19439 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
19440 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
19441 * sysdeps/unix/sysv/linux/system.c: Likewise.
19442 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
19443 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
19444 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
19445 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
19446 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
19447 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
19448 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19449
19450 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
19451 * configure: Regenerated.
19452 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
19453
19454 * configure.ac (base_machine): Do not set specially for particular
19455 machines here.
19456 * configure: Regenerated.
19457 * sysdeps/powerpc/preconfigure: Move machine and base_machine
19458 settings from configure.ac.
19459 * sysdeps/i386/preconfigure: New file.
19460 * sysdeps/s390/preconfigure: Likewise.
19461 * sysdeps/sh/preconfigure: Likewise.
19462 * sysdeps/sparc/preconfigure: Likewise.
19463
19464 2014-06-25 Roland McGrath <roland@hack.frob.com>
19465
19466 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
19467 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
19468 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
19469 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
19470 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
19471 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
19472 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
19473 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
19474 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
19475 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
19476 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
19477 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
19478 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
19479 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
19480 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
19481 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
19482 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
19483 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
19484 * sysdeps/sparc/sparc64/Makefile: ... appended here.
19485
19486 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
19487 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
19488 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
19489 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
19490 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
19491 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
19492 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
19493 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
19494 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
19495 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
19496 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
19497 * sysdeps/sparc/sparc32/sem_post.c: ... here.
19498 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
19499 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
19500 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
19501 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
19502 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
19503 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
19504 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
19505 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
19506 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
19507 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
19508 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
19509 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
19510 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
19511 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
19512 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
19513 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
19514 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
19515 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
19516 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
19517 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
19518 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
19519 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
19520 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
19521 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
19522 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
19523 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
19524
19525 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
19526 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
19527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
19528 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
19529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19530 Moved ...
19531 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
19532 ... here.
19533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
19534 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
19535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
19536 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
19537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
19538 Moved ...
19539 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
19540 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
19541 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
19542 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
19543 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
19544 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
19545 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
19546 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19547 Moved ...
19548 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
19549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19550 Moved ...
19551 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
19552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
19553 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
19554 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19555 Moved ...
19556 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
19557 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
19558 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
19559 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
19560 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
19561 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
19562 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
19563 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
19564 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
19565 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19566 Moved ...
19567 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
19568 ... here.
19569 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
19570 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
19571 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
19572 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
19573 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
19574 Moved ...
19575 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
19576 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
19577 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
19578 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
19579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
19580 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
19581 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
19582 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19583 Moved ...
19584 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
19585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19586 Moved ...
19587 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
19588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
19589 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
19590 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19591 Moved ...
19592 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
19593 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
19594 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
19595 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
19596 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
19597
19598 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19599
19600 * timezone/checktab.awk: Update from tzcode 2014e.
19601 * timezone/private.h: Likewise.
19602 * timezone/tzfile.h: Likewise.
19603 * timezone/zdump.c: Likewise.
19604 * timezone/zic.c: Likewise.
19605
19606 * sysdeps/unix/sysv/linux/kernel-features.h
19607 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
19608 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
19609 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
19610 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19611 Remove conditional code.
19612
19613 2014-06-25 Will Newton <will.newton@linaro.org>
19614
19615 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
19616 (_dl_arm_cap_flags): Add HWCAP2 values.
19617 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
19618 (_DL_HWCAP_COUNT): Increase to 37.
19619 (_DL_HWCAP_LAST): New define.
19620 (_DL_HWCAP2_LAST): New define.
19621 (_dl_procinfo): Add support for printing
19622 AT_HWCAP2 entries.
19623 (_dl_string_hwcap): Use _dl_hwcap_string.
19624
19625 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19626
19627 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19628
19629 2014-06-25 Joseph Myers <joseph@codesourcery.com>
19630
19631 * README: Do not mention ports directory.
19632
19633 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
19634 Remove macro.
19635 * sysdeps/unix/sysv/linux/futimes.c: Do not include
19636 <kernel-features.h>.
19637 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
19638 conditional variable definition.
19639 (__futimes): Update comment.
19640 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
19641 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
19642
19643 [BZ #16560]
19644 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
19645 arguments close to 0.
19646 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
19647 Likewise.
19648 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
19649 Likewise.
19650 * math/auto-libm-test-in: Add more tests of exp10.
19651 * math/auto-libm-test-out: Regenerated.
19652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19653
19654 * sysdeps/unix/sysv/linux/kernel-features.h
19655 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
19656 * sysdeps/unix/sysv/linux/readv.c: Do not include
19657 <kernel-features.h>.
19658 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19659 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19660 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19661 unconditional.
19662 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19663 conditional code.
19664 * sysdeps/unix/sysv/linux/writev.c: Do not include
19665 <kernel-features.h>.
19666 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
19667 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
19668 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
19669 unconditional.
19670 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
19671 conditional code.
19672
19673 2014-06-25 Will Newton <will.newton@linaro.org>
19674
19675 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
19676 comment changes throughout the file. Remove checks
19677 for HAVE_*_H definitions that are not required.
19678 (__gen_tempname): Call abort if an unknown kind value is
19679 passed.
19680
19681 2014-06-25 Andreas Schwab <schwab@suse.de>
19682
19683 [BZ #17086]
19684 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
19685 scalbln, scalblnf, scalblnl in libc.
19686
19687 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
19688
19689 [BZ #17086]
19690 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
19691 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
19692 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
19693
19694 2014-06-24 Roland McGrath <roland@hack.frob.com>
19695
19696 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
19697 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
19698 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
19699 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
19700 Update #include.
19701 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
19702 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
19703 Update #include.
19704 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
19705 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
19706 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
19707 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
19708 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
19709 * sysdeps/x86/bits/pthreadtypes.h: ... here.
19710 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
19711 * sysdeps/x86/bits/semaphore.h: ... here.
19712 * sysdeps/x86/nptl/elide.h: Moved ...
19713 * sysdeps/x86/elide.h: ... here.
19714 * sysdeps/x86_64/nptl/Implies: File removed.
19715 * sysdeps/i386/nptl/Implies: File removed.
19716
19717 2014-06-24 Joseph Myers <joseph@codesourcery.com>
19718
19719 [BZ #16539]
19720 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
19721 return the argument for normal arguments with exponent below -64.
19722 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19723 Likewise.
19724 * math/auto-libm-test-in: Add another test of expm1.
19725 * math/auto-libm-test-out: Regenerated.
19726
19727 [BZ #16287]
19728 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
19729 calling __erfcl for arguments at least 16.
19730 * math/auto-libm-test-in: Add more tests of erf.
19731 * math/auto-libm-test-out: Regenerated.
19732
19733 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
19734 individual architectures.
19735 * sysdeps/unix/sysv/linux/configure: Regenerated.
19736 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
19737 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
19738 * sysdeps/unix/sysv/linux/powerpc/configure.ac
19739 (ldd_rewrite_script): Define variable.
19740 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
19742 file.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
19744 generated file.
19745 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
19746 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
19747 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
19748 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
19749 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
19750 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
19751 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
19752 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
19753
19754 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19755
19756 [BZ #17084]
19757 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
19758 Rename member __data.d to __data.__elision_data.
19759
19760 2014-06-24 Wilco <wdijkstr@arm.com>
19761
19762 * NEWS: Add 16918 to fixed bug list.
19763
19764 2014-06-24 Wilco <wdijkstr@arm.com>
19765
19766 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
19767
19768 2014-06-24 Wilco <wdijkstr@arm.com>
19769
19770 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
19771 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
19772 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
19773 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
19774 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
19775 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
19776 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
19777 Use _FPU_MASK_RM.
19778
19779 2014-06-24 Wilco <wdijkstr@arm.com>
19780
19781 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
19782
19783 2014-06-24 Wilco <wdijkstr@arm.com>
19784
19785 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
19786 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
19787 * sysdeps/arm/fesetround.c (fesetround): Remove space.
19788 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
19789
19790 2014-06-24 Wilco <wdijkstr@arm.com>
19791
19792 [BZ #16918]
19793 * sysdeps/arm/feupdateenv.c (feupdateenv):
19794 Rewrite to reduce FPSCR accesses and fix return value.
19795
19796 2014-06-24 Wilco <wdijkstr@arm.com>
19797
19798 * sysdeps/arm/fclrexcpt.c (feclearexcept):
19799 Optimize to avoid unnecessary FPSCR writes.
19800 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
19801 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
19802 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
19803 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
19804
19805 2014-06-24 Wilco <wdijkstr@arm.com>
19806
19807 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
19808 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
19809 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
19810 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
19811 Call libc_fetestexcept_vfp.
19812 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
19813 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
19814 __SOFTFP__ ifdef so that they can be built for softfp.
19815
19816 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
19817
19818 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
19819 argument type signed char.
19820
19821 * Makerules (check-abi): Dump diff of symlist if the test
19822 fails.
19823
19824 2014-06-23 Roland McGrath <roland@hack.frob.com>
19825
19826 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
19827 using abort.
19828
19829 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
19830 Remove unused variable ST.
19831
19832 2014-06-23 Joseph Myers <joseph@codesourcery.com>
19833
19834 [BZ #16354]
19835 [BZ #17061]
19836 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
19837 small arguments before calling __expm1.
19838 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
19839 small arguments before calling __expm1f.
19840 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
19841 small arguments before calling __expm1l.
19842 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19843 Likewise.
19844 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
19845 * math/auto-libm-test-in: Add more cosh tests. Do not allow
19846 spurious underflow for some cosh tests.
19847 * math/auto-libm-test-out: Regenerated.
19848 * sysdeps/i386/fpu/libm-test-ulps: Update.
19849
19850 [BZ #17050]
19851 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
19852 (__ieee754_y1): Set errno if return value overflows.
19853 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
19854 (__ieee754_y1f): Set errno if return value overflows.
19855 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
19856 (__ieee754_y1l): Set errno if return value overflows.
19857 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
19858 (__ieee754_y1l): Set errno if return value overflows.
19859 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
19860 * math/auto-libm-test-out: Regenerated.
19861
19862 * math/gen-auto-libm-tests.c: Document use of
19863 ignore-zero-inf-sign.
19864 (input_flag_type): Add value flag_ignore_zero_inf_sign.
19865 (input_flags): Add ignore-zero-inf-sign.
19866 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
19867 * math/gen-libm-test.pl (generate_testfile): Handle
19868 ignore-zero-inf-sign.
19869 * math/auto-libm-test-in: Mark some cpow tests with
19870 ignore-zero-inf-sign and some with xfail-rounding.
19871 * math/auto-libm-test-out: Regenerated.
19872 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
19873 * sysdeps/i386/fpu/libm-test-ulps: Update.
19874 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19875
19876 [BZ #16315]
19877 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
19878 overflowing or underflowing operations take place with sign of
19879 result.
19880 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19881 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19882 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
19883 (__ieee754_pow): Recompute overflowing and underflowing results in
19884 original rounding mode.
19885 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
19886 (__powl_helper): Allow negative argument X and scale negated value
19887 as needed. Avoid passing value outside [-1, 1] to f2xm1.
19888 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
19889 overflowing or underflowing operations take place with sign of
19890 result.
19891 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
19892 Include <math.h>.
19893 * math/auto-libm-test-in: Add more tests of pow.
19894 * math/auto-libm-test-out: Regenerated.
19895 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
19896 (pow_tonearest_test_data): Remove.
19897 (pow_test_tonearest): Likewise.
19898 (pow_towardzero_test_data): Likewise.
19899 (pow_test_towardzero): Likewise.
19900 (pow_downward_test_data): Likewise.
19901 (pow_test_downward): Likewise.
19902 (pow_upward_test_data): Likewise.
19903 (pow_test_upward): Likewise.
19904 (main): Don't call removed functions.
19905 * sysdeps/i386/fpu/libm-test-ulps: Update.
19906 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19907
19908 2014-06-23 Roland McGrath <roland@hack.frob.com>
19909
19910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
19911 Moved ...
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
19913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19914 Moved ...
19915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19917 Moved ...
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19920 Moved ...
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
19922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19923 File removed.
19924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19925 File removed.
19926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
19927 File removed.
19928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
19929 File removed.
19930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
19931 File removed.
19932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
19933 File removed.
19934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
19935 File removed.
19936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19937 File removed.
19938 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
19939 File removed.
19940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19941 File removed.
19942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
19943 File removed.
19944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
19945 File removed.
19946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
19947 Moved ...
19948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
19950 Moved ...
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
19952 ... here.
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
19954 Moved ...
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
19956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
19957 Moved ...
19958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
19959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
19960 Moved ...
19961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
19962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
19963 Moved ...
19964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
19965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
19966 Moved ...
19967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
19969 Moved ...
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
19971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
19972 Moved ...
19973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
19975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
19976 ... here.
19977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
19978 Moved ...
19979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19981 Moved ...
19982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19983 ... here.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
19985 Moved ...
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19987 ... here.
19988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19989 Moved ...
19990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
19991 ... here.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19993 Moved ...
19994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19996 Moved ...
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
20000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
20001 Moved ...
20002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
20003 ... here.
20004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20005 Moved ...
20006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
20007 ... here.
20008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
20009 Moved ...
20010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20012 Moved ...
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
20014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
20015 Moved ...
20016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
20017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
20018 Moved ...
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
20020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
20021 Moved ...
20022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
20023 ... here.
20024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20025 Moved ...
20026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
20027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20028 Moved ...
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
20030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20031 Moved ...
20032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
20033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20034 Moved ...
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
20036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
20038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20039 Moved ...
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20042 Moved ...
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20045 Moved ...
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
20047 ... here.
20048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20049 Moved ...
20050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
20051 ... here.
20052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20053 Moved ...
20054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
20055 ... here.
20056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20057 Moved ...
20058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
20059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20060 Moved ...
20061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
20062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20063 Moved ...
20064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
20065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20066 Moved ...
20067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
20068 ... here.
20069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20070 Moved ...
20071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
20072 ... here.
20073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20074 Moved ...
20075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
20076 ... here.
20077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20078 Moved ...
20079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
20080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
20081 Moved ...
20082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
20083
20084 2014-06-23 Will Newton <will.newton@linaro.org>
20085 Wilco <wdijkstr@arm.com>
20086
20087 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
20088 implementation. Include get-rounding-mode.h.
20089 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
20090 [!libc_feholdsetround_noex_ctx]: Define
20091 libc_feholdsetround_noex_ctx.
20092 [!libc_feholdsetround_noexf_ctx]: Define
20093 libc_feholdsetround_noexf_ctx.
20094 [!libc_feholdsetround_noexl_ctx]: Define
20095 libc_feholdsetround_noexl_ctx.
20096 (libc_feholdsetround_ctx): New function.
20097 (libc_feresetround_ctx): New function.
20098 (libc_feholdsetround_noex_ctx): New function.
20099 (libc_feresetround_noex_ctx): New function.
20100
20101 2014-06-23 Roland McGrath <roland@hack.frob.com>
20102
20103 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
20104 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
20105 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
20106 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
20107 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
20108 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
20109
20110 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
20111 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
20112 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
20113 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
20114 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
20115 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
20116 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
20117 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
20118 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
20119 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
20120 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
20121 Moved ...
20122 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
20123 ... here.
20124 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
20125 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
20126 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
20127 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
20128 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
20129 Moved ...
20130 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
20131 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
20132 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
20133 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
20134 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
20135 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
20136 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
20137 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
20138 Moved ...
20139 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
20140 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
20141 Moved ...
20142 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
20143 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
20144 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
20145 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
20146 Moved ...
20147 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
20148 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
20149 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
20150 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
20151 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
20152 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
20153 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
20154 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
20155 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
20156 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
20157 Moved ...
20158 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
20159 ... here.
20160 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
20161 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
20162 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
20163 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
20164 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
20165 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
20166 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
20167 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
20168 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
20169 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
20170 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
20171 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
20172 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
20173 Moved ...
20174 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
20175 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
20176 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
20177 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
20178 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
20179 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
20180 Moved ...
20181 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
20182 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
20183 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
20184 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
20185 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
20186
20187 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
20188 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
20189 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
20190 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
20191 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
20192 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
20193 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
20194 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
20195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
20196 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
20197 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
20198 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
20199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
20200 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
20201 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
20202 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
20203 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
20204 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
20205 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
20206 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
20207 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
20208 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
20209 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
20210 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
20211 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
20212 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
20213 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
20214 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
20215
20216 2014-06-23 Joseph Myers <joseph@codesourcery.com>
20217
20218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
20219 (FALLOC_FL_COLLAPSE_RANGE): New macro.
20220 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
20221 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
20222 (IPV6_PMTUDISC_INTERFACE): Likewise.
20223 (IPV6_PMTUDISC_OMIT): Likewise.
20224
20225 2014-06-23 Andreas Schwab <schwab@suse.de>
20226
20227 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
20228 Remove unused errout label.
20229
20230 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20231
20232 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
20233 macro: hardware supports Vector Crypto instructions.
20234
20235 2014-06-23 Will Newton <will.newton@linaro.org>
20236
20237 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
20238 rather than __builtin_expect.
20239
20240 * elf/dl-lookup.c (undefined_msg): Remove variable.
20241 (_dl_lookup_symbol_x): Replace undefined_msg with string
20242 literal.
20243
20244 * elf/dl-lookup.c (do_lookup_unique): New function.
20245 (do_lookup_x): Move STB_GNU_UNIQUE handling code
20246 to a separate function.
20247
20248 2014-06-23 Andreas Schwab <schwab@suse.de>
20249
20250 [BZ #17079]
20251 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
20252 before reading the next line.
20253
20254 2014-06-23 Will Newton <will.newton@linaro.org>
20255
20256 * test-skeleton.c (signal_handler): Use printf and %m
20257 rather than perror. Use printf rather than fprintf to
20258 stderr. Use puts rather than fputs to stderr.
20259 (main): Likewise.
20260
20261 2014-06-22 Ludovic Courtès <ludo@gnu.org>
20262
20263 * nscd/nscd.c (thread_info_t): Remove typedef.
20264 (thread_info): Remove variable.
20265
20266 2014-06-21 Allan McRae <allan@archlinux.org>
20267
20268 * NEWS: Mention CVE-2014-4043.
20269
20270 2014-06-20 Roland McGrath <roland@hack.frob.com>
20271
20272 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
20273 * nptl/smp.h: ... here.
20274
20275 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
20276
20277 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
20278 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
20279 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
20280 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
20281
20282 * nptl/allocatestack.c: Include <stack-aliasing.h>.
20283 * nptl/stack-aliasing.h: New file.
20284 * sysdeps/i386/i686/stack-aliasing.h: New file.
20285 * sysdeps/i386/i686/nptl/Makefile: File removed.
20286 * sysdeps/x86_64/stack-aliasing.h: New file.
20287 * sysdeps/x86_64/nptl/Makefile
20288 (CFLAGS-pthread_create.c): Variable removed.
20289
20290 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
20291 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
20292 old file.
20293 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
20294 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
20295 old file.
20296
20297 2014-06-21 Joseph Myers <joseph@codesourcery.com>
20298
20299 * sysdeps/unix/sysv/linux/arm/kernel-features.h
20300 (__ASSUME_SIGFRAME_V2): Remove macro.
20301 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
20302 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
20303 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
20304 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
20305 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
20306 Declare as function. Remove conditional macro definitions.
20307 (__default_rt_sa_restorer): Likewise.
20308 (__default_sa_restorer_v1): Remove declaration.
20309 (__default_sa_restorer_v2): Likewise.
20310 (__default_rt_sa_restorer_v1): Likewise.
20311 (__default_rt_sa_restorer_v2): Likewise.
20312 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
20313 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
20314 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
20315
20316 2014-06-20 Roland McGrath <roland@hack.frob.com>
20317
20318 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
20319 (libpthread-routines): Add sysdep.
20320 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
20321 * sysdeps/unix/sysv/linux/sparc/Versions
20322 (libpthread: GLIBC_2.3.3): New version set.
20323 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
20324 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
20325 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
20326 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
20327 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
20328 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
20329 Moved ...
20330 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
20331 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
20332 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
20333 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
20334 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
20335 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
20336 * sysdeps/sparc/nptl/sem_init.c: ... here.
20337 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
20338 * sysdeps/sparc/nptl/sem_post.c: ... here.
20339 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
20340 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
20341 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
20342 * sysdeps/sparc/nptl/sem_wait.c: ... here.
20343 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
20344 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
20345 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
20346 (libpthread-routines): Add cpu_relax.
20347 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
20348 File removed.
20349 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
20350 (librt: GLIBC_2.3.3): New version set.
20351 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
20352 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
20353 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
20354 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
20355 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
20356 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
20357 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
20358 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
20359 Moved ...
20360 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
20361 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
20362 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
20363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
20364 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
20365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
20366 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
20367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
20368 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
20369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
20370 Moved ...
20371 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
20372 Update #include.
20373 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
20374 Moved ...
20375 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
20376 Update #include.
20377 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
20378 Moved ...
20379 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
20380 Update #include.
20381 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
20382 Moved ...
20383 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
20384 Update #include.
20385 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
20386 Moved ...
20387 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
20388 Update #include.
20389 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
20390 Moved ...
20391 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
20392 Update #include.
20393 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
20394 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
20395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
20396 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
20397 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
20398 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
20399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
20400 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
20401 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
20402 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
20403 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
20404 Moved ...
20405 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
20406 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
20407 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
20408 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
20409 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
20410
20411 2014-06-20 Joseph Myers <joseph@codesourcery.com>
20412
20413 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
20414 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
20415 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
20416 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
20417 * nscd/nscd.c: Likewise.
20418 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
20419 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
20420 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
20421 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
20422
20423 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
20424 <kernel-features.h>.
20425 (init_mq_netlink): Remove conditional have_sock_cloexec
20426 definitions. Remove code conditional on have_sock_cloexec < 0.
20427 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
20428 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
20429 * sysdeps/unix/sysv/linux/opensock.c: Do not include
20430 <kernel-features.h>.
20431 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
20432 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
20433
20434 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20435
20436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20437 Add tests for memset_chk and memset.
20438
20439 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
20440 with AVX2_Usable.
20441
20442 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
20443
20444 [BZ #16046]
20445 * elf/tst-dl-iter-static.c: New file.
20446 * elf/Makefile (tests-static): Add tst-dl-iter-static.
20447
20448 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
20449 error.
20450
20451 2014-06-20 Joseph Myers <joseph@codesourcery.com>
20452
20453 * sysdeps/unix/sysv/linux/kernel-features.h
20454 (__ASSUME_F_GETOWN_EX): Remove macro.
20455 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
20456 <kernel-features.h>.
20457 (miss_F_GETOWN_EX): Remove variable or macro.
20458 (do_fcntl): Do not check miss_F_GETOWN_EX.
20459 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
20460
20461 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
20462 Remove macro.
20463 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
20464 [!__ASSUME_AT_RANDOM]: Remove conditional code.
20465 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
20466
20467 * sysdeps/unix/sysv/linux/kernel-features.h
20468 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
20469 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
20470 [ADJ_OFFSET_SS_READ]: Make code unconditional.
20471 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
20472
20473 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
20474
20475 [BZ #17075]
20476 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
20477 Fix calculation of the symbol's value.
20478 * sysdeps/arm/tst-armtlsdescloc.c: New file.
20479 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
20480 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
20481 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
20482 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
20483 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
20484 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
20485 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
20486 (modules-names): Add `tst-armtlsdescmod',
20487 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
20488 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
20489 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20490 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
20491 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
20492 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
20493 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
20494 ($(objpfx)tst-armtlsdescloc): New dependency.
20495 ($(objpfx)tst-armtlsdescextnow): Likewise.
20496 ($(objpfx)tst-armtlsdescextlazy): Likewise.
20497 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
20498 TLS scheme support.
20499 * sysdeps/arm/configure: Regenerate.
20500
20501 2014-06-20 Joseph Myers <joseph@codesourcery.com>
20502
20503 * include/fcntl.h (__atfct_seterrno): Remove prototype.
20504 (__atfct_seterrno_2): Likewise.
20505 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
20506 <kernel-features.h>.
20507 (__ASSUME_ATFCTS): Do not undefine and redefine.
20508 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
20509 (__have_atfcts): Remove conditional definition.
20510 (__fxstatat([__NR_fstatat64]: Make code unconditional.
20511 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
20512 unreachable if [__ASSUME_ATFCTS].
20513 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
20514 not undefine and redefine.
20515 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
20516 <kernel-features.h>.
20517 (faccessat) [__NR_faccessat]: Make code unconditional.
20518 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
20519 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
20520 <kernel-features.h>.
20521 (fchmodat) [__NR_fchmodat]: Make code unconditional.
20522 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20523 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
20524 <kernel-features.h>.
20525 (fchownat) [__NR_fchownat]: Make code unconditional.
20526 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
20527 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
20528 <kernel-features.h>.
20529 (futimesat) [__NR_futimesat]: Make code unconditional.
20530 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
20531 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
20532 <kernel-features.h>.
20533 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20534 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20535 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
20536 <kernel-features.h>.
20537 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
20538 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20539 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
20540 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
20541 <kernel-features.h>.
20542 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
20543 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20544 * sysdeps/unix/sysv/linux/linkat.c: Do not include
20545 <kernel-features.h>.
20546 (linkat) [__NR_linkat]: Make code unconditional.
20547 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20548 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
20549 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
20550 <kernel-features.h>.
20551 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
20552 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
20553 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
20554 <kernel-features.h>.
20555 (mkdirat) [__NR_mkdirat]: Make code unconditional.
20556 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
20557 * sysdeps/unix/sysv/linux/openat.c: Do not include
20558 <kernel-features.h>.
20559 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
20560 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
20561 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
20562 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
20563 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
20564 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
20565 <kernel-features.h>.
20566 (readlinkat) [__NR_readlinkat]: Make code unconditional.
20567 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
20568 result of INLINE_SYSCALL directly, not via int variable.
20569 * sysdeps/unix/sysv/linux/renameat.c: Do not include
20570 <kernel-features.h>.
20571 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
20572 (renameat) [__NR_renameat]: Make code unconditional.
20573 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
20574 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
20575 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
20576 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
20577 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
20578 (__ASSUME_ATFCTS): Do not undefine and redefine.
20579 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
20580 <kernel-features.h>.
20581 (symlinkat) [__NR_symlinkat]: Make code unconditional.
20582 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20583 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
20584 <kernel-features.h>.
20585 (unlinkat) [__NR_unlinkat]: Make code unconditional.
20586 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
20587 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
20588 (__ASSUME_ATFCTS): Do not undefine and redefine.
20589 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20590 <kernel-features.h>.
20591 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
20592 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
20593 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20594 <kernel-features.h>.
20595 (__xmknodat) [__NR_mknodat]: Make code unconditional.
20596 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
20597
20598 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
20599
20600 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
20601
20602 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
20603
20604 [BZ #17069]
20605 * posix/regcomp.c (parse_reg_exp): Deallocate partially
20606 constructed tree before returning error.
20607 * posix/bug-regexp36.c: Expand test case.
20608
20609 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
20610
20611 [BZ #6803]
20612 * math/libm-test.inc (scalbln_test_date):
20613 Add errno expectations.
20614 * math/w_scalblnf.c: New File.
20615 Add wrapper which checks for setting errno to ERANGE.
20616 Add weak_alias for corresponding scalbln function.
20617 * math/w_scalbln.c: Likewise.
20618 * math/w_scalblnl.c: Likewise.
20619 * math/Makefile (libm-calls): Add w_scalbln.
20620 * sysdeps/ieee754/flt-32/s_scalblnf.c:
20621 Remove weak_alias for corresponding scalbln function.
20622 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20623 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
20624 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
20625 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
20626 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
20627 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
20628 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
20629 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
20630 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
20631 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
20632 Remove long_double_symbol for scalblnl function in libm, libc.
20633 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
20634 Add wrapper which checks for setting errno to ERANGE.
20635 Add long_double_symbol for scalblnl function in libm, libc.
20636 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
20637 Remove long_double_symbol for scalblnl in libm.
20638 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
20639 Add wrapper which checks for setting errno to ERANGE.
20640 Add long_double_symbol for scalblnl function in libm.
20641 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
20642 Do not use wrapper because of own implementation.
20643
20644 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
20645
20646 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
20647 3 bytes for __pad1 for x32.
20648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
20649
20650 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
20651 H.J. Lu <hongjiu.lu@intel.com>
20652
20653 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
20654 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
20655 * sysdeps/x86_64/multiarch/memset.S: Likewise.
20656 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
20657 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
20658
20659 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
20660
20661 [BZ #17069]
20662 * posix/regcomp.c (parse_expression): Deallocate partially
20663 constructed tree before returning error.
20664 * posix/Makefile.c (tests): Add bug-regex36.
20665 (generated): Add bug-regex36.mtrace.
20666 (tests-special): Add $(objpfx)bug-regex36-mem.out
20667 (bug-regex36-ENV): New variable.
20668 ($(objpfx)bug-regex36-mem.out): New rule.
20669 * posix/bug-regex36.c: New file.
20670
20671 2014-06-19 Will Newton <will.newton@linaro.org>
20672
20673 * malloc/malloc.c (systrim): If extra is zero then return
20674 early.
20675
20676 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20677
20678 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
20679
20680 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
20681
20682 * sysdeps/aarch64/strchr.S: New file.
20683
20684 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20685
20686 [BZ #17022]
20687 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
20688 from arguments -2 or below.
20689 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
20690 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
20691
20692 2014-06-18 Andreas Schwab <schwab@suse.de>
20693
20694 [BZ #17062]
20695 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
20696 of a bracket expr not to run off the end of the string.
20697 * posix/Makefile (tests): Add tst-fnmatch3.
20698 * posix/tst-fnmatch3.c: New file.
20699
20700 2014-06-18 Joseph Myers <joseph@codesourcery.com>
20701
20702 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
20703 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
20704 [$(cross-compiling) = no]: Likewise.
20705 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
20706 [$(cross-compiling) = no]: Likewise.
20707
20708 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20709
20710 [BZ #17031]
20711 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
20712 double, adjusted for any remainder from the high double.
20713 * math/libm-test.inc (nearbyint): Add tests.
20714 (rint): Likewise.
20715
20716 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20717
20718 * nptl/sysdeps/powerpc/Makefile: Moved ...
20719 * sysdeps/powerpc/nptl/Makefile: ... here.
20720 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
20721 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
20722 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
20723 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
20724 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
20725 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
20726 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
20727 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
20728 * nptl/sysdeps/powerpc/tls.h: Moved ...
20729 * sysdeps/powerpc/nptl/tls.h: ... here.
20730
20731 2014-06-16 Joseph Myers <joseph@codesourcery.com>
20732
20733 [BZ #16681]
20734 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
20735 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
20736 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
20737 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
20738 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
20739 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
20740 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
20741 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
20742 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
20743
20744 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
20745
20746 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
20747
20748 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
20749
20750 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
20751 defined operator.
20752
20753 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
20754 $TIMEOUTFACTOR.
20755
20756 2014-06-16 Florian Weimer <fweimer@redhat.com>
20757
20758 [BZ #17058]
20759 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
20760 non-executed part of the test.
20761
20762 2014-06-16 Andreas Schwab <schwab@suse.de>
20763
20764 * string/bits/string2.h (strdup, strndup): Update feature guard.
20765
20766 2014-06-14 David S. Miller <davem@davemloft.net>
20767
20768 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20769
20770 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
20771
20772 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
20773 that was previously under [RESET_PID].
20774 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
20775
20776 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
20777 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
20778 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
20779 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
20780 (__libc_vfork): New strong alias.
20781 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
20782
20783 2014-06-14 Andi Kleen <ak@linux.intel.com>
20784
20785 * sysdeps/generic/elide.h: New file.
20786
20787 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
20788
20789 * Makefile (installed-headers): Adjust path of pthread.h header.
20790
20791 2014-06-13 Roland McGrath <roland@hack.frob.com>
20792
20793 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
20794 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
20795 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
20796 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
20797
20798 * nptl/sysdeps/s390/Makefile: Moved ...
20799 * sysdeps/s390/nptl/Makefile: ... here.
20800 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
20801 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
20802 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
20803 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
20804 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
20805 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
20806 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
20807 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
20808 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
20809 * sysdeps/s390/nptl/pthreaddef.h: ... here.
20810 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
20811 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
20812 * nptl/sysdeps/s390/tls.h: Moved ...
20813 * sysdeps/s390/nptl/tls.h: ... here.
20814
20815 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
20816 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
20817
20818 2014-06-13 David S. Miller <davem@davemloft.net>
20819
20820 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
20821 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
20822 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
20823 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
20824 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
20825 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
20826 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
20827 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
20828 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
20829 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
20830 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
20831 Remove RESET_PID cpp guards.
20832 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
20833 Remove RESET_PID cpp guards.
20834 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
20835
20836 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
20837
20838 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
20839 __sp to uintptr_t.
20840
20841 2014-06-13 Andi Kleen <ak@linux.intel.com>
20842
20843 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
20844 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
20845 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
20846 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
20847 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
20848 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
20849 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
20850 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
20851 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
20852 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
20853 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
20854 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
20855 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
20856 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
20857 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
20858 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
20859 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
20860 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
20861 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
20862 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
20863
20864 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
20865 (pthread_rwlock_rdlock): Add elision.
20866 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
20867 (pthread_rwlock_wrlock): Add elision.
20868 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
20869 (pthread_rwlock_trywrlock): Add elision.
20870 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
20871 (pthread_rwlock_tryrdlock): Add elision.
20872 * nptl/pthread_rwlock_unlock.c: Include elide.h.
20873 (pthread_rwlock_tryrdlock): Add elision unlock.
20874 * nptl/sysdeps/pthread/pthread.h:
20875 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
20876 (PTHREAD_RWLOCK_INITIALIZER,
20877 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
20878 Handle new elision field.
20879 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
20880 * sysdeps/arm/nptl/bits/pthreadtypes.h
20881 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20882 * sysdeps/sh/nptl/bits/pthreadtypes.h
20883 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20884 * sysdeps/tile/nptl/bits/pthreadtypes.h
20885 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20886 * sysdeps/a/nptl/bits/pthreadtypes.h
20887 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20888 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
20889 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20890 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
20891 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20892 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
20893 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20894 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
20895 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20896 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
20897 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20898 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
20899 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20900 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
20901 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20902 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
20903 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20904 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
20905 (elision_init): Set try_xbegin to zero when no RTM.
20906 * sysdeps/x86/nptl/bits/pthreadtypes.h
20907 (pthread_rwlock_t): Change __pad1 to __rwelision.
20908 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
20909
20910 2014-06-13 Andi Kleen <ak@linux.intel.com>
20911
20912 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
20913 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
20914 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
20915 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
20916
20917 2014-06-13 Meador Inge <meadori@codesourcery.com>
20918
20919 [BZ #16996]
20920 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
20921 that the cached result has been set before returning it.
20922
20923 2014-06-12 Roland McGrath <roland@hack.frob.com>
20924
20925 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
20926 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
20927 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
20928 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
20929 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
20930 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
20931
20932 * nptl/sysdeps/sparc/Makefile: Moved ...
20933 * sysdeps/sparc/nptl/Makefile: ... here.
20934 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
20935 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
20936 * nptl/sysdeps/sparc/tls.h: Moved ...
20937 * sysdeps/sparc/nptl/tls.h: ... here.
20938 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
20939 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
20940 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
20941 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
20942 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
20943 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
20944 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
20945 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
20946 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
20947 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
20948 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
20949 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
20950 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
20951 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
20952 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
20953 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
20954 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
20955 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
20956 Update #include.
20957 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
20958 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
20959 Update #include.
20960 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
20961 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
20962 Update #include.
20963 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
20964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
20965 Update #include.
20966
20967 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
20968
20969 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
20970 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
20971
20972 * sysdeps/pthread/posix-timer.h: Include <list.h>.
20973 (struct list_links): Type removed.
20974 (struct thread_node, struct timer_node): Replace struct list_links
20975 with struct list_head.
20976 (list_unlink_ip): Likewise.
20977 * sysdeps/pthread/timer_routines.c
20978 (timer_free_list, thread_free_list, thread_active_list): Likewise.
20979 (list_append, list_insbefore): Likewise.
20980 (list_init): Function removed.
20981 (thread_init, init_module): Use INIT_LIST_HEAD instead.
20982 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
20983 * sysdeps/pthread/Makefile: ... here, new file.
20984
20985 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
20986 * sysdeps/nptl/Implies: ... here.
20987 * sysdeps/unix/sysv/linux/Implies: Add nptl.
20988 * nptl/sysdeps/pthread/list.h: Moved ...
20989 * include/list.h: ... here.
20990 * nptl/sysdeps/pthread/createthread.c: Moved ...
20991 * nptl/createthread.c: ... here.
20992 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
20993 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
20994 * nptl/pt-longjmp.c: ... here.
20995 * nptl/sysdeps/pthread/Makefile: Moved ...
20996 * sysdeps/nptl/Makefile: ... here.
20997 * nptl/sysdeps/pthread/Subdirs: Moved ...
20998 * sysdeps/nptl/Subdirs: ... here.
20999 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
21000 * sysdeps/nptl/aio_misc.h: ... here.
21001 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
21002 * sysdeps/nptl/bits/libc-lock.h: ... here.
21003 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
21004 * sysdeps/nptl/bits/libc-lockP.h: ... here.
21005 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
21006 * sysdeps/nptl/bits/stdio-lock.h: ... here.
21007 * nptl/sysdeps/pthread/configure: Moved ...
21008 * sysdeps/nptl/configure: ... here.
21009 * nptl/sysdeps/pthread/configure.ac: Moved ...
21010 * sysdeps/nptl/configure.ac: ... here.
21011 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
21012 * sysdeps/nptl/gai_misc.h: ... here.
21013 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
21014 * sysdeps/nptl/librt-cancellation.c: ... here.
21015 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
21016 * sysdeps/nptl/malloc-machine.h: ... here.
21017 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
21018 * sysdeps/nptl/pthread-functions.h: ... here.
21019 * nptl/sysdeps/pthread/pthread.h: Moved ...
21020 * sysdeps/nptl/pthread.h: ... here.
21021 * nptl/sysdeps/pthread/setxid.h: Moved ...
21022 * sysdeps/nptl/setxid.h: ... here.
21023 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
21024 * sysdeps/nptl/sigfillset.c: ... here.
21025 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
21026 * sysdeps/nptl/tcb-offsets.h: ... here.
21027 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
21028 * sysdeps/nptl/tst-mqueue8x.c: ... here.
21029 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
21030 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
21031 * nptl/sysdeps/pthread/allocalim.h: Moved ...
21032 * sysdeps/pthread/allocalim.h: ... here.
21033 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
21034 * sysdeps/pthread/bits/sigthread.h: ... here.
21035 * nptl/sysdeps/pthread/flockfile.c: Moved ...
21036 * sysdeps/pthread/flockfile.c: ... here.
21037 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
21038 * sysdeps/pthread/ftrylockfile.c: ... here.
21039 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
21040 * sysdeps/pthread/funlockfile.c: ... here.
21041 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
21042 * sysdeps/pthread/posix-timer.h: ... here.
21043 * nptl/sysdeps/pthread/timer_create.c: Moved ...
21044 * sysdeps/pthread/timer_create.c: ... here.
21045 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
21046 * sysdeps/pthread/timer_delete.c: ... here.
21047 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
21048 * sysdeps/pthread/timer_getoverr.c: ... here.
21049 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
21050 * sysdeps/pthread/timer_gettime.c: ... here.
21051 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
21052 * sysdeps/pthread/timer_routines.c: ... here.
21053 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
21054 * sysdeps/pthread/timer_settime.c: ... here.
21055 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
21056 * sysdeps/pthread/tst-timer.c: ... here.
21057 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
21058 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
21059
21060 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
21061 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
21062
21063 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
21064 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
21065 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
21066 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
21067 Update #include target.
21068 * nptl/sysdeps/i386/i686/Makefile: Moved ...
21069 * sysdeps/i386/i686/nptl/Makefile: ... here.
21070 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
21071 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
21072 Update #include target.
21073 * nptl/sysdeps/i386/i686/tls.h: Moved ...
21074 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
21075 * nptl/sysdeps/i386/Makefile: Moved ...
21076 * sysdeps/i386/nptl/Makefile: ... here.
21077 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
21078 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
21079 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
21080 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
21081 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
21082 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
21083 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
21084 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
21085 * sysdeps/i386/nptl/pthreaddef.h: ... here.
21086 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
21087 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
21088 * nptl/sysdeps/i386/tls.h: Moved ...
21089 * sysdeps/i386/nptl/tls.h: ... here.
21090
21091 * sysdeps/sh/Makefile [$(subdir) = csu]
21092 (gen-as-const-headers): Add tcb-offsets.sym.
21093 * nptl/sysdeps/sh/Makefile: File removed.
21094 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
21095 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
21096 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
21097 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
21098 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
21099 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
21100 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
21101 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
21102 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
21103 * sysdeps/sh/nptl/pthreaddef.h: ... here.
21104 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
21105 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
21106 * nptl/sysdeps/sh/tls.h: Moved ...
21107 * sysdeps/sh/nptl/tls.h: ... here.
21108 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
21109 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
21110 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
21111 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
21112 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
21113 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
21114 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
21115 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
21116 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
21117 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
21118 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
21119 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
21120 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
21121 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
21122 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
21123 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
21124 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
21125 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
21126 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
21127 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
21128 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
21129 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
21130 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
21131 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
21132 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
21133 Moved ...
21134 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
21135 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
21136 Moved ...
21137 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
21138 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
21139 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
21140 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
21141 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
21142 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
21143 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
21144 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
21145 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
21146 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
21147 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
21148 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
21149 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
21150 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
21151 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
21152 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
21153 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
21154 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
21155 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
21156
21157 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
21158
21159 * posix/spawn_faction_addopen.c: Include string.h.
21160
21161 2014-06-11 Roland McGrath <roland@hack.frob.com>
21162
21163 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
21164 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
21165 * nptl/sysdeps/x86_64/Makefile: Moved ...
21166 * sysdeps/x86_64/nptl/Makefile: ... here.
21167 * nptl/sysdeps/x86_64/configure: Moved ...
21168 * sysdeps/x86_64/nptl/configure: ... here.
21169 * nptl/sysdeps/x86_64/configure.ac: Moved ...
21170 * sysdeps/x86_64/nptl/configure.ac: ... here.
21171 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
21172 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
21173 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
21174 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
21175 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
21176 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
21177 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
21178 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
21179 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
21180 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
21181 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
21182 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
21183 * nptl/sysdeps/x86_64/tls.h: Moved ...
21184 * sysdeps/x86_64/nptl/tls.h: ... here.
21185 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
21186 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
21187 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
21188 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
21189
21190 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
21191
21192 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21193
21194 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21195
21196 2014-06-11 Joseph Myers <joseph@codesourcery.com>
21197
21198 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
21199 type.
21200 [POSIX] (off_t): Likewise.
21201 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
21202 [POSIX] (S_ISBLK): Require macro.
21203 [POSIX] (S_ISCHR): Likewise.
21204 [POSIX] (S_ISDIR): Likewise.
21205 [POSIX] (S_ISFIFO): Likewise.
21206 [POSIX] (S_ISREG): Likewise.
21207 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
21208 optional-macro.
21209 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
21210 type.
21211 [POSIX] (time_t): Likewise.
21212 [POSIX] (timer_t): Likewise.
21213
21214 2014-06-11 Florian Weimer <fweimer@redhat.com>
21215
21216 [BZ #17048]
21217 * posix/spawn_int.h (struct __spawn_action): Make the path string
21218 non-const to support deallocation.
21219 * posix/spawn_faction_addopen.c
21220 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
21221 * posix/spawn_faction_destroy.c
21222 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
21223 path in all spawn_do_open actions.
21224 * posix/tst-spawn.c (do_test): Exercise the copy operation in
21225 posix_spawn_file_actions_addopen.
21226
21227 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
21228
21229 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
21230 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
21231 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
21232 conditional code always true.
21233 (__libc_vfork): New alias.
21234
21235 2014-06-11 Roland McGrath <roland@hack.frob.com>
21236
21237 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21238 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
21239
21240 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
21241
21242 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21243 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
21244
21245 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
21246 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
21247
21248 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21249 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
21250
21251 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
21252
21253 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
21254 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
21255 multiarch strcmp for PPC64.
21256 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
21257 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
21258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
21259 multiarch optimizations.
21260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21261 (__libc_ifunc_impl_list): Likewise.
21262
21263 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21264
21265 * benchtests/scripts/validate_benchout.py: New script.
21266 * benchtests/Makefile (bench-func): Call it.
21267 * benchtests/scripts/benchout.schema.json: New file.
21268
21269 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
21270
21271 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
21272 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
21273 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
21274 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
21275 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
21276 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
21277 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
21278 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
21279 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
21280 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
21281 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
21282 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
21283 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
21284 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
21285 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
21286 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
21287 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
21288 Moved ...
21289 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
21290 ... here.
21291 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
21292 Moved ...
21293 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
21294 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
21295 Moved ...
21296 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
21297 ... here.
21298 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
21299 Moved ...
21300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
21301 ... here.
21302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
21303 Moved ...
21304 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
21305 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
21306 Moved ...
21307 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
21308 ... here.
21309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
21310 Moved ...
21311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
21312 ... here.
21313 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
21314 Moved ...
21315 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
21316 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
21317 Moved ...
21318 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
21319 ... here.
21320 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
21321 Moved ...
21322 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
21323 ... here.
21324 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
21325 Moved ...
21326 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
21327 ... here.
21328 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
21329 Moved ...
21330 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
21331 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
21332 Moved ...
21333 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
21334 ... here.
21335 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
21336 Moved ...
21337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
21338 ... here.
21339 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
21340 Moved ...
21341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
21342 ... here.
21343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
21344 Moved ...
21345 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
21346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
21347 Moved ...
21348 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
21349 ... here.
21350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
21351 Moved ...
21352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
21353 ... here.
21354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
21355 Moved ...
21356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
21357 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
21358 Moved ...
21359 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
21360 ... here.
21361 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
21362 Moved ...
21363 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
21364 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
21365 Moved ...
21366 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
21367 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
21368 Moved ...
21369 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
21370 ... here.
21371 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
21372 Moved ...
21373 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
21374 ... here.
21375 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
21376 Moved ...
21377 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
21378 ... here.
21379 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
21380 Moved ...
21381 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
21382 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
21383 Moved ...
21384 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
21385 ... here.
21386 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
21387 Moved ...
21388 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
21389 ... here.
21390 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
21391 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
21392 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
21393 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
21394 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
21395 Moved ...
21396 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
21397 ... here.
21398 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
21399 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
21400 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
21401 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
21402 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
21403 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
21404 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
21405 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
21406 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
21407 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
21408 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
21409 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
21410 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
21411 Moved ...
21412 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
21413 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
21414 Moved ...
21415 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
21416 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
21417 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
21418 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
21419 Moved ...
21420 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
21421 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
21422 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
21423 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
21424 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
21425 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
21426 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
21427
21428 2014-06-10 Wilco <wdijkstr@arm.com>
21429
21430 * math/test-fenv-return.c: New file.
21431 * math/Makefile: Add new test test-fenv-return.
21432
21433 2014-06-10 Joseph Myers <joseph@codesourcery.com>
21434
21435 [BZ #17042]
21436 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
21437 when x - 1 is zero.
21438 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
21439 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
21440 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
21441 0.0L for an argument of 1.0L.
21442 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
21443 Likewise.
21444 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
21445 value when x - 1 is zero.
21446 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
21447 * sysdeps/i386/fpu/libm-test-ulps: Update.
21448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21449
21450 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
21451
21452 [BZ #15119]
21453 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
21454
21455 2014-06-09 Roland McGrath <roland@hack.frob.com>
21456
21457 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
21458 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
21459
21460 2014-06-09 Roland McGrath <roland@hack.frob.com>
21461
21462 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21463 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
21464
21465 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21466 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
21467
21468 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21469 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
21470
21471 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
21472 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
21473
21474 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
21475 if not already defined.
21476 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
21477 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
21478 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
21479 (TLS_INIT_TP): Use it.
21480 (TLS_DEFINE_INIT_TP): New macro.
21481 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
21482
21483 2014-06-09 Joseph Myers <joseph@codesourcery.com>
21484
21485 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
21486 constant.
21487 [POSIX] (IXANY): Likewise.
21488 [POSIX] (OLCUC): Likewise.
21489 [POSIX || POSIX2008] (CBAUD): Do not allow.
21490 [POSIX || POSIX2008] (DEFECHO): Likewise.
21491 [POSIX || POSIX2008] (ECHOCTL): Likewise.
21492 [POSIX || POSIX2008] (ECHOKE): Likewise.
21493 [POSIX || POSIX2008] (ECHOPRT): Likewise.
21494 [POSIX || POSIX2008] (EXTA): Likewise.
21495 [POSIX || POSIX2008] (EXTB): Likewise.
21496 [POSIX || POSIX2008] (FLUSHO): Likewise.
21497 [POSIX || POSIX2008] (LOBLK): Likewise.
21498 [POSIX || POSIX2008] (PENDIN): Likewise.
21499 [POSIX || POSIX2008] (SWTCH): Likewise.
21500 [POSIX || POSIX2008] (VDISCARD): Likewise.
21501 [POSIX || POSIX2008] (VDSUSP): Likewise.
21502 [POSIX || POSIX2008] (VLNEXT): Likewise.
21503 [POSIX || POSIX2008] (VREPRINT): Likewise.
21504 [POSIX || POSIX2008] (VSTATUS): Likewise.
21505 [POSIX || POSIX2008] (VWERASE): Likewise.
21506 (B*): Change to B[0123456789]*.
21507 * conform/data/time.h-data [POSIX || UNIX98]
21508 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
21509 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
21510 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
21511 [POSIX] (tm_*): Do not allow.
21512
21513 2014-06-07 Joseph Myers <joseph@codesourcery.com>
21514
21515 * Makefile (install): Don't set LANGUAGE.
21516 * Makefile.in (install): Likewise.
21517 * assert/Makefile (test-assert-ENV): Remove variable.
21518 (test-assert-perr-ENV): Likewise.
21519 * elf/Makefile (neededtest4-ENV): Likewise.
21520 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
21521 [$(cross-compiling) = no]: Don't set LANGUAGE.
21522 * io/ftwtest-sh (LANG): Remove variable.
21523 * libio/Makefile (tst-widetext-ENV): Likewise.
21524 * manual/install.texi (Running make install): Don't refer to
21525 environment settings for make install.
21526 * INSTALL: Regenerated.
21527 * nptl/tst-tls6.sh: Don't set LANG.
21528 * posix/globtest.sh (LANG): Remove variable.
21529 * string/Makefile (tester-ENV): Likewise.
21530 (inl-tester-ENV): Likewise.
21531 (noinl-tester-ENV): Likewise.
21532 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
21533 [$(cross-compiling) = no]: Don't set LANGUAGE.
21534 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
21535 without explicit environment settings.
21536
21537 2014-06-06 Roland McGrath <roland@hack.frob.com>
21538
21539 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
21540 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
21541 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
21542 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
21543
21544 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
21545
21546 * crypt/crypt-private.h [DOS]: Add some includes taken from the
21547 other files in the crypt directory.
21548 * crypt/crypt.c: Remove duplicate includes.
21549 * crypt/crypt-entry.c: Likewise.
21550 * crypt/crypt_util.c: Likewise.
21551
21552 2014-06-06 Joseph Myers <joseph@codesourcery.com>
21553
21554 * Makeconfig (run-program-env): New variable.
21555 (run-program-prefix-before-env): Likewise.
21556 (run-program-prefix-after-env): Likewise.
21557 (run-program-prefix): Define in terms of new variables.
21558 (built-program-cmd-before-env): New variable.
21559 (built-program-cmd-after-env): Likewise.
21560 (built-program-cmd): Define in terms of new variables.
21561 (test-program-prefix-before-env): New variable.
21562 (test-program-prefix-after-env): Likewise.
21563 (test-program-prefix): Define in terms of new variables.
21564 (test-program-cmd-before-env): New variable.
21565 (test-program-cmd-after-env): Likewise.
21566 (test-program-cmd): Define in terms of new variables.
21567 * Rules (make-test-out): Use $(run-program-env).
21568 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
21569 (help): Do not mention environment variables. Mention
21570 --timeoutfactor option.
21571 (timeoutfactor): New variable.
21572 (blacklist_exports): Remove function.
21573 (exports): Remove variable.
21574 (command): Do not include ${exports}.
21575 * manual/install.texi (Configuring and compiling): Do not mention
21576 test wrappers preserving environment variables. Mention that last
21577 assignment to a variable must take precedence.
21578 * INSTALL: Regenerated.
21579 * benchtests/Makefile (run-bench): Use $(run-program-env).
21580 * catgets/Makefile ($(objpfx)test1.cat): Use
21581 $(built-program-cmd-before-env), $(run-program-env) and
21582 $(built-program-cmd-after-env).
21583 ($(objpfx)test2.cat): Do not specify environment variables
21584 explicitly.
21585 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
21586 $(run-program-env) and $(built-program-cmd-after-env).
21587 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
21588 $(run-program-env) and $(test-program-cmd-after-env).
21589 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
21590 explicitly.
21591 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
21592 run_program_env and test_program_cmd_after_env arguments.
21593 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
21594 * elf/tst-pathopt.sh: Use run_program_env argument.
21595 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
21596 $(test-wrapper-env) and $(run-program-env).
21597 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
21598 run_program_env arguments.
21599 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
21600 * intl/Makefile ($(objpfx)tst-gettext.out): Use
21601 $(test-program-prefix-before-env), $(run-program-env) and
21602 $(test-program-prefix-after-env).
21603 ($(objpfx)tst-gettext2.out): Likewise.
21604 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
21605 run_program_env and test_program_prefix_after_env arguments.
21606 * intl/tst-gettext2.sh: Likewise.
21607 * intl/tst-gettext4.sh: Do not set environment variables
21608 explicitly.
21609 * intl/tst-gettext6.sh: Likewise.
21610 * intl/tst-translit.sh: Likewise.
21611 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
21612 $(test-program-prefix-before-env), $(run-program-env) and
21613 $(test-program-prefix-after-env).
21614 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
21615 run_program_env and test_program_prefix_after_env arguments.
21616 * math/Makefile (run-regen-ulps): Use $(run-program-env).
21617 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
21618 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
21619 explicitly with each use of ${test_wrapper_env}.
21620 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
21621 $(test-program-prefix-before-env), $(run-program-env) and
21622 $(test-program-prefix-after-env).
21623 * posix/tst-getconf.sh: Do not set environment variables
21624 explicitly.
21625 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
21626 run_program_env and test_program_prefix_after_env arguments.
21627 * stdio-common/tst-printf.sh: Do not set environment variables
21628 explicitly.
21629 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
21630 $(test-program-prefix-before-env), $(run-program-env) and
21631 $(test-program-prefix-after-env).
21632 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
21633 run_program_env and test_program_prefix_after_env arguments.
21634 Split $test calls into $test_pre and $test.
21635 * timezone/Makefile (build-testdata): Use
21636 $(built-program-cmd-before-env), $(run-program-env) and
21637 $(built-program-cmd-after-env).
21638
21639 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21640
21641 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
21642 strlen for non SHARED builds.
21643
21644 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
21645
21646 * nptl/allocatestack.c (check_list): Inlined function...
21647 (__reclaim_stacks): ... here.
21648
21649 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21650
21651 [BZ #15698]
21652 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
21653 memory overrun.
21654
21655 2014-06-05 Joseph Myers <joseph@codesourcery.com>
21656
21657 * Rules (make-test-out): Include
21658 LOCPATH=$(common-objpfx)localedata in default environment.
21659 * debug/Makefile (tst-chk1-ENV): Remove variable.
21660 (tst-chk2-ENV): Likewise.
21661 (tst-chk3-ENV): Likewise.
21662 (tst-chk4-ENV): Likewise.
21663 (tst-chk5-ENV): Likewise.
21664 (tst-chk6-ENV): Likewise.
21665 (tst-lfschk1-ENV): Likewise.
21666 (tst-lfschk2-ENV): Likewise.
21667 (tst-lfschk3-ENV): Likewise.
21668 (tst-lfschk4-ENV): Likewise.
21669 (tst-lfschk5-ENV): Likewise.
21670 (tst-lfschk6-ENV): Likewise.
21671 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
21672 (tst-iconv7-ENV): Likewise.
21673 * intl/Makefile (LOCPATH-ENV): Likewise.
21674 (tst-codeset-ENV): Likewise.
21675 (tst-gettext3-ENV): Likewise.
21676 (tst-gettext5-ENV): Likewise.
21677 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
21678 (tst-fopenloc-ENV): Likewise.
21679 (tst-fgetws-ENV): Remove variable.
21680 (tst-ungetwc1-ENV): Likewise.
21681 (tst-ungetwc2-ENV): Likewise.
21682 (bug-ungetwc2-ENV): Likewise.
21683 (tst-swscanf-ENV): Likewise.
21684 (bug-ftell-ENV): Likewise.
21685 (tst-fgetwc-ENV): Likewise.
21686 (tst-fseek-ENV): Likewise.
21687 (tst-ftell-partial-wide-ENV): Likewise.
21688 (tst-ftell-active-handler-ENV): Likewise.
21689 (tst-ftell-append-ENV): Likewise.
21690 * posix/Makefile (tst-fnmatch-ENV): Likewise.
21691 (tst-regexloc-ENV): Likewise.
21692 (bug-regex1-ENV): Likewise.
21693 (tst-regex-ENV): Likewise.
21694 (tst-regex2-ENV): Likewise.
21695 (bug-regex5-ENV): Likewise.
21696 (bug-regex6-ENV): Likewise.
21697 (bug-regex17-ENV): Likewise.
21698 (bug-regex18-ENV): Likewise.
21699 (bug-regex19-ENV): Likewise.
21700 (bug-regex20-ENV): Likewise.
21701 (bug-regex22-ENV): Likewise.
21702 (bug-regex23-ENV): Likewise.
21703 (bug-regex25-ENV): Likewise.
21704 (bug-regex26-ENV): Likewise.
21705 (bug-regex30-ENV): Likewise.
21706 (bug-regex32-ENV): Likewise.
21707 (bug-regex33-ENV): Likewise.
21708 (bug-regex34-ENV): Likewise.
21709 (bug-regex35-ENV): Likewise.
21710 (tst-rxspencer-ENV): Likewise.
21711 (tst-rxspencer-no-utf8-ENV): Likewise.
21712 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
21713 (tst-sscanf-ENV): Likewise.
21714 (tst-swprintf-ENV): Likewise.
21715 (tst-swscanf-ENV): Likewise.
21716 (test-vfprintf-ENV): Likewise.
21717 (scanf13-ENV): Likewise.
21718 (bug14-ENV): Likewise.
21719 (tst-grouping-ENV): Likewise.
21720 * stdlib/Makefile (tst-strtod-ENV): Likewise.
21721 (tst-strtod3-ENV): Likewise.
21722 (tst-strtod4-ENV): Likewise.
21723 (tst-strtod5-ENV): Likewise.
21724 (testmb2-ENV): Likewise./
21725 * string/Makefile (tst-strxfrm-ENV): Likewise.
21726 (tst-strxfrm2-ENV): Likewise.
21727 (bug-strcoll1-ENV): Likewise.
21728 (test-strcasecmp-ENV): Likewise.
21729 (test-strncasecmp-ENV): Likewise.
21730 * time/Makefile (tst-strptime-ENV): Likewise.
21731 (tst-ftime_l-ENV): Likewise.
21732 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
21733 (tst-mbrtowc-ENV): Likewise.
21734 (tst-wcrtomb-ENV): Likewise.
21735 (tst-mbrtowc2-ENV): Likewise.
21736 (tst-c16c32-1-ENV): Likewise.
21737 (tst-mbsnrtowcs-ENV): Likewise.
21738
21739 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
21740
21741 * manual/resource.texi (How to get information about the memory
21742 subsystem?): Fix typo.
21743 Reported by Peon de la Parra Ivan <peon@keba.com>
21744
21745 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
21746
21747 [BZ #16882]
21748 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
21749 (pthread_spin_lock): Branch out of spin loop to proper location.
21750 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
21751 (pthread_spin_lock): Likewise.
21752
21753 * nptl/tst-spin4.c: New test.
21754 * nptl/Makefile (tests): Add tst-spin4.
21755
21756 2014-06-03 Andreas Schwab <schwab@suse.de>
21757
21758 [BZ #15946]
21759 * resolv/res_send.c (send_dg): Reload file descriptor after
21760 calling reopen.
21761
21762 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
21763
21764 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21765
21766 2014-06-03 Richard Henderson <rth@redhat.com>
21767
21768 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
21769 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
21770 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
21771 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
21772 in the SAVE_PID block.
21773 (__libc_vfork): New alias.
21774 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
21775
21776 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
21777 child in registers, not on the stack. Remove RESET_PID conditionals.
21778 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
21779
21780 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
21781
21782 * sysdeps/aarch64/libm-test-ulps: Regenerate.
21783
21784 2014-06-03 Wilco <wdijkstr@arm.com>
21785
21786 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
21787 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
21788 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21789 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
21790 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
21791 Likewise.
21792
21793 2014-06-03 Wilco <wdijkstr@arm.com>
21794
21795 * sysdeps/aarch64/fpu/math_private.h
21796 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
21797 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
21798 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
21799 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
21800 Fix declarations.
21801
21802 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
21803
21804 * crypt/crypt-private.h: Include ufc-crypt.h.
21805 (__b64_from_24bit): Declare extern.
21806 * crypt/crypt_util.c(__b64_from_24bit): New function.
21807 (b64t): New static const variable.
21808 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
21809 (b64t): Remove variable.
21810 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
21811 * crypt/sha256-crypt.c: Include crypt-private.h.
21812 (b64t): Remove variable.
21813 (__sha256_crypt_r): Remove b64_from_24bit and replace
21814 with __b64_from_24bit.
21815 * crypt/sha512-crypt.c: Likewise.
21816
21817 2014-06-02 Roland McGrath <roland@hack.frob.com>
21818
21819 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
21820 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
21821 Label the code __libc_vfork rather than __vfork.
21822 [!NOT_IN_libc] (vfork): Define as weak alias.
21823 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
21824 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
21825 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
21826
21827 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
21828
21829 * malloc/malloc.c (malloc_info): Fix format specifier for
21830 n_mmaps.
21831
21832 2014-06-02 Wilco <wdijkstr@arm.com>
21833
21834 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
21835 FPCR write.
21836
21837 2014-06-02 Wilco <wdijkstr@arm.com>
21838
21839 [BZ #17009]
21840 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
21841 Rewrite to reduce FPCR/FPSR accesses.
21842
21843 2014-06-01 David S. Miller <davem@davemloft.net>
21844
21845 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21846
21847 2014-05-31 David S. Miller <davem@davemloft.net>
21848
21849 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
21850 to occur in round to nearest mode when |x| >= 2.0
21851
21852 2014-05-30 Richard Henderson <rth@twiddle.net>
21853
21854 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
21855 (PSEUDO_RET_NOERRNO): Remove.
21856 (ret): Don't redefine.
21857 (ret_NOERRNO): Define in terms of ret.
21858 (ret_ERRVAL): Likewise.
21859
21860 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
21861 use of PSEUDO_RET; perform the error check directly.
21862
21863 2014-05-30 Marko Myllynen <myllynen@redhat.com>
21864
21865 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
21866 with __int128_t.
21867
21868 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21869
21870 * malloc/malloc (malloc_info): Fix formatting.
21871
21872 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21873 Roland McGrath <roland@hack.frob.com>
21874
21875 * malloc/malloc (malloc_info): Also print mmapped statistics.
21876
21877 2014-05-30 Roland McGrath <roland@hack.frob.com>
21878
21879 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
21880 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
21881
21882 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
21883
21884 * malloc/malloc.c (malloc_info): Inline mi_arena.
21885
21886 2014-05-29 Richard Henderson <rth@twiddle.net>
21887
21888 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
21889 Remove comma before expanding ASM_ARGS_##nr.
21890 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
21891 Make _x0 a strict output; make _x8 a strict input; adjust expansion
21892 of ASM_ARGS_##nr.
21893 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
21894 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
21895 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
21896 (ASM_ARGS_1): Add leading comma.
21897
21898 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
21899 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
21900 to __errno_location.
21901 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
21902 Remove the expected plt for __errno_location.
21903
21904 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21905 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
21906 call to __read_tp.
21907
21908 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21909 Always allocate 64 bytes of stack frame. Use ldp/stp to create
21910 it and break it down.
21911 (DOCARGS_0, DOCARGS_1): Do nothing.
21912 (DOCARGS_2): Update to store into the new stack frame.
21913 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
21914 (UNDOCARGS_1): Update to restore from the new stack frame.
21915 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
21916 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
21917
21918 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
21919 (SINGLE_THREAD_P): New parameter for result regno.
21920 (PSEUDO): Update to match; use cbz instead of beq.
21921
21922 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
21923 Use ENTRY to define the _nocancel entry point. Share the syscall
21924 and syscall error check paths with the cancel path.
21925 (PSEUDO_END): New.
21926
21927 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
21928 whitespace; tabs before and after asm mnemonics.
21929
21930 2014-05-29 Eric Wong <normalperson@yhbt.net>
21931
21932 [BZ #15132]
21933 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21934 Call fstat64 or stat64 internally, depending on arguments passed.
21935 Replace stat buffer argument with file descriptor argument.
21936 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
21937 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
21938 Pass fd to __internal_statvfs instead of calling fstat64.
21939 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
21940 Pass fd to __internal_statvfs64 instead of calling fstat64.
21941 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
21942 Pass -1 to __internal_statvfs instead of calling stat64.
21943 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
21944 Pass -1 to __internal_statvfs64 instead of calling stat64.
21945
21946 2014-05-28 Roland McGrath <roland@hack.frob.com>
21947
21948 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
21949 that was previously under [RESET_PID].
21950 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
21951
21952 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
21953 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
21954
21955 2014-05-27 Roland McGrath <roland@hack.frob.com>
21956
21957 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
21958
21959 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
21960 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
21961
21962 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
21963
21964 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
21965
21966 2014-05-27 Andreas Schwab <schwab@suse.de>
21967
21968 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
21969 TLS_INIT_TP macro.
21970 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
21971 * elf/rtld.c (init_tls, dl_main): Likewise.
21972 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
21973 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
21974 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
21975 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
21976 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
21977 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
21978 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
21979 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
21980 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
21981 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
21982 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
21983 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
21984 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
21985 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
21986 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
21987 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
21988 * sysdeps/generic/tls.h: Update description.
21989
21990 2014-05-27 Will Newton <will.newton@linaro.org>
21991
21992 [BZ #16990]
21993 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
21994 and restore r2 rather than just restoring.
21995
21996 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
21997
21998 [BZ #16724]
21999 * libio/tst-ftell-append.c: New test case.
22000 * libio/Makefile (tests): Add test case.
22001 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
22002 append mode.
22003 * libio/wfileops.c (do_ftell_wide): Likewise.
22004
22005 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22006
22007 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22008
22009 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
22010 ...
22011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
22012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22013 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
22014 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
22015 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
22016 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
22017 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
22018 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
22019 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
22020 Moved ...
22021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
22022 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
22023 Moved ...
22024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
22025 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
22026 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
22027 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
22028 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
22029 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
22030 ...
22031 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
22032 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
22033 Moved ...
22034 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
22035 here.
22036 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
22037 ...
22038 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
22039 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
22040 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
22041
22042 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
22043 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
22044 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
22045 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
22046
22047 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
22048 merge into ...
22049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
22050 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
22051 ...
22052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
22053 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
22054 ...
22055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
22056 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22057 Moved ...
22058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
22059 here.
22060 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22061 Moved ...
22062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
22063 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22064 Moved ...
22065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
22066
22067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
22068 conditional [RESET_PID].
22069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
22070 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
22071 removed.
22072 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
22073 removed.
22074
22075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
22076 <tcb-offsets.h>.
22077 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22078 (__libc_vfork): New strong alias.
22079 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
22080 removed.
22081 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
22082 Removed.
22083
22084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
22085 <tcb-offsets.h>.
22086 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
22087 (__libc_vfork): New strong alias.
22088 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
22089 removed.
22090 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
22091 removed.
22092
22093 2014-05-26 Carlos O'Donell <carlos@redhat.com>
22094
22095 * malloc/malloc.c (mi_arena): New function.
22096 (malloc_info): Remove nested function mi_arena. Call non-nosted
22097 function mi_arena.
22098
22099 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22100
22101 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
22102 by insrwi.
22103 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
22104 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
22105 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
22106 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
22107 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
22108 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
22109 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
22110
22111 2014-05-26 Andreas Schwab <schwab@suse.de>
22112
22113 [BZ #16984]
22114 * locale/programs/repertoire.c (repertoire_read): Add slash
22115 between I18NPATH element and file name.
22116 * locale/programs/locfile.c (locfile_read): Likewise.
22117
22118 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
22119
22120 * nptl/pthread_mutexattr_settype.c
22121 (__pthread_mutexattr_settype):
22122 Disable lock elision for PTHREAD_MUTEX_NORMAL.
22123
22124 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
22125
22126 * nptl/tst-mutex5 (do_test):
22127 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
22128
22129 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22130
22131 * benchtests/README: Document 'init' directive.
22132 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
22133 BENCH_INIT.
22134 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
22135 (parse_file): Recognize 'init' directive.
22136
22137 2014-05-26 Kyle McMartin <kyle@redhat.com>
22138
22139 [BZ #16796]
22140 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
22141 alignment of struct pthread.
22142
22143 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22144
22145 [BZ #16878]
22146 * nscd/netgroupcache.c (addgetnetgrentX): Look for
22147 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22148 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
22149 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
22150
22151 2014-05-25 Richard Henderson <rth@twiddle.net>
22152
22153 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22154 (SINGLE_THREAD_P_PIC): Remove.
22155 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
22156 (SINGLE_THREAD_P_PIC): Remove.
22157
22158 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
22159 branch to syscall error ...
22160 (PSEUDO): ... here.
22161 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
22162 from __local_syscall_error to .Lsyscall_error.
22163 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
22164 (SYSCALL_ERROR): Update label name.
22165
22166 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22167 Do not use DOARGS/UNDOARGS.
22168 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
22169 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
22170 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
22171 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
22172 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
22173
22174 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
22175 block comment.
22176
22177 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
22178 define if !NOT_IN_libc.
22179 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
22180 define with non-default symbol versions.
22181
22182 2014-05-23 Richard Henderson <rth@twiddle.net>
22183
22184 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
22185 (vfork, __vfork): Define via compat_symbol.
22186
22187 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
22188 [!HAVE_IFUNC] (vfork_compat): Remove.
22189 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
22190
22191 2014-05-23 Joseph Myers <joseph@codesourcery.com>
22192
22193 [BZ #16978]
22194 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
22195 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
22196 variable.
22197
22198 2014-05-23 Richard Henderson <rth@twiddle.net>
22199
22200 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
22201 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
22202 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
22203 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
22204
22205 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
22206 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
22207 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
22208 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
22209 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
22210 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
22211 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
22212 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
22213 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
22214 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
22215 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
22216 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
22217 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
22218 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
22219 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
22220 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
22221 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
22222 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
22223 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
22224 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
22225 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
22226 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
22227 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
22228 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
22229 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
22230 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
22231 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
22232 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
22233 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
22234 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
22235 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
22236 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
22237 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
22238 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
22239 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
22240 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
22241 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
22242 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
22243 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
22244 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
22245 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
22246 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
22247 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
22248 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
22249 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
22250 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
22251 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
22252 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
22253 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
22254 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
22255 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
22256 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
22257 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
22258 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
22259 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
22260 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
22261
22262 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
22263 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
22264 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
22265 before exiting on error.
22266 (__libc_vfork): New strong alias.
22267 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
22268 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
22269
22270 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
22271 that was previously under [RESET_PID].
22272 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
22273
22274 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
22275
22276 2014-05-23 Joseph Myers <joseph@codesourcery.com>
22277
22278 [BZ #16977]
22279 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
22280 value when x - 1 is zero.
22281 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
22282 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
22283 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
22284 0.0L for an argument of 1.0L.
22285 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
22286 Likewise.
22287 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
22288 value when x - 1 is zero.
22289 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
22290 * sysdeps/i386/fpu/libm-test-ulps: Update.
22291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22292
22293 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
22294
22295 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
22296 alphasort and versionsort.
22297
22298 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22299
22300 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
22301 macro.
22302 [copysignf]: Likewise.
22303
22304 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
22305
22306 * crypt/md5-crypt.c: Fix formatting.
22307
22308 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
22309
22310 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
22311 (b64_from_24bit): New function.
22312
22313 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22314
22315 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
22316 libc_hidden_builtin_def to ifunc.
22317 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
22318 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
22319
22320 2014-05-21 Roland McGrath <roland@hack.frob.com>
22321
22322 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
22323 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
22324
22325 2014-05-21 Joseph Myers <joseph@codesourcery.com>
22326
22327 * nscd/Depend (linuxthreads): Remove.
22328 (nptl): Add.
22329 * resolv/Depend (linuxthreads): Remove.
22330 * rt/Depend (linuxthreads): Remove.
22331
22332 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
22333 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
22334 $(common-objpfx)elf/.
22335 (link-libc-before-gnulib): Likewise.
22336 (elfobjdir): Remove variable.
22337 * Makefile (install): Use $(elf-objpfx) instead of
22338 $(common-objpfx)elf/.
22339 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
22340 $(elfobjdir)/.
22341 (link-libc-deps): Likewise.
22342 ($(common-objpfx)libc.so): Likewise.
22343 ($(common-objpfx)linkobj/libc.so): Likewise.
22344 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
22345 instead of $(common-objpfx)elf/.
22346 (symbolic-link-list): Likewise.
22347 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
22348 [$(cross-compiling) = no]: Likewise.
22349 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
22350 $(elfobjdir)/.
22351 (static-gnulib-arch): Likewise.
22352 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
22353 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
22354 $(common-objpfx)elf/.
22355
22356 2014-05-21 Richard Henderson <rth@redhat.com>
22357
22358 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
22359 (SINGLE_THREAD_P): Use the correct width load. Fold
22360 into the ldr offset.
22361
22362 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
22363 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
22364
22365 2014-05-20 Joseph Myers <joseph@codesourcery.com>
22366
22367 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
22368 (libgcc_s_resume): Use __attribute_used__.
22369 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
22370 Likewise.
22371
22372 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22373
22374 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
22375 optimization when used with float constants.
22376
22377 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22378
22379 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
22380
22381 [BZ #16915]
22382 * locale/nl_langinfo_l.c: Make direct reference to every
22383 _nl_current_CATEGORY symbol.
22384 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
22385 (tests-static): Add tst-langinfo-static.
22386 (tests-special): Add tst-langinfo-static.out.
22387 ($(objpfx)tst-langinfo.out): Redirect output.
22388 ($(objpfx)tst-langinfo-static.out): New.
22389 * localedata/tst-langinfo.sh: Send output to stdout.
22390 * localedata/tst-langinfo-static.c: New file.
22391
22392 [BZ #16965]
22393 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
22394 when the shift amount is modulo the limb size.
22395
22396 2014-05-20 Richard Henderson <rth@redhat.com>
22397
22398 [BZ #16967]
22399 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
22400 Change type of sa_flags from unsigned int to int.
22401
22402 [BZ #16966]
22403 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
22404
22405 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
22406
22407 2014-05-20 Will Newton <will.newton@linaro.org>
22408
22409 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
22410 Test the return value of the system call in the nocancel case.
22411
22412 2014-05-20 Will Newton <will.newton@linaro.org>
22413 Yvan Roux <yvan.roux@linaro.org>
22414
22415 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
22416 #include of asm/ptrace.h.
22417 (PTRACE_GET_THREAD_AREA): Remove #undef.
22418 (PTRACE_GETHBPREGS): Likewise.
22419 (PTRACE_SETHBPREGS): Likewise.
22420 (struct user_regs_struct): New structure.
22421 (struct user_fpsimd_struct): New structure.
22422 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
22423 #include of asm/ptrace.h and second #include of sys/user.h.
22424 (PTRACE_GET_THREAD_AREA): Remove #undef.
22425 (PTRACE_GETHBPREGS): Likewise.
22426 (PTRACE_SETHBPREGS): Likewise.
22427 (ELF_NGREG): Use new struct user_regs_struct.
22428 (elf_fpregset_t): Use new struct user_fpsimd_struct.
22429
22430 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22431
22432 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
22433 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
22434
22435 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
22436
22437 [BZ #16958]
22438 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
22439 membar to avoid block loads/stores to overlap previous stores.
22440
22441 2014-05-17 Richard Henderson <rth@redhat.com>
22442
22443 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
22444 Create the __##syscall_name##_nocancel entry point.
22445 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
22446 Remove; let the sysdep-cancel.h code create it.
22447
22448 2014-05-17 David S. Miller <davem@davemloft.net>
22449
22450 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
22451 Protect with __USE_GNU.
22452 (TIOCSET_TEMPT): Likewise.
22453 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
22454 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
22455 these are already provided in bits/ioctl-types.h
22456
22457 2014-05-16 Roland McGrath <roland@hack.frob.com>
22458
22459 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
22460 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
22461
22462 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
22463 Use wait4 regardless of [__NR_waitpid].
22464
22465 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
22466
22467 PR libgcc/60166
22468 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
22469 (_FP_NANSIGN_Q): Set the quiet bit.
22470
22471 2014-05-16 Joseph Myers <joseph@codesourcery.com>
22472
22473 * benchtests/Makefile
22474 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
22475 not $(common-objpfx)math/libm.so.
22476 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
22477 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
22478 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
22479 $(common-objpfx)dlfcn/libdl.so.
22480 ($(objpfx)tst-audit8): Depend on $(libm), not
22481 $(common-objpfx)math/libm.so.
22482 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
22483 not $(common-objpfx)dlfcn/libdl.so.
22484 * math/Makefile
22485 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22486 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
22487 [$(build-shared) = yes].
22488 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
22489 $(common-objpfx)nptl/libpthread.so.
22490 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
22491 $(common-objpfx)math/libm.so$(libm.so-version) or
22492 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
22493 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
22494 $(common-objpfx)dlfcn/libdl.so.
22495 * setjmp/Makefile (link-libm): Remove variable.
22496 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
22497 * stdio-common/Makefile (link-libm): Remove variable.
22498 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
22499 * stdlib/Makefile (link-libm): Remove variable.
22500 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
22501 ($(objpfx)tst-strtod-round): Likewise.
22502 ($(objpfx)tst-tininess): Likewise.
22503 ($(objpfx)tst-strtod-underflow): Likewise.
22504 ($(objpfx)tst-strtod6): Likewise.
22505 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
22506 $(libdl), not $(common-objpfx)nptl/libpthread.so and
22507 $(common-objpfx)dlfcn/libdl.so.
22508
22509 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22510
22511 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
22512 BSD terminal modes definitions.
22513
22514 2014-05-16 Roland McGrath <roland@hack.frob.com>
22515
22516 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
22517 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
22518
22519 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
22520 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
22521 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
22522 Don't do #include_next.
22523 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
22524 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
22525 Don't do #include_next.
22526 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
22527 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
22528 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
22529 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
22530
22531 2014-05-16 Allan McRae <allan@archlinux.org>
22532
22533 * po/sv.po: Update Swedish translation from translation project.
22534
22535 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
22536 in sed expression.
22537
22538 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
22539
22540 [BZ #16917]
22541 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
22542 errno if the TIOCGPTN ioctl fails with an error different than
22543 EINVAL.
22544 * login/tst-ptsname.c: New file.
22545 * login/Makefile (tests): Add tst-ptsname.
22546
22547 [BZ #16943]
22548 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
22549 and prlimit64.
22550
22551 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22552
22553 [BZ #16849]
22554 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
22555 herrno to return EAI_AGAIN.
22556
22557 2014-05-14 Roland McGrath <roland@hack.frob.com>
22558
22559 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
22560 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
22561 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
22562 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
22563 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
22564 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
22565 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
22566 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
22567 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
22568 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
22569 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
22570 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
22571 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
22572 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
22573 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
22574 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
22575 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
22576 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
22577 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
22578 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
22579 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
22580 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
22581 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
22582 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
22583 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
22584 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
22585 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
22586 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
22587 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
22588 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
22589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
22590 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
22591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
22592 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
22593 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
22594 Moved ...
22595 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
22596 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
22597 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
22598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
22599 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
22600 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
22601 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
22602 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
22603 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
22604 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
22605 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
22606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
22607 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
22608 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
22609 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
22610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
22611 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
22612 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
22613 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
22614 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
22615 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
22616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
22617 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
22618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
22619 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
22620 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
22621 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
22622 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
22623 Moved ...
22624 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
22625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
22626 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
22627 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
22628 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
22629 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
22630 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
22631 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
22632 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
22633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
22634 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
22635 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
22636 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
22637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
22638 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
22639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
22640 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
22641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
22642 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
22643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
22644 Moved ...
22645 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
22646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
22647 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
22648
22649 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
22650 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
22651 (libpthread-sysdep_routines): Add elision-related stuff here instead.
22652 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
22653 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
22654 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
22655 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
22656 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
22657 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
22658 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
22659 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
22660 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
22661 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
22662 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
22663 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
22664 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
22665 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
22666 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
22667 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
22668 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
22669 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
22670 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
22671 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
22672 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
22673 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
22674 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
22675 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
22676 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
22677 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
22678 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
22679 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
22680
22681 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
22682 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
22683
22684 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
22685 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
22686 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
22687 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
22688 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
22689 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
22690 Moved ...
22691 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
22692 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
22693 Moved ...
22694 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
22695 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
22696 Moved ...
22697 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
22698 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
22699 Moved ...
22700 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
22701 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
22702 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
22703 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
22704 Moved ...
22705 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
22706 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
22707 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
22708 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
22709 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
22710 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
22711 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
22712 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
22713 Moved ...
22714 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
22715 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22716 Moved ...
22717 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
22718 ... here.
22719 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
22720 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
22721 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
22722 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
22723 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22724 Moved ...
22725 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
22726 ... here.
22727 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
22728 Moved ...
22729 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
22730 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
22731 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
22732 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
22733 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
22734 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
22735 Moved ...
22736 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
22737 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
22738 Moved ...
22739 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
22740 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
22741 Moved ...
22742 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
22743 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
22744 Moved ...
22745 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
22746 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
22747 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
22748 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
22749 Moved ...
22750 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
22751 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
22752 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
22753 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
22754 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
22755 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
22756 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
22757 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
22758 Moved ...
22759 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
22760 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22761 Moved ...
22762 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
22763 ... here.
22764 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
22765 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
22766 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
22767 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
22768 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22769 Moved ...
22770 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
22771 ... here.
22772 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
22773 Moved ...
22774 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
22775 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
22776 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
22777 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
22778 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
22779 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
22780 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
22781 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
22782 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
22783 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
22784 Moved ...
22785 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
22786 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
22787 Moved ...
22788 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
22789 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
22790 Moved ...
22791 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
22792 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
22793 Moved ...
22794 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
22795 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
22796 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
22797 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
22798 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
22799 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
22800 Moved ...
22801 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
22802 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
22803 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
22804 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
22805 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
22806 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
22807 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
22808 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
22809 Moved ...
22810 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
22811 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22812 Moved ...
22813 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
22814 ... here.
22815 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
22816 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
22817 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
22818 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
22819 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22820 Moved ...
22821 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
22822 ... here.
22823 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
22824 Moved ...
22825 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
22826 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
22827 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
22828 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
22829 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
22830 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
22831 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
22832 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
22833 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
22834 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
22835 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
22836
22837 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
22838 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
22839
22840 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
22841 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
22842
22843 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
22844 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
22845 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
22846 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
22847 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
22848 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
22849 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
22850 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
22851 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
22852 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
22853 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
22854 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
22855 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
22856 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
22857 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
22858 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
22859 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
22860 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
22861 Moved ...
22862 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
22863 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
22864 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
22865 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
22866 Moved ...
22867 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
22868 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
22869 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
22870 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
22871 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
22872 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
22873 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
22874 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
22875 Moved ...
22876 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
22877 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
22878 Moved ...
22879 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
22880 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
22881 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
22882 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
22883 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
22884 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
22885 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
22886 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
22887 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
22888 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
22889 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
22890 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
22891 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
22892 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
22893 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
22894 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
22895 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
22896
22897 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
22898 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
22899 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
22900 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
22901 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
22902
22903 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
22904 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
22905 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
22906 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
22907 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
22908 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
22909 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
22910 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
22911 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
22912 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
22913
22914 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
22915 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
22916
22917 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
22918 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
22919 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
22920 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
22921 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
22922 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
22923 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
22924 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
22925 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
22926 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
22927 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
22928 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
22929 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
22930 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
22931 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
22932 Update #include.
22933 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
22934 Likewise.
22935 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
22936 Likewise.
22937 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
22938 Likewise.
22939 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
22940 Likewise.
22941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
22942 Likewise.
22943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
22944 Likewise.
22945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
22946 Likewise.
22947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
22948 Likewise.
22949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
22950 Likewise.
22951 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
22952 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
22953 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
22954 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
22955 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
22956 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
22957 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
22958 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
22959 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
22960 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
22961 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
22962 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
22963 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
22964 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
22965 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
22966
22967 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
22968 that was previously under [RESET_PID].
22969 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
22970 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
22971 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
22972
22973 * sysdeps/i386/nptl/Implies: New file.
22974 * sysdeps/x86_64/nptl/Implies: New file.
22975 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
22976 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
22977 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
22978 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
22979
22980 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
22981 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22982 (__libc_vfork): New strong alias.
22983 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
22984 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
22985
22986 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
22987 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22988 (__libc_vfork): New strong alias.
22989 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
22990 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
22991
22992 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
22993 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
22994 (__libc_vfork): New strong alias.
22995 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
22996 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
22997 * nptl/pt-vfork.c: New file.
22998 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
22999 (libpthread: GLIBC_2.20): New version set (empty).
23000
23001 2014-05-14 Will Newton <will.newton@linaro.org>
23002
23003 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
23004 rather than #if.
23005
23006 2014-05-14 Joseph Myers <joseph@codesourcery.com>
23007
23008 [BZ #16564]
23009 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
23010 arguments with exponent 65 or above.
23011 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
23012 arguments 0x1p113L or above.
23013 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
23014 to arguments 0x1p107L or above.
23015 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
23016 positive arguments with exponent 65 or above.
23017 * math/auto-libm-test-in: Add more tests of log1p.
23018 * math/auto-libm-test-out: Regenerated.
23019
23020 [BZ #16928]
23021 * math/s_cacos.c (__cacos): Ensure zero real part of result from
23022 non-finite arguments is +0.
23023 * math/s_cacosf.c (__cacosf): Likewise.
23024 * math/s_cacosl.c (__cacosl): Likewise.
23025 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
23026 * sysdeps/i386/fpu/libm-test-ulps: Update.
23027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23028
23029 [BZ #16927]
23030 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
23031 value.
23032 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
23033 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
23034 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
23035 for explicit high bit of mantissa when testing for argument equal
23036 to 1.
23037 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
23038 * sysdeps/i386/fpu/libm-test-ulps: Update.
23039 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23040
23041 [BZ #16516]
23042 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
23043 (__erf): Scale by 16 instead of 8 in potentially underflowing
23044 case. Ensure exception if result actually underflows.
23045 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
23046 (__erff): Scale by 16 instead of 8 in potentially underflowing
23047 case. Ensure exception if result actually underflows.
23048 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
23049 (efx8): Remove variable.
23050 (__erfl): Scale by 16 instead of 8 in potentially underflowing
23051 case. Ensure exception if result actually underflows.
23052 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
23053 (efx8): Remove variable.
23054 (__erfl): Scale by 16 instead of 8 in potentially underflowing
23055 case. Ensure exception if result actually underflows.
23056 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
23057 (efx8): Remove variable.
23058 (__erfl): Scale by 16 instead of 8 in potentially underflowing
23059 case. Ensure exception if result actually underflows.
23060 * math/auto-libm-test-in: Add more tests of erf.
23061 * math/auto-libm-test-out: Regenerated.
23062
23063 2014-05-14 Andreas Schwab <schwab@suse.de>
23064
23065 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
23066 Remove code conditionalized on USE___THREAD.
23067
23068 * config.h.in (HAVE_PT_CHOWN): Define as 0.
23069 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
23070 not definedness.
23071
23072 2014-05-14 Joseph Myers <joseph@codesourcery.com>
23073
23074 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
23075 Define unconditionally.
23076 (__ASSUME_O_CLOEXEC): Likewise.
23077 (__ASSUME_SOCK_CLOEXEC): Likewise.
23078 (__ASSUME_IN_NONBLOCK): Likewise.
23079 (__ASSUME_PIPE2): Likewise.
23080 (__ASSUME_EVENTFD2): Likewise.
23081 (__ASSUME_SIGNALFD4): Likewise.
23082 (__ASSUME_DUP3): Likewise.
23083 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
23084 (__ASSUME_DUP3): Do not define.
23085 (__ASSUME_EVENTFD2): Likewise.
23086 (__ASSUME_IN_NONBLOCK): Likewise.
23087 (__ASSUME_O_CLOEXEC): Likewise.
23088 (__ASSUME_PIPE2): Likewise.
23089 (__ASSUME_SIGNALFD4): Likewise.
23090 (__ASSUME_SOCK_CLOEXEC): Likewise.
23091 (__ASSUME_UTIMES): Undefine.
23092 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23093 (__ASSUME_UTIMES): Do not define.
23094 (__ASSUME_O_CLOEXEC): Likewise.
23095 (__ASSUME_SOCK_CLOEXEC): Likewise.
23096 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
23097 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
23098 0x020621].
23099 (__ASSUME_PIPE2): Likewise.
23100 (__ASSUME_EVENTFD2): Likewise.
23101 (__ASSUME_SIGNALFD4): Likewise.
23102 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
23103 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
23104 Do not define.
23105 (__ASSUME_EVENTFD2): Likewise.
23106 (__ASSUME_SIGNALFD4): Likewise.
23107 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23108 (__ASSUME_32BITUIDS): Likewise.
23109 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
23110 (__ASSUME_IPC64): Likewise.
23111 (__ASSUME_ST_INO_64_BIT): Likewise.
23112 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
23113 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
23114 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23115 (__ASSUME_UTIMES): Do not define.
23116 (__ASSUME_PSELECT): Likewise.
23117 (__ASSUME_PPOLL): Likewise.
23118 (__ASSUME_O_CLOEXEC): Likewise.
23119 (__ASSUME_SOCK_CLOEXEC): Likewise.
23120 (__ASSUME_IN_NONBLOCK): Likewise.
23121 (__ASSUME_PIPE2): Likewise.
23122 (__ASSUME_EVENTFD2): Likewise.
23123 (__ASSUME_SIGNALFD4): Likewise.
23124 (__ASSUME_DUP3): Likewise.
23125 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23126 (__ASSUME_UTIMES): Likewise.
23127 (__ASSUME_O_CLOEXEC): Likewise.
23128 (__ASSUME_SOCK_CLOEXEC): Likewise.
23129 (__ASSUME_IN_NONBLOCK): Likewise.
23130 (__ASSUME_PIPE2): Likewise.
23131 (__ASSUME_EVENTFD2): Likewise.
23132 (__ASSUME_SIGNALFD4): Likewise.
23133 (__ASSUME_DUP3): Likewise.
23134 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23135 (__ASSUME_UTIMES): Likewise.
23136 (__ASSUME_O_CLOEXEC): Likewise.
23137 (__ASSUME_SOCK_CLOEXEC): Likewise.
23138 (__ASSUME_IN_NONBLOCK): Likewise.
23139 (__ASSUME_PIPE2): Likewise.
23140 (__ASSUME_EVENTFD2): Likewise.
23141 (__ASSUME_SIGNALFD4): Likewise.
23142 (__ASSUME_DUP3): Likewise.
23143 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
23144 Likewise.
23145 (__ASSUME_UTIMES): Likewise.
23146 (__ASSUME_EVENTFD2): Likewise.
23147 (__ASSUME_SIGNALFD4): Likewise.
23148 * sysdeps/unix/sysv/linux/tile/kernel-features.h
23149 (__ASSUME_O_CLOEXEC): Likewise.
23150 (__ASSUME_SOCK_CLOEXEC): Likewise.
23151 (__ASSUME_IN_NONBLOCK): Likewise.
23152 (__ASSUME_PIPE2): Likewise.
23153 (__ASSUME_EVENTFD2): Likewise.
23154 (__ASSUME_SIGNALFD4): Likewise.
23155 (__ASSUME_DUP3): Likewise.
23156 (__ASSUME_UTIMES): Undefine.
23157
23158 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
23159 feclearexcept. Remove symbol versioning code.
23160 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
23161 symbol versioning code.
23162 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
23163 symbol versioning code.
23164 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
23165 feupdateenv. Remove symbol versioning code.
23166 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
23167 fegetexceptflag. Remove symbol versioning code.
23168 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
23169 fesetexceptflag. Remove symbol versioning code.
23170 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
23171 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
23172 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
23173 (__posix_fadvise64_l32): Remove prototype.
23174 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
23175 code.
23176
23177 2014-05-13 Roland McGrath <roland@hack.frob.com>
23178
23179 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
23180 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
23181 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
23182 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
23183
23184 2014-05-13 Sami Kerola <kerolasa@iki.fi>
23185
23186 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
23187 current working directory
23188
23189 2014-05-13 Roland McGrath <roland@hack.frob.com>
23190
23191 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
23192 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
23193 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
23194 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
23195 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
23196 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
23197 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
23198 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
23199 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
23200 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
23201 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
23202 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
23203 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
23204 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
23205 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
23206 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
23207 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
23208 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
23209 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
23210 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
23211 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
23212 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
23213 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
23214 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
23215 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
23216 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
23217 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
23218 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
23219 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
23220 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
23221 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
23222 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
23223 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
23224 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
23225 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
23226 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
23227 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
23228 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
23229 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
23230 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
23231 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
23232 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
23233
23234 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
23235 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
23236
23237 * sysdeps/unix/sysv/linux/arm/Makefile
23238 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
23239 Add rt-aeabi_unwind_cpp_pr1.
23240 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
23241 Add nptl-aeabi_unwind_cpp_pr1.
23242 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
23243 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
23244 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
23245 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
23246 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
23247 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
23248
23249 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
23250 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
23251 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
23252 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
23253
23254 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
23255 Deconditionalize the code that was previously under [RESET_PID].
23256 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
23257
23258 * sysdeps/generic/exit-thread.h: New file.
23259 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
23260 * include/unistd.h (__exit_thread): Remove declaration.
23261 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
23262 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
23263 * csu/libc-start.c: Include <exit-thread.h>.
23264 (LIBC_START_MAIN): Pass no argument to __exit_thread.
23265 * nptl/pthread_create.c: Include <exit-thread.h>.
23266 (start_thread): Call __exit_thread in place of __exit_thread_inline.
23267 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
23268 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
23269 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
23270 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
23271 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
23272 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
23273 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
23274 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
23275 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
23276 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
23277 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
23278 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
23279 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
23280 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
23281 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
23282 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
23283
23284 2014-05-13 Andreas Schwab <schwab@suse.de>
23285
23286 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
23287
23288 2014-05-12 Joseph Myers <joseph@codesourcery.com>
23289
23290 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
23291 (__ASSUME_UTIMES): Do not condition on kernel version.
23292 (__ASSUME_PSELECT): Define unconditionally.
23293 (__ASSUME_PPOLL): Likewise.
23294 (__ASSUME_ATFCTS): Likewise.
23295 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
23296 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
23297 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
23298 (__ASSUME_UTIMENSAT): Define unconditionally.
23299 (__ASSUME_PRIVATE_FUTEX): Likewise.
23300 (__ASSUME_FALLOCATE): Likewise.
23301 (__ASSUME_O_CLOEXEC): Likewise.
23302 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
23303 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
23304 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
23305 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
23306 (__ASSUME_IN_NONBLOCK): Likewise.
23307 (__ASSUME_PIPE2): Likewise.
23308 (__ASSUME_EVENTFD2): Likewise.
23309 (__ASSUME_SIGNALFD4): Likewise.
23310 (__ASSUME_DUP3): Likewise.
23311 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23312 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
23313 (__ASSUME_AT_RANDOM): Likewise.
23314 (__ASSUME_PREADV): Likewise.
23315 (__ASSUME_PWRITEV): Likewise.
23316 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
23317 (__ASSUME_F_GETOWN_EX): Define unconditionally.
23318 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
23319 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
23320 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
23321 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23322 (__ASSUME_O_CLOEXEC): Define unconditionally.
23323 (__ASSUME_PSELECT): Do not undefine conditionally.
23324 (__ASSUME_PPOLL): Likewise.
23325 (__ASSUME_ATFCTS): Likewise.
23326 (__ASSUME_SET_ROBUST_LIST): Likewise.
23327 (__ASSUME_UTIMENSAT): Likewise.
23328 (__ASSUME_FDATASYNC): Define unconditionally.
23329 * sysdeps/unix/sysv/linux/arm/kernel-features.h
23330 (__ASSUME_SIGFRAME_V2): Likewise.
23331 )__ASSUME_EVENTFD2): Likewise.
23332 (__ASSUME_SIGNALFD4): Likewise.
23333 (__ASSUME_PSELECT): Do not undefine conditionally.
23334 (__ASSUME_PPOLL): Likewise.
23335 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23336 (__ASSUME_PSELECT): Define unconditionally.
23337 (__ASSUME_PPOLL): Likewise.
23338 (__ASSUME_O_CLOEXEC): Likewise.
23339 (__ASSUME_SOCK_CLOEXEC): Likewise.
23340 (__ASSUME_IN_NONBLOCK): Likewise.
23341 (__ASSUME_PIPE2): Likewise.
23342 (__ASSUME_EVENTFD2): Likewise.
23343 (__ASSUME_SIGNALFD4): Likewise.
23344 (__ASSUME_DUP3): Likewise.
23345 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23346 (__ASSUME_O_CLOEXEC): Likewise.
23347 (__ASSUME_SOCK_CLOEXEC): Likewise.
23348 (__ASSUME_IN_NONBLOCK): Likewise.
23349 (__ASSUME_PIPE2): Likewise.
23350 (__ASSUME_EVENTFD2): Likewise.
23351 (__ASSUME_SIGNALFD4): Likewise.
23352 (__ASSUME_DUP3): Likewise.
23353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
23354 (__ASSUME_EVENTFD2): Likewise.
23355 (__ASSUME_SIGNALFD4): Likewise.
23356 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23357
23358 2014-05-12 Andreas Schwab <schwab@suse.de>
23359
23360 [BZ #16932]
23361 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
23362 (_nss_nis_gethostbyname4_r): Return error if item length is larger
23363 than maximum RPC packet size.
23364 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
23365 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
23366 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
23367 (_nss_nis_getservbyport_r): Likewise.
23368
23369 2014-05-12 Will Newton <will.newton@linaro.org>
23370
23371 * malloc/Makefile (tests): Add tst-mallopt.
23372 * malloc/tst-mallopt.c: New file.
23373
23374 2014-05-09 Roland McGrath <roland@hack.frob.com>
23375
23376 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
23377 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
23378
23379 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23380
23381 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
23382 (tst-tlsmod6.so): Likewise.
23383
23384 2014-05-09 Roland McGrath <roland@hack.frob.com>
23385
23386 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
23387
23388 2014-05-09 Joseph Myers <joseph@codesourcery.com>
23389
23390 [BZ #16064]
23391 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
23392 and <dl-procinfo.h>.
23393 (__fegetenv): Save SSE state in envp->__eip if supported.
23394 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
23395 envp->__eip if supported.
23396 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
23397 and <dl-procinfo.h>.
23398 (__fesetenv): Always set __eip, __cs_selector, __opcode,
23399 __data_offset and __data_selector in environment to 0. Set SSE
23400 state if supported.
23401 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
23402 test-fenv-sse.
23403 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
23404 -mfpmath=sse.
23405 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
23406
23407 2014-05-09 Will Newton <will.newton@linaro.org>
23408
23409 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
23410 and libc_relro_required for ARM.
23411 * sysdeps/arm/preconfigure: Regenerate.
23412
23413 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
23414 Stefan Liebler <stli@linux.vnet.ibm.com>
23415
23416 * config.make.in (enable-lock-elision): New Makefile variable.
23417 * configure.ac: Likewise.
23418 * configure: Regenerate.
23419 * sysdeps/s390/configure.ac:
23420 Add check for gcc transactions support.
23421 * sysdeps/s390/configure: Regenerate.
23422 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
23423 Build elision files if enabled.
23424 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
23425 Add lock elision support for s390.
23426 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
23427 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
23428 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
23429 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23430 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
23431 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
23432 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
23433 Likewise.
23434 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
23435 Likewise.
23436 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
23437 Likewise.
23438 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
23439 Likewise.
23440 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
23441 (__lll_timedlock_elision, __lll_lock_elision)
23442 (__lll_unlock_elision, __lll_trylock_elision)
23443 (lll_timedlock_elision, lll_lock_elision)
23444 (lll_unlock_elision, lll_trylock_elision): Add.
23445 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
23446 (pthread_mutex_t): Add lock elision support for s390.
23447
23448 2014-05-14 Wilco <wdijkstr@arm.com>
23449
23450 * sysdeps/arm/fclrexcpt.c: Cleanup.
23451 * sysdeps/arm/fedisblxcpt.c: Cleanup.
23452 * sysdeps/arm/feenablxcpt.c: Cleanup.
23453 * sysdeps/arm/fegetenv.c: Cleanup.
23454 * sysdeps/arm/fegetexcept.c: Cleanup.
23455 * sysdeps/arm/fegetround.c: Cleanup.
23456 * sysdeps/arm/feholdexcpt.c: Cleanup.
23457 * sysdeps/arm/fesetenv.c: Cleanup.
23458 * sysdeps/arm/fesetround.c: Cleanup.
23459 * sysdeps/arm/feupdateenv.c: Cleanup.
23460 * sysdeps/arm/fgetexcptflg.c: Cleanup.
23461 * sysdeps/arm/fraiseexcpt.c: Cleanup.
23462 * sysdeps/arm/fsetexcptflg.c: Cleanup.
23463 * sysdeps/arm/ftestexcept.c: Cleanup.
23464 * sysdeps/arm/get-rounding-mode.h: Cleanup.
23465 * sysdeps/arm/setfpucw.c: Cleanup.
23466
23467 2014-05-09 Will Newton <will.newton@linaro.org>
23468
23469 * sysdeps/arm/armv7/strcmp.S: New file.
23470 * NEWS: Mention addition of ARMv7 optimized strcmp.
23471
23472 2014-05-08 Roland McGrath <roland@hack.frob.com>
23473
23474 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
23475 look for %.ac rather than %.in.
23476
23477 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
23478 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
23479 * sysdeps/mach/hurd/configure: Regenerated.
23480 * sysdeps/unix/sysv/linux/configure: Regenerated.
23481
23482 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
23483
23484 2014-05-07 Steve Ellcey <sellcey@mips.com>
23485
23486 [BZ# 16922]
23487 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
23488 (LONG_SUB): Ditto.
23489 (PTR_SUB): Ditto.
23490
23491 2014-05-07 Andreas Schwab <schwab@suse.de>
23492
23493 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
23494 when skipping over non-matching result from nscd.
23495
23496 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
23497
23498 [BZ #16876]
23499 * nptl/sockperf.c (client): Check socket return value.
23500
23501 [BZ #16877]
23502 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
23503 nscd security class.
23504
23505 2014-05-06 Roland McGrath <roland@hack.frob.com>
23506
23507 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
23508 * sysdeps/arm/unwind.h: ... here.
23509
23510 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
23511
23512 [BZ# 16916]
23513 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
23514 Define.
23515
23516 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
23517
23518 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
23519 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
23520 multiarch strncpy for PPC64.
23521 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
23522 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
23523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
23524 multiarch optimizations.
23525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
23526 (__libc_ifunc_impl_list): Likewise.
23527 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
23528 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
23529 multiarch stpncpy for PPC64.
23530 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
23531 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
23532
23533 2014-05-06 Andreas Schwab <schwab@suse.de>
23534
23535 [BZ #16912]
23536 * gmon/mcount.c (_MCOUNT_DECL): Use
23537 atomic_compare_and_exchange_bool_acq instead of
23538 catomic_compare_and_exchange_bool_acq.
23539
23540 2014-05-05 Roland McGrath <roland@hack.frob.com>
23541
23542 * elf/Makefile (others, install-bin): Remove pldd.
23543 (pldd-modules): Variable removed.
23544 ($(objpfx)pldd): Target removed.
23545 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
23546 (others, install-bin): Append pldd here.
23547 ($(objpfx)pldd): New target.
23548
23549 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
23550 to 0, so the first #if test emitted later doesn't see it undefined.
23551 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
23552 * sysdeps/gnu/errlist.c: Regenerated.
23553
23554 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23555
23556 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
23557 [libc_hidden_builtin_def]: Define to empty value.
23558 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
23559 [libc_hidden_builtin_def]: Likewise.
23560 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
23561 [libc_hidden_builtin_def]: Likewise.
23562 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
23563 [libc_hidden_builtin_def]: Likewise.
23564 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
23565 __redirect_memcpy and define ifunc as default hidden symbol.
23566 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
23567 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
23568
23569 2014-05-04 Adam Conrad <adconrad@0c3.net>
23570
23571 * locale/iso-4217.def: Reintroduce XDR currency.
23572
23573 2014-05-04 Allan McRae <allan@archlinux.org>
23574
23575 * po/eo.po: Update Esperanto translation from translation project.
23576
23577 2014-05-02 Carlos O'Donell <carlos@redhat.com>
23578
23579 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
23580 and FEATURE_INDEX_MAX to 1.
23581 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
23582
23583 2014-05-01 Steve Ellcey <sellcey@mips.com>
23584
23585 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
23586 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
23587 * iconvdata/big5.c (ONE_DIRECTION): Define.
23588 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
23589 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
23590 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
23591 * iconvdata/cp932.c (ONE_DIRECTION): Define.
23592 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
23593 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
23594 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
23595 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
23596 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
23597 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
23598 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
23599 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
23600 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
23601 * iconvdata/gbk.c (ONE_DIRECTION): Define.
23602 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
23603 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
23604 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
23605 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
23606 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
23607 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
23608 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
23609 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
23610 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
23611 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
23612 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
23613 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
23614 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
23615 * iconvdata/iso646.c (ONE_DIRECTION): Define.
23616 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
23617 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
23618 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
23619 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
23620 * iconvdata/johab.c (ONE_DIRECTION): Define.
23621 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
23622 * iconvdata/sjis.c (ONE_DIRECTION): Define.
23623 * iconvdata/t.61.c (ONE_DIRECTION): Define.
23624 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
23625 * iconvdata/tscii.c (ONE_DIRECTION): Define.
23626 * iconvdata/uhc.c (ONE_DIRECTION): Define.
23627 * iconvdata/unicode.c (ONE_DIRECTION): Define.
23628 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
23629 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
23630 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
23631
23632 2014-05-01 Roland McGrath <roland@hack.frob.com>
23633
23634 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
23635 (_IO_JUMPS_OFFSET): Define to 0.
23636
23637 * nptl/sysdeps/pthread/bits/libc-lock.h
23638 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
23639 (__libc_lock_define_initialized_recursive): Always define using
23640 initializer. Modern compilers treat uninitialized (implicit zero) and
23641 explicit zero initializers the same (i.e. put the datum in bss).
23642
23643 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23644
23645 * nscd/nscd-client.h: Include <string.h>.
23646
23647 2014-05-01 David S. Miller <davem@davemloft.net>
23648
23649 [BZ #16885]
23650 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
23651 multiple zero bytes exist at the end of a string.
23652 Reported by Aurelien Jarno <aurelien@aurel32.net>
23653
23654 * string/test-strcmp.c (check): Add explicit test for situations where
23655 there are multiple zero bytes after the first.
23656
23657 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
23658
23659 [BZ #16890]
23660 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
23661 when compiling wprintf.
23662 * stdio-common/tstdiomisc.c (t3): New function.
23663 (main): Call it.
23664
23665 2014-05-01 Steve Ellcey <sellcey@mips.com>
23666
23667 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
23668 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
23669 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
23670 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
23671
23672 2014-05-01 Steve Ellcey <sellcey@mips.com>
23673
23674 * stdlib/longlong.h: Updated from GCC.
23675
23676 2014-05-01 Will Newton <will.newton@linaro.org>
23677 Bernard Ogden <bernie.ogden@linaro.org>
23678
23679 * NEWS: Update fixed bug list.
23680
23681 [BZ #15119]
23682 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
23683
23684 2014-04-30 David S. Miller <davem@davemloft.net>
23685
23686 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
23687 (libc_feholdexcept_setround_sparc_ctx): New function.
23688 (libc_fesetenv_sparc_ctx): Likewise.
23689 (libc_feupdateenv_sparc_ctx): Likewise.
23690 (libc_feholdsetround_sparc_ctx): Likewise.
23691 (libc_feholdexcept_setround_ctx): Define.
23692 (libc_feholdexcept_setroundf_ctx): Likewise.
23693 (libc_feholdexcept_setroundl_ctx): Likewise.
23694 (libc_fesetenv_ctx): Likewise.
23695 (libc_fesetenvf_ctx): Likewise.
23696 (libc_fesetenvl_ctx): Likewise.
23697 (libc_feupdateenv_ctx): Likewise.
23698 (libc_feupdateenvf_ctx): Likewise.
23699 (libc_feupdateenvl_ctx): Likewise.
23700 (libc_feresetround_ctx): Likewise.
23701 (libc_feresetroundf_ctx): Likewise.
23702 (libc_feresetroundl_ctx): Likewise.
23703 (libc_feholdsetround_ctx): Likewise.
23704 (libc_feholdsetroundf_ctx): Likewise.
23705 (libc_feholdsetroundl_ctx): Likewise.
23706
23707 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23708 with __USE_GNU instead of XOPEN cpp guards.
23709
23710 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
23711 0.
23712
23713 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
23714 with XOPEN cpp guards.
23715
23716 2014-04-30 Julian Brown <julian@codesourcery.com>
23717
23718 [BZ #16888]
23719 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
23720 handling.
23721
23722 2014-04-30 Joseph Myers <joseph@codesourcery.com>
23723
23724 [BZ #9894]
23725 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23726 Change to 2.6.32.
23727 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
23728 * sysdeps/unix/sysv/linux/configure: Regenerated.
23729 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
23730 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
23731 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
23732 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
23733 * README: Update reference to required Linux kernel version.
23734 * manual/install.texi (Linux): Update reference to required Linux
23735 kernel headers version.
23736 * INSTALL: Regenerated.
23737
23738 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
23739 header inclusion.
23740 [POSIX] (limits.h): Likewise.
23741 [POSIX] (math.h): Likewise.
23742 [POSIX] (sys/wait.h): Likewise.
23743 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
23744 function.
23745 [POSIX] (stddef.h): Do not allow header inclusion.
23746
23747 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23748
23749 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
23750
23751 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
23752
23753 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
23754 Return immediately after lll_futex_wake.
23755
23756 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23757
23758 [BZ #16791]
23759 * nscd/nscd-client.h (datahead_init_common): Initialize entire
23760 structure.
23761 (datahead_init_pos): Call datahead_init_common early.
23762 (datahead_init_neg): Likewise.
23763
23764 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
23765 datahead_init_neg): New functions.
23766 * nscd/aicache.c (addhstaiX): Use them.
23767 * nscd/grpcache.c (cache_addgr): Likewise.
23768 * nscd/hstcache.c (cache_addhst): Likewise.
23769 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23770 * nscd/netgroupcache.c (do_notfound): Likewise.
23771 (addgetnetgrentX): Likewise.
23772 (addinnetgrX): Likewise.
23773 * nscd/pwdcache.c (cache_addpw): Likewise.
23774 * nscd/servicescache.c (cache_addserv): Likewise.
23775
23776 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23777 Atsushi Onoe <atsushi@onoe.org>
23778
23779 [BZ #14308]
23780 [BZ #12994]
23781 [BZ #13651]
23782 * resolv/res_query.c (__libc_res_nsearch): Return if at least
23783 one response is valid.
23784 * resolv/res_send.c (send_dg): Check for validity of other
23785 response if the current response is a referral.
23786
23787 2014-04-29 Steve Ellcey <sellcey@mips.com>
23788
23789 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
23790
23791 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
23792
23793 [BZ #16823]
23794 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
23795 Always divide by positive zero when computing -Inf result.
23796 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
23797 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
23798
23799 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23800
23801 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
23802 FPSCR if value do not change.
23803 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
23804 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
23805 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
23806 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23807 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
23808 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
23809 function.
23810
23811 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
23812
23813 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
23814 * sysdeps/unix/sysv/linux/hppa: Move directory from
23815 ports/systeps/unix/sysv/linux/hppa.
23816 * README: Update listing for hppa-*-linux-gnu.
23817
23818 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
23819
23820 [BZ #16754]
23821 * manual/stdio.texi (Hook functions): Fix types of stream hook
23822 functions.
23823 [BZ #16854]
23824 * socket/sys/socket.h: Fix typo in comment.
23825
23826 2014-04-28 Wilco <wdijkstr@arm.com>
23827
23828 * sysdeps/arm/fenv_private.h: New file.
23829 * sysdeps/arm/math_private.h: New file.
23830 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
23831
23832 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
23833
23834 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
23835 with __int128_t.
23836 (La_x86_64_retval): Likewise.
23837
23838 2014-04-24 Ian Bolton <ian.bolton@arm.com>
23839
23840 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
23841 fpsr if value didn't change.
23842 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
23843 to fpcr if value didn't change.
23844 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
23845 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
23846 fpsr or fpcr if value didn't change.
23847 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
23848 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
23849 fpcr if value didn't change.
23850 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
23851 to fpsr if value didn't change.
23852
23853 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23854
23855 * nptl/tst-sem3.c: Use test-skeleton.c
23856 (main): Rename to do_test. Use return instead of
23857 exit.
23858 * nptl/tst-sem4.c: Use test-skeleton.c
23859 (main): Rename to do_test.
23860
23861 2014-04-22 David S. Miller <davem@davemloft.net>
23862
23863 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
23864 (struct sigaction): New struct member __glibc_reserved0, change
23865 type of sa_flags to int.
23866
23867 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
23868
23869 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
23870 (COUNT_LEADING_ZEROS_0): Define for AArch64.
23871
23872 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
23873
23874 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
23875 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
23876
23877 2014-04-22 Will Newton <will.newton@linaro.org>
23878 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
23879
23880 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
23881 (__longjmp): Add longjmp and longjmp_target SystemTap
23882 probes.
23883 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
23884 (__sigsetjmp): Add setjmp SystemTap probe.
23885
23886 2014-04-17 Carlos O'Donell <carlos@redhat.com>
23887
23888 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
23889 match manual order.
23890
23891 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23892
23893 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
23894
23895 * sysdeps/powerpc/fpu/fenv_private.h
23896 (libc_feholdexcept_setroundl_ctx): Define to
23897 libc_feholdexcept_setround_ppc_ctx.
23898 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
23899 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
23900 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
23901 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
23902
23903 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23904
23905 * sysdeps/aarch64/math-tests.h: New file.
23906
23907 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
23908
23909 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
23910 New.
23911 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23912 Check and set bit_AVX2_Usable.
23913 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
23914 macro.
23915 (bit_AVX2): Likewise.
23916 (index_AVX2_Usable): Likewise.
23917 (CPUID_AVX2): Likewise.
23918 (HAS_AVX2): Likewise.
23919
23920 2014-04-17 Will Newton <will.newton@linaro.org>
23921
23922 * manual/setjmp.texi (System V contexts): Add note that
23923 calling setcontext on a context created by a call to a
23924 signal handler is undefined. Update text to note that
23925 setcontext from a signal handler is possible but not
23926 recommended.
23927
23928 [BZ #16629]
23929 * stdlib/tst-setcontext.c: Include signal.h.
23930 (main): Check that the signal stack before and
23931 after swapcontext is the same.
23932
23933 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
23934 Re-implement to restore registers in user code and avoid
23935 rt_sigreturn system call.
23936
23937 2014-04-17 Wilco <wdijkstr@arm.com>
23938
23939 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
23940 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
23941 * math/test-fenv.c: Skip exception trap tests on targets which only
23942 support non-stop mode.
23943
23944 2014-04-17 Ian Bolton <ian.bolton@arm.com>
23945 Wilco Dijkstra <wilco.dijkstra@arm.com>
23946
23947 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
23948 (libc_feholdsetround_aarch64_ctx)
23949 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
23950 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
23951 (libc_feresetround_ctx, libc_feresetroundf_ctx)
23952 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
23953 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
23954 (libc_feresetround_noexl_ctx): Define.
23955
23956 2014-04-16 Richard Henderson <rth@redhat.com>
23957
23958 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
23959
23960 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
23961 unwind tables.
23962
23963 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
23964 const from the non-libc, non-ldso copy.
23965
23966 * sysdeps/alpha/libm-test-ulps: Regenerate.
23967
23968 2014-04-16 Ian Bolton <ian.bolton@arm.com>
23969 Wilco Dijkstra <wilco.dijkstra@arm.com>
23970
23971 * sysdeps/aarch64/fpu/math_private.h: New file.
23972
23973 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
23974
23975 * sysdeps/aarch64/libm-test-ulps: Regenerate.
23976
23977 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
23978
23979 [BZ #16275]
23980 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
23981 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
23982 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
23983 Intel MPX bound registers before _dl_profile_fixup.
23984 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
23985 registers after _dl_profile_fixup. Save and restore bound
23986 registers bnd0/bnd1 when calling _dl_call_pltexit.
23987 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
23988 (LR_BND_OFFSET): Likewise.
23989 (LRV_BND0_OFFSET): Likewise.
23990 (LRV_BND1_OFFSET): Likewise.
23991
23992 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
23993
23994 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
23995 to...
23996 * sysdeps/mach/hurd/i386/tls.h: ... here.
23997 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
23998 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
23999 fields.
24000
24001 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
24002
24003 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
24004
24005 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
24006
24007 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24008
24009 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
24010
24011 [BZ #14770]
24012 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
24013 * sysdeps/s390/configure: Regenerate.
24014
24015 [BZ #16824]
24016 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
24017 Set round-to-nearest internally to reduce error accumulation.
24018
24019 2014-04-16 Alan Modra <amodra@gmail.com>
24020
24021 [BZ #16740]
24022 [BZ #16619]
24023 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
24024 * math/libm-test.inc (frexp_test_data): Add tests.
24025 * NEWS: Update fixed bug list.
24026
24027 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
24028
24029 * benchtests/Makefile: Depend on libraries in build directory.
24030 (bench-math): Separate out math tests.
24031 (bench-pthread): Separate out pthread tests.
24032 (bench): Include math and pthread tests.
24033
24034 2014-04-14 Carlos O'Donell <carlos@redhat.com>
24035
24036 [BZ #16831]
24037 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
24038 _dl_debug_initialize.
24039
24040 * configure.ac: Remove SELinux header check.
24041 * configure: Regenerate.
24042 * nscd/selinux.c (perms): Array of const char* to permission names.
24043 (nscd_request_avc_has_perm): Call security_deny_unknown to find
24044 default policy. Call string_to_security_class and string_to_av_perm to
24045 translate strings. Enforce default policy and call avs_has_perm with
24046 results of translated strings.
24047
24048 2014-04-13 David S. Miller <davem@davemloft.net>
24049
24050 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24051
24052 2014-04-12 Allan McRae <allan@archlinux.org>
24053
24054 [BZ #16838]
24055 * manual/string.texi (Collation Functions): Fix qsort argument
24056 order in example.
24057 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
24058
24059 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
24060
24061 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
24062 Make the test a no-op if there are no exceptions defined.
24063
24064 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
24065
24066 * elf/Makefile (tests): make tst-dlopen-aout conditional on
24067 enable-hardcoded-path-in-tests
24068
24069 2014-04-11 Will Newton <will.newton@linaro.org>
24070
24071 * benchtests/Makefile (extra-objs): Add json-lib.o.
24072 (bench-func): Tidy up JSON output.
24073 * benchtests/bench-skeleton.c: Include json-lib.h.
24074 (main): Use JSON library functions to do output of
24075 benchmark results.
24076 * benchtests/bench-timing-type.c (main): Output the
24077 timing type simply, leaving formatting to the user.
24078 * benchtests/json-lib.c: New file.
24079 * benchtests/json-lib.h: Likewise.
24080
24081 2014-04-11 Torvald Riegel <triegel@redhat.com>
24082
24083 [BZ #15215]
24084 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
24085 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
24086 memory barriers. Add comments.
24087 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
24088 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
24089 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
24090 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
24091 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
24092 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
24093
24094 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
24095
24096 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
24097 * sysdeps/s390/s390-64/configure.ac: ... this ...
24098 * sysdeps/s390/configure.ac: ... to here.
24099 * sysdeps/s390/s390-32/configure: Delete file.
24100 * sysdeps/s390/s390-64/configure: Delete file.
24101 * sysdeps/s390/configure: Regenerate.
24102
24103 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
24104
24105 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
24106
24107 2014-04-11 Will Newton <will.newton@linaro.org>
24108
24109 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
24110 to zero if it is not defined elsewhere. (mtrim): Test
24111 the value of MALLOC_DEBUG with #if rather than #ifdef.
24112
24113 2014-04-10 Torvald Riegel <triegel@redhat.com>
24114
24115 * benchtests/pthread_once-inputs: New file.
24116 * benchtests/pthread_once-source.c: New file.
24117 * benchtests/README: Update documentation.
24118
24119 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
24120 H.J. Lu <hongjiu.lu@intel.com>
24121
24122 [BZ #16275]
24123 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
24124 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
24125 * sysdeps/x86_64/configure: Regenerated.
24126 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
24127 macro.
24128 (REGISTER_SAVE_RAX): Likewise.
24129 (REGISTER_SAVE_RCX): Likewise.
24130 (REGISTER_SAVE_RDX): Likewise.
24131 (REGISTER_SAVE_RSI): Likewise.
24132 (REGISTER_SAVE_RDI): Likewise.
24133 (REGISTER_SAVE_R8): Likewise.
24134 (REGISTER_SAVE_R9): Likewise.
24135 (REGISTER_SAVE_BND0): Likewise.
24136 (REGISTER_SAVE_BND1): Likewise.
24137 (REGISTER_SAVE_BND2): Likewise.
24138 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
24139 bound registers when calling _dl_fixup.
24140
24141 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24142
24143 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
24144 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
24145 of its definition.
24146 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
24147 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
24148 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
24149 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
24150 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
24151 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
24152 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
24153
24154 2014-04-09 Peter Brett <peter@peter-b.co.uk>
24155
24156 [BZ #15514]
24157 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
24158 pathconf(_PC_NAME_MAX).
24159
24160 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24161
24162 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
24163 Remove macro usage.
24164 (__PTHREAD_SPINS): Move definition to ...
24165 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24166 (__PTHREAD_SPINS): ... here.
24167 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24168 (__PTHREAD_SPIN): Likewise.
24169 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
24170 (__PTHREAD_SPIN): Likewise.
24171 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
24172 (__PTHREAD_SPIN): Likewise.
24173 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
24174 (__PTHREAD_SPIN): Likewise.
24175 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
24176 (__PTHREAD_SPIN): Likewise.
24177 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
24178 (__PTHREAD_SPIN): Likewise.
24179 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
24180 (__PTHREAD_SPIN): Likewise.
24181 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
24182 (__PTHREAD_SPIN): Likewise.
24183 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
24184 (__PTHREAD_SPIN): Likewise.
24185 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
24186 (__PTHREAD_SPIN): Likewise.
24187 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
24188 (__PTHREAD_SPIN): Likewise.
24189 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
24190 (__PTHREAD_SPIN): Likewise.
24191
24192 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
24193 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
24194 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
24195 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
24196 imply folder.
24197 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
24198 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
24199 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
24200 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
24201 correct imply path.
24202 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
24203 strlen symbol for non multi-arch builds.
24204 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
24205 missing hidden_def and weak_alias.
24206
24207 2014-04-08 Carlos O'Donell <carlos@redhat.com>
24208
24209 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
24210
24211 2014-04-07 Will Newton <will.newton@linaro.org>
24212
24213 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
24214 and contents. [!_LIBC] Remove #ifndef and contents.
24215 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
24216 * string/memccpy.c (__memccpy): Use ANSI prototype.
24217 * string/memfrob.c (memfrob): Likewise.
24218 * string/strcoll.c (STRCOLL): Likewise.
24219 * string/strlen.c (strlen): Likewise.
24220 * string/strtok.c (STRTOK): Likewise.
24221 * string/strcat.c: Remove unused #include of memcopy.h.
24222 (strcat): Use ANSI prototype.
24223 * string/strchr.c: Remove unused #include of memcopy.h.
24224 (strchr): Use ANSI prototype.
24225 * string/strcmp.c: Remove unused #include of memcopy.h.
24226 (strcmp): Use ANSI prototype.
24227 * string/strcpy.c: Remove unused #include of memcopy.h.
24228 (strcpy): Use ANSI prototype.
24229
24230 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24231
24232 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
24233 * config.make.in (config-extra-cppflags): Set it from
24234 libc_extra_cppflags.
24235 * configure.ac (libc_extra_cflags): Make it accumulate over
24236 configure fragments.
24237 (libc_extra_cppflags): New flag.
24238 * configure. Regenerate.
24239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
24240 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
24241 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
24243
24244 [BZ #16815]
24245 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
24246 result for FE_DOWNWARD rounding mode.
24247 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
24248 Likewise.
24249 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24250
24251 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
24252
24253 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
24254 in function argument name.
24255
24256 2014-04-03 David Svoboda <svoboda@cert.org>
24257
24258 [BZ #5666]
24259 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
24260 explicitly.
24261
24262 2014-04-03 Roland McGrath <roland@hack.frob.com>
24263
24264 * elf/dl-unmap-segments.h: New file.
24265 * sysdeps/generic/ldsodefs.h
24266 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
24267 * elf/dl-close.c: Include <dl-unmap-segments.h>.
24268 * elf/dl-fptr.c: Likewise.
24269 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
24270 * sysdeps/aarch64/tlsdesc.c: Likewise.
24271 * sysdeps/arm/tlsdesc.c: Likewise.
24272 * sysdeps/i386/tlsdesc.c: Likewise.
24273 * sysdeps/tile/dl-runtime.c: Likewise.
24274 * sysdeps/x86_64/tlsdesc.c: Likewise.
24275 * elf/dl-load.h: New file.
24276 * elf/dl-load.c: Include it.
24277 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
24278 Macros moved to dl-load.h.
24279 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
24280 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
24281 Use _dl_unmap_segments in place of __munmap.
24282 Break out segment-mapping loop into ...
24283 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
24284
24285 2014-04-03 Will Newton <will.newton@linaro.org>
24286
24287 * elf/dl-lookup.c (do_lookup_x): Remove comment
24288 referring to nested function and move variable
24289 declarations down to before first use.
24290
24291 2014-04-02 Joseph Myers <joseph@codesourcery.com>
24292
24293 [BZ #16799]
24294 [BZ #16800]
24295 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
24296 with 0 numerator.
24297 * math/s_catanf.c (__catanf): Likewise.
24298 * math/s_catanh.c (__catanh): Likewise.
24299 * math/s_catanhf.c (__catanhf): Likewise.
24300 * math/s_catanhl.c (__catanhl): Likewise.
24301 * math/s_catanl.c (__catanl): Likewise.
24302 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
24303 by positive zero when computing -Inf result.
24304 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
24305 (catanh_test): Likewise.
24306 * sysdeps/i386/fpu/libm-test-ulps: Update.
24307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24308
24309 [BZ #16789]
24310 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
24311 instead of using underflowing value in computing result.
24312 * math/s_clog10.c (__clog10): Likewise.
24313 * math/s_clog10f.c (__clog10f): Likewise.
24314 * math/s_clog10l.c (__clog10l): Likewise.
24315 * math/s_clogf.c (__clogf): Likewise.
24316 * math/s_clogl.c (__clogl): Likewise.
24317 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
24318 (clog10_test): Likewise.
24319 * sysdeps/i386/fpu/libm-test-ulps: Update.
24320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24321
24322 2014-04-02 Alan Modra <amodra@gmail.com>
24323
24324 [BZ #16739]
24325 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
24326 output when value is near a power of two. Use int64_t for lx and
24327 remove casts. Use decimal rather than hex exponent constants.
24328 Don't use long double multiplication when double will suffice.
24329 * math/libm-test.inc (nextafter_test_data): Add tests.
24330 * NEWS: Add 16739 and 16786 to bug list.
24331
24332 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
24333
24334 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
24335
24336 2014-04-01 Will Newton <will.newton@linaro.org>
24337
24338 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
24339 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
24340
24341 2014-04-01 Florian Weimer <fweimer@redhat.com>
24342
24343 [BZ #13347]
24344 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
24345 * nptl/tst-setuid2.c: New file.
24346 * nptl/Makefile (xtests): Add tst-setuid2.
24347
24348 2014-04-01 Alan Modra <amodra@gmail.com>
24349
24350 [BZ #16786]
24351 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
24352
24353 2014-03-31 Joseph Myers <joseph@codesourcery.com>
24354
24355 [BZ #6803]
24356 [BZ #6804]
24357 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
24358 set errno as appropriate.
24359 * math/w_scalbf.c (__scalbf): Likewise.
24360 * math/w_scalbl.c (__scalbl): Likewise.
24361 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
24362 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
24363 * math/libm-test.inc (scalb_test_data): Add errno expectations.
24364 Add more NaN tests.
24365
24366 [BZ #16349]
24367 * math/w_atan2.c: Include <errno.h>.
24368 (__atan2): Set errno for result underflowing to zero.
24369 * math/w_atan2f.c: Include <errno.h>.
24370 (__atan2f): Set errno for result underflowing to zero.
24371 * math/w_atan2l.c: Include <errno.h>.
24372 (__atan2l): Set errno for result underflowing to zero.
24373 * math/auto-libm-test-in: Don't allow missing errno for some atan2
24374 tests.
24375 * math/auto-libm-test-out: Regenerated.
24376
24377 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24378
24379 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
24380 Encode instruction correctly in little endian.
24381 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
24382 Likewise.
24383 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
24384 Likewise.
24385 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
24386 Likewise.
24387 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
24388 Likewise.
24389
24390 2014-03-31 Joseph Myers <joseph@codesourcery.com>
24391
24392 [BZ #9894]
24393 * sysdeps/unix/sysv/linux/kernel-features.h
24394 [__sparc__ && !__arch64__ && !__sparc_v9__]
24395 (__ASSUME_SET_ROBUST_LIST): Do not define.
24396 [__sparc__ && !__arch64__ && !__sparc_v9__]
24397 (__ASSUME_FUTEX_LOCK_PI): Likewise.
24398 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
24399 Likewise.
24400 * sysdeps/unix/sysv/linux/arm/kernel-features.h
24401 (__ASSUME_FUTEX_LOCK_PI): Undefine.
24402 (__ASSUME_REQUEUE_PI): Likewise.
24403 (__ASSUME_SET_ROBUST_LIST): Likewise.
24404 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
24405 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
24406 Undefine.
24407 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24408 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
24409 Likewise.
24410 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
24411 Likewise.
24412 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
24413 Likewise.
24414 * sysdeps/unix/sysv/linux/mips/kernel-features.h
24415 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
24416 Undefine.
24417 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
24418 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
24419 Likewise.
24420
24421 [BZ #16648]
24422 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24423 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
24424 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
24425
24426 2014-03-31 Will Newton <will.newton@linaro.org>
24427
24428 * benchtests/Makefile (bench): Add ffs and ffsll to list
24429 of tests.
24430 * benchtests/ffs-inputs: New file.
24431 * benchtests/ffsll-inputs: Likewise.
24432
24433 2014-03-29 Joseph Myers <joseph@codesourcery.com>
24434
24435 [BZ #16770]
24436 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
24437 too large before casting to int.
24438 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
24439 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
24440 * math/libm-test.inc (scalb_test_data): Add more tests.
24441
24442 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24443
24444 * benchtests/Makefile (DETAILED_OPT): New make option.
24445 (bench-func): Run benchmark program with -d if DETAILED_OPT is
24446 set.
24447 * benchtests/bench-skeleton.c: Include stdbool.h.
24448 (main): Store and print timings per input.
24449 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
24450 member to each argument value.
24451 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
24452 (_print_arg_data): Initialize per-input timing to 0.
24453
24454 * benchtests/Makefile (timing-type): New binary.
24455 (bench-clean): Also remove bench-timing-type.
24456 (bench): New target for timing-type.
24457 (bench-func): Print output in JSON format.
24458 * benchtests/bench-skeleton.c (main): Print output in JSON
24459 format.
24460 * benchtests/bench-timing-type.c: New file.
24461 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
24462 (TIMING_PRINT_STATS): Remove.
24463 * benchtests/scripts/bench.py (_print_arg_data): Store variant
24464 name separately.
24465
24466 * benchtests/bench-modf.c: Remove.
24467 * benchtests/modf-inputs: New inputs file.
24468
24469 2014-03-28 Joseph Myers <joseph@codesourcery.com>
24470
24471 [BZ #16362]
24472 * math/s_clog10.c (M_PI_LOG10E): New macro.
24473 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
24474 imaginary parts are 0.
24475 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
24476 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
24477 imaginary parts are 0.
24478 * math/s_clog10l.c (M_PI_LOG10El): New macro.
24479 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
24480 imaginary parts are 0.
24481 * math/libm-test.inc (clog10_test_data): Update expected results
24482 for when real and imaginary parts are 0.
24483
24484 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
24485
24486 * elf/dl-load.c: Finish conversion of __builtin_expect into
24487 __glibc_{un}likely.
24488
24489 2014-03-27 Joseph Myers <joseph@codesourcery.com>
24490
24491 [BZ #16348]
24492 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
24493 1+x for argument with exponent below -67.
24494 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
24495 Likewise.
24496 * math/auto-libm-test-in: Add more tests of exp.
24497 * math/auto-libm-test-out: Regenerated.
24498
24499 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24500
24501 [BZ #16759]
24502 * inet/getnetgrent_r.c (get_nonempty_val): New function.
24503 (nscd_getnetgrent): Use it.
24504
24505 [BZ #16760]
24506 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
24507 of stpcpy.
24508
24509 2014-03-27 Andi Kleen <ak@linux.intel.com>
24510
24511 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
24512 (lll_robust_lock, lll_cond_lock, lll_timedlock)
24513 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24514 (lll_robust_unlock): Remove out of line section. Use cfi
24515 intrinsics.
24516 (LLL_STUB_UNWIND_INFO*): Remove.
24517 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
24518 (lll_robust_lock, lll_cond_lock, lll_timedlock)
24519 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
24520 (lll_robust_unlock): Remove out of line section. Use cfi
24521 intrinsics.
24522 (LLL_STUB_UNWIND_INFO*): Remove.
24523
24524 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
24525
24526 [BZ #16758]
24527 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
24528 blank values.
24529
24530 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
24531
24532 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
24533
24534 2014-03-26 Joseph Myers <joseph@codesourcery.com>
24535
24536 [BZ #16198]
24537 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
24538 fnstenv.
24539 * math/test-fenv-preserve.c: New file.
24540 * math/Makefile (tests): Add test-fenv-preserve.
24541
24542 2014-03-26 Will Newton <will.newton@linaro.org>
24543
24544 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
24545
24546 2014-03-25 Roland McGrath <roland@hack.frob.com>
24547
24548 * scripts/versionlist.awk: Partition the version sets and emit all
24549 GLIBC_* (sorted) before all others (sorted).
24550
24551 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24552
24553 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
24554 GLIBC_2.2.5 version.
24555
24556 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24557
24558 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
24559 calls.
24560
24561 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
24562 previous change.
24563
24564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24565
24566 2014-03-25 Andreas Schwab <schwab@suse.de>
24567
24568 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
24569 label to be used after in6ailist is initialized.
24570
24571 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24572
24573 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24574 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24575
24576 2014-03-25 Joseph Myers <joseph@codesourcery.com>
24577
24578 [BZ #16357]
24579 [BZ #16599]
24580 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
24581 min_plus_half.
24582 (fp_formats): Update initializers.
24583 (init_fp_formats): Initialize new field.
24584 (output_for_one_input_case): Allow underflow for results up to
24585 min_plus_half.
24586 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
24587 * math/auto-libm-test-in: Don't mark some underflows from asin and
24588 atanh as spurious.
24589 * math/auto-libm-test-out: Regenerated.
24590 * sysdeps/i386/fpu/libm-test-ulps: Update.
24591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24592
24593 2014-03-25 Andreas Schwab <schwab@suse.de>
24594
24595 * libio/Makefile (tst-ftell-partial-wide-ENV)
24596 (tst-ftell-active-handler-ENV): Define.
24597
24598 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
24599
24600 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
24601
24602 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24603
24604 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
24605
24606 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24607
24608 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
24609 * sysdeps/x86_64/fpu/multiarch/e_exp.c
24610 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
24611
24612 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
24613
24614 [BZ #16634]
24615 * elf/dl-load.c (open_verify): Add mode parameter.
24616 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
24617 (open_path): Change from boolean 'secure' to complete flag 'mode'
24618 (_dl_map_object): Adjust.
24619 * elf/Makefile (tests): Add tst-dlopen-aout.
24620 * elf/tst-dlopen-aout.c: New test.
24621
24622 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
24623
24624 [BZ #16714]
24625 * sysdeps/unix/sysv/linux/s390/bits/stat.h
24626 (struct stat): Rename member pad0 to __glibc_reserved0.
24627
24628 [BZ #16712]
24629 * sysdeps/s390/s390-32/bits/wordsize.h
24630 (__WORDSIZE32_SIZE_ULONG): New define.
24631 * sysdeps/s390/s390-64/bits/wordsize.h
24632 (__WORDSIZE32_SIZE_ULONG): Likewise.
24633 * sysdeps/generic/stdint.h (SIZE_MAX):
24634 Define as UL if __WORDSIZE32_SIZE_ULONG.
24635
24636 [BZ #16713]
24637 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
24638 (__glibc_reserved0): New variable.
24639 (sa_flags): Change type to int.
24640
24641 * posix/Makefile (before-compile): Use += before-compile instead
24642 of a :=.
24643
24644 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
24645 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
24646
24647 2014-03-20 Andreas Schwab <schwab@suse.de>
24648
24649 [BZ #16743]
24650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
24651 non-matching result from nscd.
24652
24653 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24654
24655 * scripts/bench.py: Moved to ...
24656 * benchtests/scripts/bench.py: ... here.
24657 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
24658
24659 2014-03-24 Andreas Schwab <schwab@suse.de>
24660
24661 [BZ #16002]
24662 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
24663 alloca_account and account alloca use for struct in6ailist.
24664
24665 2014-03-24 Joseph Myers <joseph@codesourcery.com>
24666
24667 [BZ #16284]
24668 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
24669 rounding mode to recompute results that overflow to infinity or
24670 underflow to zero.
24671 * math/auto-libm-test-in: Don't mark tests as expected to fail for
24672 bug 16284.
24673 * math/auto-libm-test-out: Regenerated.
24674 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
24675 (ccosh_test): Likewise.
24676 (csin_test_data): Use plus_oflow.
24677 (csin_test): Use ALL_RM_TEST.
24678 (csinh_test_data): Use plus_oflow.
24679 (csinh_test): Use ALL_RM_TEST.
24680 * sysdeps/i386/fpu/libm-test-ulps: Update.
24681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24682
24683 2014-03-21 Joseph Myers <joseph@codesourcery.com>
24684
24685 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
24686 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
24687 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
24688
24689 [BZ #16731]
24690 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
24691 when x - 1 is zero.
24692 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
24693 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
24694 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
24695 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
24696 argument is 1.
24697 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
24698 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
24699 zero.
24700 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
24701 * sysdeps/i386/fpu/libm-test-ulps: Update.
24702 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24703
24704 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24705
24706 * scripts/bench.pl: Remove file.
24707 * scripts/bench.py: New benchmark script.
24708 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
24709 * benchtests/README: Mention python dependency.
24710 * scripts/pylintrc: New file.
24711 * scripts/pylint: New file.
24712
24713 * bits/mathdef.h: Use #ifdef instead of #if.
24714 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
24715 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24716 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
24717 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24718 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
24719 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
24720
24721 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24722 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
24723
24724 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
24725 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
24726 and strpbrk-ppc64 objects.
24727 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24728 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
24729 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
24730 multiarch strpbrk for POWER7.
24731 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
24732 multiarch strpbrk for PPC64.
24733 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
24734 ifunc selector.
24735 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
24736 strpbrk for POWER7.
24737
24738 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24739
24740 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
24741 (atan_test): Likewise.
24742 (atanh_test_data): Use NO_TEST_INLINE for two tests.
24743 (atanh_test): Use ALL_RM_TEST.
24744 (atan2_test_data): Likewise.
24745 (cabs_test): Likewise.
24746 (cacosh_test): Likewise.
24747 (carg_test): Likewise.
24748 (casin_test): Likewise.
24749 (casinh_test): Likewise.
24750 (cbrt_test): Likewise.
24751 (csqrt_test): Likewise.
24752 (erf_test): Likewise.
24753 (erfc_test): Likewise.
24754 (pow10_test): Likewise.
24755 (exp2_test): Likewise.
24756 (hypot_test): Likewise.
24757 (j0_test): Likewise.
24758 (j1_test): Likewise.
24759 (lgamma_test): Likewise.
24760 (gamma_test): Likewise.
24761 (sincos_test): Likewise.
24762 (tanh_test): Likewise.
24763 (y0_test): Likewise.
24764 (y1_test): Likewise.
24765 * sysdeps/i386/fpu/libm-test-ulps: Update.
24766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24767
24768 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24769
24770 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
24771 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
24772 and strcspn-ppc64 objects.
24773 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
24774 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
24775 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
24776 multiarch strcspn for POWER7.
24777 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
24778 multiarch strcspn for PPC64.
24779 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
24780 ifunc selector.
24781 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
24782 strcspn for POWER7.
24783
24784 2014-03-20 Joseph Myers <joseph@codesourcery.com>
24785
24786 * math/gen-libm-test.pl (generate_testfile): Expect only function
24787 name as argument to AUTO_TESTS_* and pass results for all rounding
24788 modes to parse_args.
24789 (parse_auto_input): Separate inputs of automatic tests from
24790 outputs before storing in %auto_tests.
24791 * math/libm-test.inc (acos_test_data): Update call to
24792 AUTO_TESTS_f_f.
24793 (acos_test): Use ALL_RM_TEST.
24794 (acos_tonearest_test_data): Remove.
24795 (acos_test_tonearest): Likewise.
24796 (acos_towardzero_test_data): Likewise.
24797 (acos_test_towardzero): Likewise.
24798 (acos_downward_test_data): Likewise.
24799 (acos_test_downward): Likewise.
24800 (acos_upward_test_data): Likewise.
24801 (acos_test_upward): Likewise.
24802 (acosh_test_data): Update call to AUTO_TESTS_f_f.
24803 (asin_test_data): Likewise.
24804 (asin_test): Use ALL_RM_TEST.
24805 (asin_tonearest_test_data): Remove.
24806 (asin_test_tonearest): Likewise.
24807 (asin_towardzero_test_data): Likewise.
24808 (asin_test_towardzero): Likewise.
24809 (asin_downward_test_data): Likewise.
24810 (asin_test_downward): Likewise.
24811 (asin_upward_test_data): Likewise.
24812 (asin_test_upward): Likewise.
24813 (asinh_test_data): Update call to AUTO_TESTS_f_f.
24814 (atan_test_data): Likewise.
24815 (atanh_test_data): Likewise.
24816 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
24817 (cabs_test_data): Update call to AUTO_TESTS_c_f.
24818 (carg_test_data): Likewise.
24819 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
24820 (ccos_test_data): Update call to AUTO_TESTS_c_c.
24821 (ccosh_test_data): Likewise.
24822 (cexp_test_data): Likewise.
24823 (clog_test_data): Likewise.
24824 (clog10_test_data): Likewise.
24825 (cos_test_data): Update call to AUTO_TESTS_f_f.
24826 (cos_test): Use ALL_RM_TEST.
24827 (cos_tonearest_test_data): Remove.
24828 (cos_test_tonearest): Likewise.
24829 (cos_towardzero_test_data): Likewise.
24830 (cos_test_towardzero): Likewise.
24831 (cos_downward_test_data): Likewise.
24832 (cos_test_downward): Likewise.
24833 (cos_upward_test_data): Likewise.
24834 (cos_test_upward): Likewise.
24835 (cosh_test_data): Update call to AUTO_TESTS_f_f.
24836 (cosh_test): Use ALL_RM_TEST.
24837 (cosh_tonearest_test_data): Remove.
24838 (cosh_test_tonearest): Likewise.
24839 (cosh_towardzero_test_data): Likewise.
24840 (cosh_test_towardzero): Likewise.
24841 (cosh_downward_test_data): Likewise.
24842 (cosh_test_downward): Likewise.
24843 (cosh_upward_test_data): Likewise.
24844 (cosh_test_upward): Likewise.
24845 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
24846 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
24847 (ctan_test_data): Likewise.
24848 (ctan_test): Use ALL_RM_TEST.
24849 (ctan_tonearest_test_data): Remove.
24850 (ctan_test_tonearest): Likewise.
24851 (ctan_towardzero_test_data): Likewise.
24852 (ctan_test_towardzero): Likewise.
24853 (ctan_downward_test_data): Likewise.
24854 (ctan_test_downward): Likewise.
24855 (ctan_upward_test_data): Likewise.
24856 (ctan_test_upward): Likewise.
24857 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
24858 (ctanh_test): Use ALL_RM_TEST.
24859 (ctanh_tonearest_test_data): Remove.
24860 (ctanh_test_tonearest): Likewise.
24861 (ctanh_towardzero_test_data): Likewise.
24862 (ctanh_test_towardzero): Likewise.
24863 (ctanh_downward_test_data): Likewise.
24864 (ctanh_test_downward): Likewise.
24865 (ctanh_upward_test_data): Likewise.
24866 (ctanh_test_upward): Likewise.
24867 (erf_test_data): Update call to AUTO_TESTS_f_f.
24868 (erfc_test_data): Likewise.
24869 (exp_test_data): Likewise.
24870 (exp_test): Use ALL_RM_TEST.
24871 (exp_tonearest_test_data): Remove.
24872 (exp_test_tonearest): Likewise.
24873 (exp_towardzero_test_data): Likewise.
24874 (exp_test_towardzero): Likewise.
24875 (exp_downward_test_data): Likewise.
24876 (exp_test_downward): Likewise.
24877 (exp_upward_test_data): Likewise.
24878 (exp_test_upward): Likewise.
24879 (exp10_test_data): Update call to AUTO_TESTS_f_f.
24880 (exp10_test): Use ALL_RM_TEST.
24881 (exp10_tonearest_test_data): Remove.
24882 (exp10_test_tonearest): Likewise.
24883 (exp10_towardzero_test_data): Likewise.
24884 (exp10_test_towardzero): Likewise.
24885 (exp10_downward_test_data): Likewise.
24886 (exp10_test_downward): Likewise.
24887 (exp10_upward_test_data): Likewise.
24888 (exp10_test_upward): Likewise.
24889 (exp2_test_data): Update call to AUTO_TESTS_f_f.
24890 (expm1_test_data): Likewise.
24891 (expm1_test): Use ALL_RM_TEST.
24892 (expm1_tonearest_test_data): Remove.
24893 (expm1_test_tonearest): Likewise.
24894 (expm1_towardzero_test_data): Likewise.
24895 (expm1_test_towardzero): Likewise.
24896 (expm1_downward_test_data): Likewise.
24897 (expm1_test_downward): Likewise.
24898 (expm1_upward_test_data): Likewise.
24899 (expm1_test_upward): Likewise.
24900 (fma_test_data): Update call to AUTO_TESTS_fff_f.
24901 (fma_test): Use ALL_RM_TEST.
24902 (fma_towardzero_test_data): Remove.
24903 (fma_test_towardzero): Likewise.
24904 (fma_downward_test_data): Likewise.
24905 (fma_test_downward): Likewise.
24906 (fma_upward_test_data): Likewise.
24907 (fma_test_upward): Likewise.
24908 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
24909 (j0_test_data): Update call to AUTO_TESTS_f_f.
24910 (j1_test_data): Likewise.
24911 (jn_test_data): Update call to AUTO_TESTS_if_f.
24912 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
24913 (log_test_data): Update call to AUTO_TESTS_f_f.
24914 (log10_test_data): Likewise.
24915 (log1p_test_data): Likewise.
24916 (log2_test_data): Likewise.
24917 (pow_test_data): Update call to AUTO_TESTS_ff_f.
24918 (pow_tonearest_test_data): Likewise.
24919 (sin_test_data): Update call to AUTO_TESTS_f_f.
24920 (sin_test): Use ALL_RM_TEST.
24921 (sin_tonearest_test_data): Remove.
24922 (sin_test_tonearest): Likewise.
24923 (sin_towardzero_test_data): Likewise.
24924 (sin_test_towardzero): Likewise.
24925 (sin_downward_test_data): Likewise.
24926 (sin_test_downward): Likewise.
24927 (sin_upward_test_data): Likewise.
24928 (sin_test_upward): Likewise.
24929 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
24930 (sinh_test_data): Update call to AUTO_TESTS_f_f.
24931 (sinh_test): Use ALL_RM_TEST.
24932 (sinh_tonearest_test_data): Remove.
24933 (sinh_test_tonearest): Likewise.
24934 (sinh_towardzero_test_data): Likewise.
24935 (sinh_test_towardzero): Likewise.
24936 (sinh_downward_test_data): Likewise.
24937 (sinh_test_downward): Likewise.
24938 (sinh_upward_test_data): Likewise.
24939 (sinh_test_upward): Likewise.
24940 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
24941 (sqrt_test): Use ALL_RM_TEST.
24942 (sqrt_tonearest_test_data): Remove.
24943 (sqrt_test_tonearest): Likewise.
24944 (sqrt_towardzero_test_data): Likewise.
24945 (sqrt_test_towardzero): Likewise.
24946 (sqrt_downward_test_data): Likewise.
24947 (sqrt_test_downward): Likewise.
24948 (sqrt_upward_test_data): Likewise.
24949 (sqrt_test_upward): Likewise.
24950 (tan_test_data): Update call to AUTO_TESTS_f_f.
24951 (tan_test): Use ALL_RM_TEST.
24952 (tan_tonearest_test_data): Remove.
24953 (tan_test_tonearest): Likewise.
24954 (tan_towardzero_test_data): Likewise.
24955 (tan_test_towardzero): Likewise.
24956 (tan_downward_test_data): Likewise.
24957 (tan_test_downward): Likewise.
24958 (tan_upward_test_data): Likewise.
24959 (tan_test_upward): Likewise.
24960 (tanh_test_data): Update call to AUTO_TESTS_f_f.
24961 (tgamma_test_data): Likewise.
24962 (y0_test_data): Likewise.
24963 (y1_test_data): Likewise.
24964 (yn_test_data): Update call to AUTO_TESTS_if_f.
24965 (main): Do not call removed functions.
24966
24967 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24968
24969 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
24970 (ldexp_test_data): Remove.
24971 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
24972 scalbn_test_data.
24973 (scalb_test): Use ALL_RM_TEST.
24974
24975 2014-03-19 Andreas Schwab <schwab@suse.de>
24976
24977 * nscd/nscd.service: Also invalidate netgroup cache on reload.
24978
24979 2014-03-19 Joseph Myers <joseph@codesourcery.com>
24980
24981 [BZ #16649]
24982 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
24983 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
24984 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
24985 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24986 (__ASSUME_PREADV): Undefine.
24987 (__ASSUME_PWRITEV): Likewise.
24988
24989 2014-03-18 Roland McGrath <roland@hack.frob.com>
24990
24991 * bits/mman-linux.h: Add comment about non-Linux use.
24992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
24993 bits/mman-linux.h resting place.
24994
24995 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
24996 * bits/mman-linux.h: ... here.
24997
24998 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24999
25000 * conform/conformtest.pl: Add standard definition when calling C
25001 preprocessor on data files.
25002 (checknamespace): Remove unused variable.
25003
25004 2014-03-18 Joseph Myers <joseph@codesourcery.com>
25005
25006 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
25007 minus_oflow, plus_uflow and minus_uflow in expected results.
25008 * math/libm-test.inc (scalbn_test_data): Add more tests of
25009 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
25010 minus_uflow.
25011 (scalbn_test): Use ALL_RM_TEST.
25012 (scalbln_test_data): Add more tests of negative arguments. Use
25013 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
25014 (scalbln_test): Use ALL_RM_TEST.
25015
25016 2014-03-18 Roland McGrath <roland@hack.frob.com>
25017
25018 * scripts/abilist.awk: Ignore symbols marked with .hidden.
25019
25020 2014-03-18 Will Newton <will.newton@linaro.org>
25021
25022 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
25023 inaccurate comment.
25024
25025 2014-03-18 Joseph Myers <joseph@codesourcery.com>
25026
25027 * Makerules [!subdir] (check-abi): Exit with error status if a
25028 test failed.
25029
25030 2014-03-17 Joseph Myers <joseph@codesourcery.com>
25031
25032 * math/libm-test.inc (nearbyint_test_data): Include all tests used
25033 for rint. Include results for all rounding modes.
25034 (nearbyint_test): Use ALL_RM_TEST.
25035 (rint_test_data): Include all tests used for nearbyint.
25036
25037 2014-03-17 Will Newton <will.newton@linaro.org>
25038
25039 * nptl/sysdeps/pthread/pthread.h: Revert previous
25040 change.
25041
25042 * sysdeps/generic/ldsodefs.h: Revert previous
25043 change.
25044
25045 * libio/genops.c: Revert previous change.
25046 * libio/libioP.h: Likewise.
25047 * stdio-common/vfprintf.c: Likewise.
25048
25049 * sysdeps/generic/math_private.h: Revert previous
25050 change.
25051
25052 * sysdeps/generic/math_private.h: Check whether
25053 HAVE_RM_CTX is defined with #ifdef rather
25054 than #if.
25055
25056 * argp/argp-fmtstream.h: Check whether
25057 __STRICT_ANSI__ is defined with #ifdef rather
25058 than #if.
25059 * argp/argp.h: Likewise.
25060
25061 * libio/genops.c: Check whether
25062 _IO_JUMPS_OFFSET is defined with #ifdef rather
25063 than #if.
25064 * libio/libioP.h: Likewise.
25065 * stdio-common/vfprintf.c: Likewise.
25066
25067 * sysdeps/generic/ldsodefs.h: Check whether
25068 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
25069 than #if.
25070
25071 * nptl/sysdeps/pthread/pthread.h: Check
25072 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
25073 its value.
25074
25075 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25076
25077 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
25078 setting O_APPEND.
25079 * libio/tst-ftell-active-handler.c (do_append_test): Add a
25080 test case.
25081
25082 [BZ #16680]
25083 * libio/fileops.c (_IO_file_open): Seek to end of file but
25084 don't cache the offset.
25085 (get_file_offset): Remove function.
25086 (do_ftell): Use cached offset when available.
25087 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
25088 don't cache the offset.
25089 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
25090 case.
25091 (do_one_test): Call it.
25092 (do_ftell_test): Fix up expected old offset for a+ mode.
25093 * libio/wfileops.c (do_ftell_wide): Used cached offset when
25094 available.
25095
25096 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
25097 up test status with function return status.
25098 (do_write_test): Likewise.
25099 (do_append_test): Likewise.
25100
25101 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
25102 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
25103 Remove.
25104
25105 2014-03-17 Joseph Myers <joseph@codesourcery.com>
25106
25107 * math/gen-libm-test.pl (parse_args): Handle results specified for
25108 each rounding mode separately.
25109 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
25110 tests and results from lrint_tonearest_test_data,
25111 lrint_towardzero_test_data, lrint_downward_test_data and
25112 lrint_upward_test_data.
25113 (lrint_test): Use ALL_RM_TEST.
25114 (lrint_tonearest_test_data): Remove.
25115 (lrint_test_tonearest): Likewise.
25116 (lrint_towardzero_test_data): Likewise.
25117 (lrint_test_towardzero): Likewise.
25118 (lrint_downward_test_data): Likewise.
25119 (lrint_test_downward): Likewise.
25120 (lrint_upward_test_data): Likewise.
25121 (lrint_test_upward): Likewise.
25122 (llrint_test_data): Merge in per-rounding-mode tests and results
25123 from llrint_tonearest_test_data, llrint_towardzero_test_data,
25124 llrint_downward_test_data and llrint_upward_test_data.
25125 (llrint_test): Use ALL_RM_TEST.
25126 (llrint_tonearest_test_data): Remove.
25127 (llrint_test_tonearest): Likewise.
25128 (llrint_towardzero_test_data): Likewise.
25129 (llrint_test_towardzero): Likewise.
25130 (llrint_downward_test_data): Likewise.
25131 (llrint_test_downward): Likewise.
25132 (llrint_upward_test_data): Likewise.
25133 (llrint_test_upward): Likewise.
25134 (rint_test_data): Merge in per-rounding-mode tests and results
25135 from rint_tonearest_test_data, rint_towardzero_test_data,
25136 rint_downward_test_data and rint_upward_test_data. Add
25137 per-rounding-mode results for tests not in those arrays.
25138 (rint_test): Use ALL_RM_TEST.
25139 (rint_tonearest_test_data): Remove.
25140 (rint_test_tonearest): Likewise.
25141 (rint_towardzero_test_data): Likewise.
25142 (rint_test_towardzero): Likewise.
25143 (rint_downward_test_data): Likewise.
25144 (rint_test_downward): Likewise.
25145 (rint_upward_test_data): Likewise.
25146 (rint_test_upward): Likewise.
25147 (main): Don't call removed functions.
25148
25149 2014-03-14 Roland McGrath <roland@hack.frob.com>
25150
25151 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
25152 "Compiled on ..." crapola. It is anti-useful.
25153
25154 2014-03-14 Joseph Myers <joseph@codesourcery.com>
25155
25156 * scripts/evaluate-test.sh: Handle fourth argument to determine
25157 whether test run should stop on failure.
25158 * Makeconfig (stop-on-test-failure): New variable.
25159 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
25160 $(stop-on-test-failure).
25161 * Makefile (tests): Give a summary of results from testing and
25162 exit with failure status if they include an ERROR or FAIL.
25163 (xtests): Likewise.
25164 * manual/install.texi (Configuring and compiling): Mention
25165 stop-on-test-failure=y.
25166 * INSTALL: Regenerated.
25167
25168 2014-03-14 Roland McGrath <roland@hack.frob.com>
25169
25170 * scripts/versionlist.awk: New file.
25171 * Makerules [$(build-shared) = yes]
25172 (postclean-generated): Add Versions.def, not Versions.def.v and
25173 Versions.def.v.i.
25174 ($(common-objpfx)Versions.def.v.i): Target removed.
25175 ($(common-objpfx)Versions.def): New target.
25176 ($(common-objpfx)Versions.all): Depend on that rather that
25177 $(common-objpfx)Versions.def.v.
25178 * Versions.def: File removed.
25179
25180 * Makeconfig (+gccwarn): Add -Wundef.
25181 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
25182 a dl-sysdep.h breaking its contract.
25183 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
25184 * include/stackinfo.h: New file.
25185 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
25186 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
25187 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
25188 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
25189 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
25190 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
25191 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25192 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25193 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25194 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25195 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25196 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
25197 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25198 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25199 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
25200
25201 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25202
25203 [BZ #16707]
25204 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
25205 implementation.
25206 * math/libm-test.inc (round_test_data): Add more tests.
25207
25208 [BZ #16706]
25209 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
25210 implementation.
25211 * math/libm-test.inc (nearbyint_test_data): Add more tests.
25212
25213 [BZ #16701]
25214 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
25215 implementation.
25216 * math/libm-test.inc (ceil_test_data): Add more tests.
25217
25218 * math/libm-test.inc (trunc_test_data): Add more tests related to
25219 BZ#16414.
25220
25221 2014-03-14 Roland McGrath <roland@hack.frob.com>
25222
25223 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
25224 with #if rather than #ifdef.
25225 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
25226
25227 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
25228
25229 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
25230 first. Disable AVX-512 GCC support if assembler doesn't support
25231 it.
25232 * sysdeps/x86_64/configure: Regenerated.
25233
25234 2014-03-13 Carlos O'Donell <carlos@redhat.com>
25235
25236 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
25237 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
25238 (__old_pthread_attr_setstack): Likewise.
25239 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
25240 [!_STACK_GROWS_DOWN]: Likewise.
25241
25242 2014-03-13 Mike Frysinger <vapier@gentoo.org>
25243
25244 * config.make.in (have-bash2): Delete.
25245 * configure.ac (libc_cv_have_bash2): Delete.
25246 * configure: Regenerate.
25247 * elf/Makefile (common-ldd-rewrite): Rename to ...
25248 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
25249 (sh-ldd-rewrite): Delete.
25250 (bash-ldd-rewrite): Delete.
25251 (have-bash2): Delete checks.
25252 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
25253 ldd-rewrite.
25254
25255 * config.make.in (have-ksh): Delete.
25256 (KSH): Delete.
25257 * configure.ac (libc_cv_have_ksh): Delete.
25258 * configure: Regenerate.
25259
25260 * elf/Makefile: Delete $(have-ksh) check.
25261 ($(objpfx)sotruss): Change KSH to BASH.
25262 * elf/sotruss.ksh: Rename to ...
25263 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
25264 function style to match POSIX. Drop ksh vim mode setting.
25265
25266 * manual/time.texi (Specifying the Time Zone with TZ): Change
25267 Tuesday to Thursday.
25268
25269 * debug/tst-longjmp_chk2.c: Update header comment.
25270 (stackoverflow_handler): Add comment. Call assert on pass value.
25271
25272 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
25273
25274 [BZ #16194]
25275 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
25276 (HAVE_AVX512_ASM_SUPPORT): Likewise.
25277 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
25278 (La_x86_64_vector): Add zmm.
25279 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
25280 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
25281 ($(objpfx)tst-audit10): New target.
25282 ($(objpfx)tst-audit10.out): Likewise.
25283 (tst-audit10-ENV): New.
25284 (AVX512-CFLAGS): Likewise.
25285 (CFLAGS-tst-audit10.c): Likewise.
25286 (CFLAGS-tst-auditmod10a.c): Likewise.
25287 (CFLAGS-tst-auditmod10b.c): Likewise.
25288 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
25289 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
25290 * sysdeps/x86_64/configure: Regenerated.
25291 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
25292 AVX-512 zmm register support.
25293 (_dl_x86_64_save_sse): Likewise.
25294 (_dl_x86_64_restore_sse): Likewise.
25295 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
25296 size vector registers.
25297 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
25298 (ZMM_SIZE): Likewise.
25299 * sysdeps/x86_64/tst-audit10.c: New file.
25300 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
25301 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
25302
25303 2014-03-13 Roland McGrath <roland@hack.frob.com>
25304
25305 * configure.ac (HAVE_EHDR_START): New check.
25306 * configure: Regenerated.
25307 * config.h.in (HAVE_EHDR_START): New #undef.
25308 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
25309 assuming the lowest-addressed segment maps the start of the file.
25310
25311 2014-03-13 Joseph Myers <joseph@codesourcery.com>
25312
25313 * INSTALL: Regenerated.
25314
25315 2014-03-13 Will Newton <will.newton@linaro.org>
25316
25317 * manual/setjmp.texi (System V contexts): Improve
25318 clarity and grammar of documentation.
25319
25320 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
25321
25322 [BZ #16381]
25323 * elf/Makefile (tests): Add tst-pie2.
25324 (tests-pie): Add tst-pie2.
25325 * elf/tst-pie2.c: New file.
25326 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
25327 for ET_EXEC.
25328 * elf/rtld.c (map_doit): Load executable as lt_executable.
25329 (dl_main): Likewise.
25330
25331 2014-03-12 Joseph Myers <joseph@codesourcery.com>
25332
25333 [BZ #16642]
25334 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25335 (__ASSUME_PSELECT): Undefine.
25336
25337 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25338
25339 [BZ #16689]
25340 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
25341 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
25342 static build.
25343 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
25344 selector for static builds.
25345
25346 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25347
25348 [BZ #16695]
25349 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
25350 key in the buffer.
25351
25352 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25353
25354 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
25355 IFUNC selector for static builds.
25356
25357 2014-03-11 Joseph Myers <joseph@codesourcery.com>
25358
25359 * sysdeps/mips/math_private.h [__mips_hard_float]
25360 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
25361 libc_feresetround_mips_ctx.
25362 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
25363 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
25364 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
25365
25366 [BZ #16677]
25367 * math/s_nextafter.c (__nextafter): Do not return value from
25368 overflowing computation.
25369 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
25370 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
25371 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
25372 Likewise.
25373 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
25374 Likewise.
25375 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
25376 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
25377
25378 2014-03-11 Roland McGrath <roland@hack.frob.com>
25379
25380 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
25381 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
25382 Move sfi_sp use from the load-multiple (that no longer sets sp) to
25383 the new mov targetting sp.
25384
25385 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25386
25387 [BZ #16683]
25388 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
25389 Define it for static builds as well.
25390 (NO_BZERO_IMPL): Likewise.
25391
25392 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25393
25394 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
25395 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
25396 multiarch strspn for PPC64.
25397 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
25398 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
25399 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25400 (__libc_ifunc_impl_list): Likewise.
25401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
25402 multiarch optimizations
25403 * string/strspn.c (strspn): Using macro to redefine symbol name.
25404
25405 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
25406 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25407
25408 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
25409 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
25410 multiarch strncat for PPC64.
25411 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
25412 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
25413 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
25414 (__libc_ifunc_impl_list): Likewise.
25415 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
25416 multiarch optimizations
25417
25418 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25419
25420 [BZ #16639]
25421 * nscd/nscd.service: Make service type forking.
25422
25423 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25424
25425 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
25426 sign in non default rounding modes.
25427 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
25428
25429 2014-03-08 Joseph Myers <joseph@codesourcery.com>
25430
25431 * math/libm-test.inc (ALL_RM_TEST): New macro.
25432 (ceil_test): Use ALL_RM_TEST.
25433 (cimag_test): Likewise.
25434 (conj_test): Likewise.
25435 (copysign_test): Likewise.
25436 (cproj_test): Likewise.
25437 (creal_test): Likewise.
25438 (fabs_test): Likewise.
25439 (floor_test): Likewise.
25440 (fmax_test): Likewise.
25441 (fmin_test): Likewise.
25442 (fmod_test): Likewise.
25443 (fpclassify_test): Likewise.
25444 (frexp_test): Likewise.
25445 (ilogb_test): Likewise.
25446 (isfinite_test): Likewise.
25447 (finite_test): Likewise.
25448 (isgreater_test): Likewise.
25449 (isgreaterequal_test): Likewise.
25450 (isinf_test): Likewise.
25451 (isless_test): Likewise.
25452 (islessequal_test): Likewise.
25453 (islessgreater_test): Likewise.
25454 (isnan_test): Likewise.
25455 (isnormal_test): Likewise.
25456 (issignaling_test): Likewise.
25457 (isunordered_test): Likewise.
25458 (logb_test): Likewise.
25459 (logb_downward_test_data): Remove.
25460 (logb_test_downward): Likewise.
25461 (lround_test): Use ALL_RM_TEST.
25462 (llround_test): Likewise.
25463 (modf_test): Likewise.
25464 (nexttoward_test): Likewise.
25465 (remainder_test): Likewise.
25466 (drem_test): Likewise.
25467 (remainder_tonearest_test_data): Likewise.
25468 (remainder_test_tonearest): Likewise.
25469 (drem_test_tonearest): Likewise.
25470 (remainder_towardzero_test_data): Likewise.
25471 (remainder_test_towardzero): Likewise.
25472 (drem_test_towardzero): Likewise.
25473 (remainder_downward_test_data): Likewise.
25474 (remainder_test_downward): Likewise.
25475 (drem_test_downward): Likewise.
25476 (remainder_upward_test_data): Likewise.
25477 (remainder_test_upward): Likewise.
25478 (drem_test_upward): Likewise.
25479 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
25480 (round_test): Use ALL_RM_TEST.
25481 (signbit_test): Likewise.
25482 (trunc_test): Likewise.
25483 (significand_test): Likewise.
25484 (main): Don't call removed functions.
25485
25486 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25487
25488 [BZ #16674]
25489 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
25490 || __USE_XOPEN2K8].
25491 (ILL_ILLOPN): Likewise.
25492 (ILL_ILLADR): Likewise.
25493 (ILL_ILLTRP): Likewise.
25494 (ILL_PRVOPC): Likewise.
25495 (ILL_PRVREG): Likewise.
25496 (ILL_COPROC): Likewise.
25497 (ILL_BADSTK): Likewise.
25498 (FPE_INTDIV): Likewise.
25499 (FPE_INTOVF): Likewise.
25500 (FPE_FLTDIV): Likewise.
25501 (FPE_FLTOVF): Likewise.
25502 (FPE_FLTUND): Likewise.
25503 (FPE_FLTRES): Likewise.
25504 (FPE_FLTINV): Likewise.
25505 (FPE_FLTSUB): Likewise.
25506 (SEGV_MAPERR): Likewise.
25507 (SEGV_ACCERR): Likewise.
25508 (BUS_ADRALN): Likewise.
25509 (BUS_ADRERR): Likewise.
25510 (BUS_OBJERR): Likewise.
25511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25512 (TRAP_TRACE): Likewise.
25513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25514 __USE_XOPEN2K8].
25515 (CLD_KILLED): Likewise.
25516 (CLD_DUMPED): Likewise.
25517 (CLD_TRAPPED): Likewise.
25518 (CLD_STOPPED): Likewise.
25519 (CLD_CONTINUED): Likewise.
25520 (POLL_IN): Likewise.
25521 (POLL_OUT): Likewise.
25522 (POLL_MSG): Likewise.
25523 (POLL_ERR): Likewise.
25524 (POLL_PRI): Likewise.
25525 (POLL_HUP): Likewise.
25526 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
25527 Likewise.
25528 (ILL_ILLOPN): Likewise.
25529 (ILL_ILLADR): Likewise.
25530 (ILL_ILLTRP): Likewise.
25531 (ILL_PRVOPC): Likewise.
25532 (ILL_PRVREG): Likewise.
25533 (ILL_COPROC): Likewise.
25534 (ILL_BADSTK): Likewise.
25535 (FPE_INTDIV): Likewise.
25536 (FPE_INTOVF): Likewise.
25537 (FPE_FLTDIV): Likewise.
25538 (FPE_FLTOVF): Likewise.
25539 (FPE_FLTUND): Likewise.
25540 (FPE_FLTRES): Likewise.
25541 (FPE_FLTINV): Likewise.
25542 (FPE_FLTSUB): Likewise.
25543 (SEGV_MAPERR): Likewise.
25544 (SEGV_ACCERR): Likewise.
25545 (BUS_ADRALN): Likewise.
25546 (BUS_ADRERR): Likewise.
25547 (BUS_OBJERR): Likewise.
25548 (BUS_MCEERR_AR): Likewise.
25549 (BUS_MCEERR_AO): Likewise.
25550 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25551 (TRAP_TRACE): Likewise.
25552 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25553 __USE_XOPEN2K8].
25554 (CLD_KILLED): Likewise.
25555 (CLD_DUMPED): Likewise.
25556 (CLD_TRAPPED): Likewise.
25557 (CLD_STOPPED): Likewise.
25558 (CLD_CONTINUED): Likewise.
25559 (POLL_IN): Likewise.
25560 (POLL_OUT): Likewise.
25561 (POLL_MSG): Likewise.
25562 (POLL_ERR): Likewise.
25563 (POLL_PRI): Likewise.
25564 (POLL_HUP): Likewise.
25565 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
25566 (ILL_ILLOPN): Likewise.
25567 (ILL_ILLADR): Likewise.
25568 (ILL_ILLTRP): Likewise.
25569 (ILL_PRVOPC): Likewise.
25570 (ILL_PRVREG): Likewise.
25571 (ILL_COPROC): Likewise.
25572 (ILL_BADSTK): Likewise.
25573 (FPE_INTDIV): Likewise.
25574 (FPE_INTOVF): Likewise.
25575 (FPE_FLTDIV): Likewise.
25576 (FPE_FLTOVF): Likewise.
25577 (FPE_FLTUND): Likewise.
25578 (FPE_FLTRES): Likewise.
25579 (FPE_FLTINV): Likewise.
25580 (FPE_FLTSUB): Likewise.
25581 (SEGV_MAPERR): Likewise.
25582 (SEGV_ACCERR): Likewise.
25583 (BUS_ADRALN): Likewise.
25584 (BUS_ADRERR): Likewise.
25585 (BUS_OBJERR): Likewise.
25586 (BUS_MCEERR_AR): Likewise.
25587 (BUS_MCEERR_AO): Likewise.
25588 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25589 (TRAP_TRACE): Likewise.
25590 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25591 __USE_XOPEN2K8].
25592 (CLD_KILLED): Likewise.
25593 (CLD_DUMPED): Likewise.
25594 (CLD_TRAPPED): Likewise.
25595 (CLD_STOPPED): Likewise.
25596 (CLD_CONTINUED): Likewise.
25597 (POLL_IN): Likewise.
25598 (POLL_OUT): Likewise.
25599 (POLL_MSG): Likewise.
25600 (POLL_ERR): Likewise.
25601 (POLL_PRI): Likewise.
25602 (POLL_HUP): Likewise.
25603 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
25604 Likewise.
25605 (ILL_ILLOPN): Likewise.
25606 (ILL_ILLADR): Likewise.
25607 (ILL_ILLTRP): Likewise.
25608 (ILL_PRVOPC): Likewise.
25609 (ILL_PRVREG): Likewise.
25610 (ILL_COPROC): Likewise.
25611 (ILL_BADSTK): Likewise.
25612 (ILL_BADIADDR): Likewise.
25613 (ILL_BREAK): Likewise.
25614 (FPE_INTDIV): Likewise.
25615 (FPE_INTOVF): Likewise.
25616 (FPE_FLTDIV): Likewise.
25617 (FPE_FLTOVF): Likewise.
25618 (FPE_FLTUND): Likewise.
25619 (FPE_FLTRES): Likewise.
25620 (FPE_FLTINV): Likewise.
25621 (FPE_FLTSUB): Likewise.
25622 (FPE_DECOVF): Likewise.
25623 (FPE_DECDIV): Likewise.
25624 (FPE_DECERR): Likewise.
25625 (FPE_INVASC): Likewise.
25626 (FPE_INVDEC): Likewise.
25627 (SEGV_MAPERR): Likewise.
25628 (SEGV_ACCERR): Likewise.
25629 (SEGV_PSTKOVF): Likewise.
25630 (BUS_ADRALN): Likewise.
25631 (BUS_ADRERR): Likewise.
25632 (BUS_OBJERR): Likewise.
25633 (BUS_MCEERR_AR): Likewise.
25634 (BUS_MCEERR_AO): Likewise.
25635 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25636 (TRAP_TRACE): Likewise.
25637 (TRAP_BRANCH): Likewise.
25638 (TRAP_HWBKPT): Likewise.
25639 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25640 __USE_XOPEN2K8].
25641 (CLD_KILLED): Likewise.
25642 (CLD_DUMPED): Likewise.
25643 (CLD_TRAPPED): Likewise.
25644 (CLD_STOPPED): Likewise.
25645 (CLD_CONTINUED): Likewise.
25646 (POLL_IN): Likewise.
25647 (POLL_OUT): Likewise.
25648 (POLL_MSG): Likewise.
25649 (POLL_ERR): Likewise.
25650 (POLL_PRI): Likewise.
25651 (POLL_HUP): Likewise.
25652 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
25653 (ILL_ILLOPN): Likewise.
25654 (ILL_ILLADR): Likewise.
25655 (ILL_ILLTRP): Likewise.
25656 (ILL_PRVOPC): Likewise.
25657 (ILL_PRVREG): Likewise.
25658 (ILL_COPROC): Likewise.
25659 (ILL_BADSTK): Likewise.
25660 (FPE_INTDIV): Likewise.
25661 (FPE_INTOVF): Likewise.
25662 (FPE_FLTDIV): Likewise.
25663 (FPE_FLTOVF): Likewise.
25664 (FPE_FLTUND): Likewise.
25665 (FPE_FLTRES): Likewise.
25666 (FPE_FLTINV): Likewise.
25667 (FPE_FLTSUB): Likewise.
25668 (SEGV_MAPERR): Likewise.
25669 (SEGV_ACCERR): Likewise.
25670 (BUS_ADRALN): Likewise.
25671 (BUS_ADRERR): Likewise.
25672 (BUS_OBJERR): Likewise.
25673 (BUS_MCEERR_AR): Likewise.
25674 (BUS_MCEERR_AO): Likewise.
25675 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25676 (TRAP_TRACE): Likewise.
25677 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25678 __USE_XOPEN2K8].
25679 (CLD_KILLED): Likewise.
25680 (CLD_DUMPED): Likewise.
25681 (CLD_TRAPPED): Likewise.
25682 (CLD_STOPPED): Likewise.
25683 (CLD_CONTINUED): Likewise.
25684 (POLL_IN): Likewise.
25685 (POLL_OUT): Likewise.
25686 (POLL_MSG): Likewise.
25687 (POLL_ERR): Likewise.
25688 (POLL_PRI): Likewise.
25689 (POLL_HUP): Likewise.
25690 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
25691 (ILL_ILLOPN): Likewise.
25692 (ILL_ILLADR): Likewise.
25693 (ILL_ILLTRP): Likewise.
25694 (ILL_PRVOPC): Likewise.
25695 (ILL_PRVREG): Likewise.
25696 (ILL_COPROC): Likewise.
25697 (ILL_BADSTK): Likewise.
25698 (FPE_INTDIV): Likewise.
25699 (FPE_INTOVF): Likewise.
25700 (FPE_FLTDIV): Likewise.
25701 (FPE_FLTOVF): Likewise.
25702 (FPE_FLTUND): Likewise.
25703 (FPE_FLTRES): Likewise.
25704 (FPE_FLTINV): Likewise.
25705 (FPE_FLTSUB): Likewise.
25706 (SEGV_MAPERR): Likewise.
25707 (SEGV_ACCERR): Likewise.
25708 (BUS_ADRALN): Likewise.
25709 (BUS_ADRERR): Likewise.
25710 (BUS_OBJERR): Likewise.
25711 (BUS_MCEERR_AR): Likewise.
25712 (BUS_MCEERR_AO): Likewise.
25713 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25714 (TRAP_TRACE): Likewise.
25715 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25716 __USE_XOPEN2K8].
25717 (CLD_KILLED): Likewise.
25718 (CLD_DUMPED): Likewise.
25719 (CLD_TRAPPED): Likewise.
25720 (CLD_STOPPED): Likewise.
25721 (CLD_CONTINUED): Likewise.
25722 (POLL_IN): Likewise.
25723 (POLL_OUT): Likewise.
25724 (POLL_MSG): Likewise.
25725 (POLL_ERR): Likewise.
25726 (POLL_PRI): Likewise.
25727 (POLL_HUP): Likewise.
25728 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
25729 (ILL_ILLOPN): Likewise.
25730 (ILL_ILLADR): Likewise.
25731 (ILL_ILLTRP): Likewise.
25732 (ILL_PRVOPC): Likewise.
25733 (ILL_PRVREG): Likewise.
25734 (ILL_COPROC): Likewise.
25735 (ILL_BADSTK): Likewise.
25736 (FPE_INTDIV): Likewise.
25737 (FPE_INTOVF): Likewise.
25738 (FPE_FLTDIV): Likewise.
25739 (FPE_FLTOVF): Likewise.
25740 (FPE_FLTUND): Likewise.
25741 (FPE_FLTRES): Likewise.
25742 (FPE_FLTINV): Likewise.
25743 (FPE_FLTSUB): Likewise.
25744 (SEGV_MAPERR): Likewise.
25745 (SEGV_ACCERR): Likewise.
25746 (BUS_ADRALN): Likewise.
25747 (BUS_ADRERR): Likewise.
25748 (BUS_OBJERR): Likewise.
25749 (BUS_MCEERR_AR): Likewise.
25750 (BUS_MCEERR_AO): Likewise.
25751 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25752 (TRAP_TRACE): Likewise.
25753 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25754 __USE_XOPEN2K8].
25755 (CLD_KILLED): Likewise.
25756 (CLD_DUMPED): Likewise.
25757 (CLD_TRAPPED): Likewise.
25758 (CLD_STOPPED): Likewise.
25759 (CLD_CONTINUED): Likewise.
25760 (POLL_IN): Likewise.
25761 (POLL_OUT): Likewise.
25762 (POLL_MSG): Likewise.
25763 (POLL_ERR): Likewise.
25764 (POLL_PRI): Likewise.
25765 (POLL_HUP): Likewise.
25766 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
25767 (ILL_ILLOPN): Likewise.
25768 (ILL_ILLADR): Likewise.
25769 (ILL_ILLTRP): Likewise.
25770 (ILL_PRVOPC): Likewise.
25771 (ILL_PRVREG): Likewise.
25772 (ILL_COPROC): Likewise.
25773 (ILL_BADSTK): Likewise.
25774 (ILL_DBLFLT): Likewise.
25775 (ILL_HARDWALL): Likewise.
25776 (FPE_INTDIV): Likewise.
25777 (FPE_INTOVF): Likewise.
25778 (FPE_FLTDIV): Likewise.
25779 (FPE_FLTOVF): Likewise.
25780 (FPE_FLTUND): Likewise.
25781 (FPE_FLTRES): Likewise.
25782 (FPE_FLTINV): Likewise.
25783 (FPE_FLTSUB): Likewise.
25784 (SEGV_MAPERR): Likewise.
25785 (SEGV_ACCERR): Likewise.
25786 (BUS_ADRALN): Likewise.
25787 (BUS_ADRERR): Likewise.
25788 (BUS_OBJERR): Likewise.
25789 (BUS_MCEERR_AR): Likewise.
25790 (BUS_MCEERR_AO): Likewise.
25791 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25792 (TRAP_TRACE): Likewise.
25793 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25794 __USE_XOPEN2K8].
25795 (CLD_KILLED): Likewise.
25796 (CLD_DUMPED): Likewise.
25797 (CLD_TRAPPED): Likewise.
25798 (CLD_STOPPED): Likewise.
25799 (CLD_CONTINUED): Likewise.
25800 (POLL_IN): Likewise.
25801 (POLL_OUT): Likewise.
25802 (POLL_MSG): Likewise.
25803 (POLL_ERR): Likewise.
25804 (POLL_PRI): Likewise.
25805 (POLL_HUP): Likewise.
25806 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
25807 (ILL_ILLOPN): Likewise.
25808 (ILL_ILLADR): Likewise.
25809 (ILL_ILLTRP): Likewise.
25810 (ILL_PRVOPC): Likewise.
25811 (ILL_PRVREG): Likewise.
25812 (ILL_COPROC): Likewise.
25813 (ILL_BADSTK): Likewise.
25814 (FPE_INTDIV): Likewise.
25815 (FPE_INTOVF): Likewise.
25816 (FPE_FLTDIV): Likewise.
25817 (FPE_FLTOVF): Likewise.
25818 (FPE_FLTUND): Likewise.
25819 (FPE_FLTRES): Likewise.
25820 (FPE_FLTINV): Likewise.
25821 (FPE_FLTSUB): Likewise.
25822 (SEGV_MAPERR): Likewise.
25823 (SEGV_ACCERR): Likewise.
25824 (BUS_ADRALN): Likewise.
25825 (BUS_ADRERR): Likewise.
25826 (BUS_OBJERR): Likewise.
25827 (BUS_MCEERR_AR): Likewise.
25828 (BUS_MCEERR_AO): Likewise.
25829 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
25830 (TRAP_TRACE): Likewise.
25831 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
25832 __USE_XOPEN2K8].
25833 (CLD_KILLED): Likewise.
25834 (CLD_DUMPED): Likewise.
25835 (CLD_TRAPPED): Likewise.
25836 (CLD_STOPPED): Likewise.
25837 (CLD_CONTINUED): Likewise.
25838 (POLL_IN): Likewise.
25839 (POLL_OUT): Likewise.
25840 (POLL_MSG): Likewise.
25841 (POLL_ERR): Likewise.
25842 (POLL_PRI): Likewise.
25843 (POLL_HUP): Likewise.
25844 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
25845 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
25846
25847 [BZ #16670]
25848 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
25849 before #include of <time.h>.
25850 [!__USE_XOPEN2K] (__need_timespec): Likewise.
25851 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
25852 (test-xfail-UNIX98/sched.h/conform): Likewise.
25853
25854 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
25855
25856 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
25857 error absence of trapping exception support.
25858 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
25859
25860 2014-03-07 Joseph Myers <joseph@codesourcery.com>
25861
25862 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
25863 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
25864 * timezone/Makefile (testdata): Move definition above include of
25865 Rules.
25866 (test-zones): New variable.
25867 (tests-special): Add zone files.
25868 (build-testdata): Use $(evaluate-test).
25869
25870 * elf/Makefile (tests-special): Rename tests to end with .out.
25871 ($(objpfx)noload-mem): Likewise.
25872 ($(objpfx)tst-leaks1-mem): Likewise.
25873 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
25874 * iconv/Makefile (xtests-special): Change test-iconvconfig to
25875 $(objpfx)test-iconvconfig.out.
25876 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
25877 set -e inside subshell and redirect output to file.
25878 * iconvdata/Makefile (generated): Rename tests to end with .out.
25879 Correct type.
25880 (tests-special): Rename tests to end with .out.
25881 ($(objpfx)mtrace-tst-loading): Likewise.
25882 * intl/Makefile (generated): Likewise.
25883 (tests-special): Likewise.
25884 ($(objpfx)mtrace-tst-gettext): Likewise.
25885 * misc/Makefile (generated): Likewise.
25886 (tests-special): Likewise.
25887 ($(objpfx)tst-error1-mem): Likewise.
25888 * nptl/Makefile (tests-special): Likewise.
25889 ($(objpfx)tst-stack3-mem): Likewise.
25890 (generated): Likewise.
25891 * posix/Makefile (generated): Likewise.
25892 (tests-special): Likewise.
25893 (xtests-special): Likewise.
25894 ($(objpfx)tst-fnmatch-mem): Likewise.
25895 ($(objpfx)bug-regex2-mem): Likewise.
25896 ($(objpfx)bug-regex14-mem): Likewise.
25897 ($(objpfx)bug-regex21-mem): Likewise.
25898 ($(objpfx)bug-regex31-mem): Likewise.
25899 ($(objpfx)tst-vfork3-mem): Likewise.
25900 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
25901 ($(objpfx)tst-pcre-mem): Likewise.
25902 ($(objpfx)tst-boost-mem): Likewise.
25903 ($(objpfx)bug-ga2-mem): Likewise.
25904 ($(objpfx)bug-glob2-mem): Likewise.
25905 * resolv/Makefile (generate): Likewise.
25906 (tests-special): Likewise.
25907 (xtests-special): Likewise.
25908 (generated): Likewise.
25909 ($(objpfx)mtrace-tst-leaks): Likewise.
25910 ($(objpfx)mtrace-tst-leaks2): Likewise.
25911
25912 * scripts/merge-test-results.sh: New file.
25913 * Makefile (tests-special-notdir): New variable.
25914 (tests): Run merge-test-results.sh.
25915 (xtests): Likewise.
25916 * Rules (tests-special-notdir): New variable.
25917 (xtests-special-notdir): Likewise.
25918 (tests): Run merge-test-results.sh
25919 (xtests): Likewise.
25920
25921 * Makeconfig (test-xfail-name): New variable.
25922 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
25923 compute variable name for expected failures.
25924 * conform/Makefile (conformtest-headers-data): New variable.
25925 (conformtest-standards): Likewise.
25926 (conformtest-headers-ISO): Likewise.
25927 (conformtest-headers-ISO99): Likewise.
25928 (conformtest-headers-ISO11): Likewise.
25929 (conformtest-headers-POSIX): Likewise.
25930 (conformtest-headers-XPG3): Likewise.
25931 (conformtest-headers-XPG4): Likewise.
25932 (conformtest-headers-UNIX98): Likewise.
25933 (conformtest-headers-XOPEN2K): Likewise.
25934 (conformtest-headers-POSIX2008): Likewise.
25935 (conformtest-headers-XOPEN2K8): Likewise.
25936 (conformtest-header-list-base): Likewise.
25937 (conformtest-header-list-tests): Likewise.
25938 (conformtest-header-base): Likewise.
25939 (conformtest-header-tests): Likewise.
25940 (tests-special): Add $(conformtest-header-list-tests). If
25941 [$(fast-check) && !$(cross-compiling)], add
25942 $(conformtest-header-tests) instead of
25943 $(objpfx)run-conformtest.out.
25944 (generated): Add $(conformtest-header-list-base). If
25945 [$(fast-check) && !$(cross-compiling)], add
25946 $(conformtest-header-base). Remove previous setting.
25947 ($(conformtest-header-list-tests)): New target.
25948 (test-xfail-run-conformtest): Remove variable.
25949 ($(objpfx)run-conformtest.out): Remove target.
25950 (test-xfail-ISO11/complex.h/conform): New variable.
25951 (test-xfail-ISO11/stdalign.h/conform): Likewise.
25952 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
25953 (test-xfail-XPG3/varargs.h/conform): Likewise.
25954 (test-xfail-XPG4/varargs.h/conform): Likewise.
25955 (test-xfail-UNIX98/varargs.h/conform): Likewise.
25956 (test-xfail-XPG4/ndbm.h/conform): Likewise.
25957 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
25958 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
25959 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
25960 (test-xfail-XPG3/fcntl.h/conform): Likewise.
25961 (test-xfail-XPG3/ftw.h/conform): Likewise.
25962 (test-xfail-XPG3/grp.h/conform): Likewise.
25963 (test-xfail-XPG3/langinfo.h/conform): Likewise.
25964 (test-xfail-XPG3/limits.h/conform): Likewise.
25965 (test-xfail-XPG3/pwd.h/conform): Likewise.
25966 (test-xfail-XPG3/search.h/conform): Likewise.
25967 (test-xfail-XPG3/signal.h/conform): Likewise.
25968 (test-xfail-XPG3/stdio.h/conform): Likewise.
25969 (test-xfail-XPG3/stdlib.h/conform): Likewise.
25970 (test-xfail-XPG3/string.h/conform): Likewise.
25971 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
25972 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
25973 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25974 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25975 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
25976 (test-xfail-XPG3/sys/types.h/conform): Likewise.
25977 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
25978 (test-xfail-XPG3/termios.h/conform): Likewise.
25979 (test-xfail-XPG3/time.h/conform): Likewise.
25980 (test-xfail-XPG3/unistd.h/conform): Likewise.
25981 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
25982 (test-xfail-XPG4/fcntl.h/conform): Likewise.
25983 (test-xfail-XPG4/langinfo.h/conform): Likewise.
25984 (test-xfail-XPG4/netdb.h/conform): Likewise.
25985 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
25986 (test-xfail-XPG4/signal.h/conform): Likewise.
25987 (test-xfail-XPG4/stdio.h/conform): Likewise.
25988 (test-xfail-XPG4/stdlib.h/conform): Likewise.
25989 (test-xfail-XPG4/stropts.h/conform): Likewise.
25990 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25991 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25992 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25993 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25994 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25995 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
25996 (test-xfail-XPG4/sys/time.h/conform): Likewise.
25997 (test-xfail-XPG4/sys/types.h/conform): Likewise.
25998 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
25999 (test-xfail-XPG4/termios.h/conform): Likewise.
26000 (test-xfail-XPG4/ucontext.h/conform): Likewise.
26001 (test-xfail-XPG4/unistd.h/conform): Likewise.
26002 (test-xfail-XPG4/utmpx.h/conform): Likewise.
26003 (test-xfail-POSIX/sched.h/conform): Likewise.
26004 (test-xfail-POSIX/signal.h/conform): Likewise.
26005 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
26006 (test-xfail-POSIX/tar.h/conform): Likewise.
26007 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
26008 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
26009 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
26010 (test-xfail-UNIX98/netdb.h/conform): Likewise.
26011 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
26012 (test-xfail-UNIX98/sched.h/conform): Likewise.
26013 (test-xfail-UNIX98/signal.h/conform): Likewise.
26014 (test-xfail-UNIX98/stdio.h/conform): Likewise.
26015 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
26016 (test-xfail-UNIX98/stropts.h/conform): Likewise.
26017 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
26018 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
26019 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
26020 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
26021 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
26022 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
26023 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
26024 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
26025 (test-xfail-UNIX98/unistd.h/conform): Likewise.
26026 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
26027 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
26028 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
26029 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
26030 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
26031 (test-xfail-XOPEN2K/math.h/conform): Likewise.
26032 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
26033 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
26034 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
26035 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
26036 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
26037 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
26038 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
26039 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
26040 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
26041 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
26042 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
26043 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
26044 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
26045 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
26046 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
26047 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
26048 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
26049 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
26050 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
26051 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
26052 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
26053 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
26054 (test-xfail-POSIX2008/signal.h/conform): Likewise.
26055 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
26056 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
26057 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
26058 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
26059 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
26060 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
26061 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
26062 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
26063 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
26064 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
26065 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
26066 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
26067 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
26068 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
26069 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
26070 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
26071 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
26072 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
26073 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
26074 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
26075 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
26076 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
26077 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
26078 (conformtest-cc-flags): Likewise.
26079 ($(conformtest-header-tests): New target.
26080 * conform/check-header-lists.sh: New file.
26081 * conform/run-conformtest.sh: Remove.
26082
26083 * conform/conformtest.pl: Allow ' and \ in values given for
26084 constants.
26085 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
26086 inclusion.
26087 [POSIX] (sys/types.h): Likewise.
26088 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
26089 inclusion.
26090 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
26091 inclusion.
26092 * conform/data/signal.h-data (SIGIO): Remove expectation.
26093 [XPG3] (SIGBUS): Do not expect.
26094 [POSIX || XPG3] (SIGPOLL): Likewise.
26095 [POSIX || XPG3] (SIGPROF): Likewise.
26096 [POSIX || XPG3] (SIGSYS): Likewise.
26097 [XPG3] (SIGTRAP): Likewise.
26098 [POSIX || XPG3] (SIGURG): Likewise.
26099 [POSIX || XPG3] (SIGVTALRM): Likewise.
26100 [POSIX || XPG3] (SIGXCPU): Likewise.
26101 [POSIX || XPG3] (SIGXFSZ): Likewise.
26102 [POSIX] (SA_SIGINFO): Expect.
26103 [XPG3] (siginfo_t): Do not expect type or contents.
26104 [POSIX] (si_pid): Do not expect element.
26105 [POSIX] (si_uid): Likewise.
26106 [POSIX] (si_addr): Likewise.
26107 [POSIX] (si_status): Likewise.
26108 [POSIX] (si_band): Likewise.
26109 [XPG4] (si_value): Likewise.
26110 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
26111 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
26112 [POSIX || XPG3] (ILL_ILLADR): Likewise.
26113 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
26114 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
26115 [POSIX || XPG3] (ILL_PRVREG): Likewise.
26116 [POSIX || XPG3] (ILL_COPROC): Likewise.
26117 [POSIX || XPG3] (ILL_BADSTK): Likewise.
26118 [POSIX || XPG3] (FPE_INTDIV): Likewise.
26119 [POSIX || XPG3] (FPE_INTOVF): Likewise.
26120 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
26121 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
26122 [POSIX || XPG3] (FPE_FLTUND): Likewise.
26123 [POSIX || XPG3] (FPE_FLTRES): Likewise.
26124 [POSIX || XPG3] (FPE_FLTINV): Likewise.
26125 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
26126 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
26127 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
26128 [POSIX || XPG3] (BUS_ADRALN): Likewise.
26129 [POSIX || XPG3] (BUS_ADRERR): Likewise.
26130 [POSIX || XPG3] (BUS_OBJERR): Likewise.
26131 [POSIX || XPG3] (CLD_EXITED): Likewise.
26132 [POSIX || XPG3] (CLD_KILLED): Likewise.
26133 [POSIX || XPG3] (CLD_DUMPED): Likewise.
26134 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
26135 [POSIX || XPG3] (CLD_STOPPED): Likewise.
26136 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
26137 [POSIX || XPG3] (POLL_IN): Likewise.
26138 [POSIX || XPG3] (POLL_OUT): Likewise.
26139 [POSIX || XPG3] (POLL_MSG): Likewise.
26140 [POSIX || XPG3] (POLL_ERR): Likewise.
26141 [POSIX || XPG3] (POLL_PRI): Likewise.
26142 [POSIX || XPG3] (POLL_HUP): Likewise.
26143 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
26144 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
26145 (SIG*): Do not allow.
26146 [XPG3] (si_*): Likewise.
26147 [XPG3] (SI_*): Likewise.
26148 [XPG3 || XPG4] (sigev_*): Likewise.
26149 [XPG3 || XPG4] (SIGEV_*): Likewise.
26150 [XPG3 || XPG4] (sival_*): Likewise.
26151 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
26152 [POSIX || XPG3] (BUS_*): Likewise.
26153 [POSIX || XPG3] (CLD_*): Likewise.
26154 [POSIX || XPG3] (FPE_*): Likewise.
26155 [POSIX || XPG3] (ILL_*): Likewise.
26156 [POSIX || XPG3] (POLL_*): Likewise.
26157 [POSIX || XPG3] (SEGV_*): Likewise.
26158 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
26159 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
26160 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
26161 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
26162 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
26163 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
26164 Specify type and value.
26165 (TVERSLEN): Likewise.
26166 (REGTYPE): Likewise.
26167 (AREGTYPE): Likewise.
26168 (LNKTYPE): Likewise.
26169 (SYMTYPE): Likewise.
26170 (CHRTYPE): Likewise.
26171 (BLKTYPE): Likewise.
26172 (DIRTYPE): Likewise.
26173 (FIFOTYPE): Likewise.
26174 (CONTTYPE): Likewise.
26175 (TSUID): Likewise.
26176 (TSGID): Likewise.
26177 (TSVTX): Likewise.
26178 (TUREAD): Likewise.
26179 (TUWRITE): Likewise.
26180 (TUEXEC): Likewise.
26181 (TGREAD): Likewise.
26182 (TGWRITE): Likewise.
26183 (TGEXEC): Likewise.
26184 (TOREAD): Likewise.
26185 (TOWRITE): Likewise.
26186 (TOEXEC): Likewise.
26187 [POSIX] (TSVTX): Expect constant.
26188
26189 2014-03-06 Joseph Myers <joseph@codesourcery.com>
26190
26191 * Makefile (tests): Change dependencies to ....
26192 (tests-special): ... additions to this variable.
26193 (tests): Depend on $(tests-special).
26194 * Makerules (check-abi-list): New variable.
26195 (check-abi): Depend on $(check-abi-list).
26196 [$(subdir) = elf] (tests-special): Add
26197 $(objpfx)check-abi-libc.out.
26198 [$(build-shared) = yes && subdir] (tests-special): Add
26199 $(check-abi-list).
26200 [$(build-shared) = yes && subdir] (tests): Do not depend on
26201 check-abi.
26202 * Rules (tests): Depend on $(tests-special).
26203 (xtests): Depend on $(xtests-special).
26204 * catgets/Makefile (tests): Change dependencies to ....
26205 (tests-special): ... additions to this variable.
26206 * conform/Makefile (tests): Change dependencies to ....
26207 (tests-special): ... additions to this variable.
26208 * elf/Makefile (tests): Change dependencies to ....
26209 (tests-special): ... additions to this variable.
26210 * grp/Makefile (tests): Change dependencies to ....
26211 (tests-special): ... additions to this variable.
26212 * iconv/Makefile (xtests): Change dependencies to ....
26213 (xtests-special): ... additions to this variable.
26214 * iconvdata/Makefile (tests): Change dependencies to ....
26215 (tests-special): ... additions to this variable.
26216 * intl/Makefile (tests): Change dependencies to ....
26217 (tests-special): ... additions to this variable. Also add
26218 $(objpfx)tst-gettext.out.
26219 * io/Makefile (tests): Change dependencies to ....
26220 (tests-special): ... additions to this variable.
26221 * libio/Makefile (tests): Change dependencies to ....
26222 (tests-special): ... additions to this variable.
26223 * malloc/Makefile (tests): Change dependencies to ....
26224 (tests-special): ... additions to this variable.
26225 * misc/Makefile (tests): Change dependencies to ....
26226 (tests-special): ... additions to this variable.
26227 * nptl/Makefile (tests): Change dependencies to ....
26228 (tests-special): ... additions to this variable.
26229 * nptl_db/Makefile (tests): Change dependencies to ....
26230 (tests-special): ... additions to this variable.
26231 * posix/Makefile (tests): Change dependencies to ....
26232 (tests-special): ... additions to this variable.
26233 (xtests): Change dependencies to ....
26234 (xtests-special): ... additions to this variable.
26235 * resolv/Makefile (tests): Change dependencies to ....
26236 (tests-special): ... additions to this variable.
26237 (xtests): Change dependencies to ....
26238 (xtests-special): ... additions to this variable.
26239 * stdio-common/Makefile (tests): Change dependencies to ....
26240 (tests-special): ... additions to this variable.
26241 (do-tst-unbputc): Remove target.
26242 (do-tst-printf): Likewise.
26243 * stdlib/Makefile (tests): Change dependencies to ....
26244 (tests-special): ... additions to this variable.
26245 * string/Makefile (tests): Change dependencies to ....
26246 (tests-special): ... additions to this variable.
26247 * sysdeps/x86/Makefile (tests): Change dependencies to ....
26248 (tests-special): ... additions to this variable.
26249
26250 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
26251 whole file.
26252 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
26253 whole file.
26254 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
26255 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
26256
26257 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
26258 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
26259 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
26260 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
26261 * conform/data/libgen.h-data [XPG3]: Likewise.
26262 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
26263 * conform/data/ndbm.h-data [XPG3]: Likewise.
26264 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26265 * conform/data/netdb.h-data [XPG3]: Likewise.
26266 * conform/data/netinet/in.h-data [XPG3]: Likewise.
26267 * conform/data/poll.h-data [XPG3]: Likewise.
26268 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
26269 * conform/data/strings.h-data [XPG3]: Likewise.
26270 * conform/data/stropts.h-data [XPG3]: Likewise.
26271 * conform/data/sys/mman.h-data [XPG3]: Likewise.
26272 * conform/data/sys/resource.h-data [XPG3]: Likewise.
26273 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
26274 Likewise.
26275 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
26276 * conform/data/sys/time.h-data [XPG3]: Likewise.
26277 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
26278 * conform/data/sys/uio.h-data [XPG3]: Likewise.
26279 * conform/data/sys/un.h-data [XPG3]: Likewise.
26280 * conform/data/syslog.h-data [XPG3]: Likewise.
26281 * conform/data/ucontext.h-data [XPG3]: Likewise.
26282 * conform/data/utmpx.h-data [XPG3]: Likewise.
26283 * conform/data/varargs.h-data [UNIX98]: Enable file.
26284
26285 * manual/Makefile (INSTALL_INFO): Remove variable setting.
26286
26287 * math/libm-test.inc (struct test_f_f_data): Move expected results
26288 into structure for each rounding mode.
26289 (struct test_ff_f_data): Likewise.
26290 (struct test_ff_f_data_nexttoward): Likewise.
26291 (struct test_fi_f_data): Likewise.
26292 (struct test_fl_f_data): Likewise.
26293 (struct test_if_f_data): Likewise.
26294 (struct test_fff_f_data): Likewise.
26295 (struct test_c_f_data): Likewise.
26296 (struct test_f_f1_data): Likewise.
26297 (struct test_fF_f1_data): Likewise.
26298 (struct test_ffI_f1_data): Likewise.
26299 (struct test_c_c_data): Likewise.
26300 (struct test_cc_c_data): Likewise.
26301 (struct test_f_i_data): Likewise.
26302 (struct test_ff_i_data): Likewise.
26303 (struct test_f_l_data): Likewise.
26304 (struct test_f_L_data): Likewise.
26305 (struct test_fFF_11_data): Likewise.
26306 (RM_): New macro.
26307 (RM_FE_DOWNWARD): Likewise.
26308 (RM_FE_TONEAREST): Likewise.
26309 (RM_FE_TOWARDZERO): Likewise.
26310 (RM_FE_UPWARD): Likewise.
26311 (RUN_TEST_LOOP_f_f): Update references to expected results.
26312 (RUN_TEST_LOOP_2_f): Likewise.
26313 (RUN_TEST_LOOP_fff_f): Likewise.
26314 (RUN_TEST_LOOP_c_f): Likewise.
26315 (RUN_TEST_LOOP_f_f1): Likewise.
26316 (RUN_TEST_LOOP_fF_f1): Likewise.
26317 (RUN_TEST_LOOP_fI_f1): Likewise.
26318 (RUN_TEST_LOOP_ffI_f1): Likewise.
26319 (RUN_TEST_LOOP_c_c): Likewise.
26320 (RUN_TEST_LOOP_cc_c): Likewise.
26321 (RUN_TEST_LOOP_f_i): Likewise.
26322 (RUN_TEST_LOOP_f_i_tg): Likewise.
26323 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26324 (RUN_TEST_LOOP_f_b): Likewise.
26325 (RUN_TEST_LOOP_f_b_tg): Likewise.
26326 (RUN_TEST_LOOP_f_l): Likewise.
26327 (RUN_TEST_LOOP_f_L): Likewise.
26328 (RUN_TEST_LOOP_fFF_11): Likewise.
26329 * math/gen-libm-test.pl (parse_args): Output four copies of
26330 expected results for each test.
26331
26332 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
26333 (__ASSUME_UTIMES): Remove.
26334 * sysdeps/unix/sysv/linux/tile/kernel-features.h
26335 (__ASSUME_UTIMES): Likewise.
26336
26337 * math/gen-auto-libm-tests.c: Update comment on output format.
26338 (output_for_one_input_case): Generate before-rounding and
26339 after-rounding information as conditions on output flags not
26340 floating-point format.
26341 * math/auto-libm-test-out: Regenerated.
26342 * math/gen-libm-test.pl (cond_value): New function.
26343 (or_cond_value): Use cond_value.
26344 (generate_testfile): Handle conditional exceptions.
26345
26346 2014-03-05 Joseph Myers <joseph@codesourcery.com>
26347
26348 * math/libm-test.inc (max_valid_error): New variable.
26349 (init_max_error): Take new argument specifying whether function
26350 results are exactly determined. Set max_valid_error and bound
26351 other variables for errors based on this argument.
26352 (set_max_error): Do not record results above max_valid_error.
26353 (check_float_internal): Only accept errors of up to 0.5ulps if
26354 also at most max_valid_error.
26355 (START): Take new argument EXACT and pass it to init_max_error.
26356 (acos_test): Update call to START.
26357 (acos_test_tonearest): Likewise.
26358 (acos_test_towardzero): Likewise.
26359 (acos_test_downward): Likewise.
26360 (acos_test_upward): Likewise.
26361 (acosh_test): Likewise.
26362 (asin_test): Likewise.
26363 (asin_test_tonearest): Likewise.
26364 (asin_test_towardzero): Likewise.
26365 (asin_test_downward): Likewise.
26366 (asin_test_upward): Likewise.
26367 (asinh_test): Likewise.
26368 (atan_test): Likewise.
26369 (atanh_test): Likewise.
26370 (atan2_test): Likewise.
26371 (cabs_test): Likewise.
26372 (cacos_test): Likewise.
26373 (cacosh_test): Likewise.
26374 (carg_test): Likewise.
26375 (casin_test): Likewise.
26376 (casinh_test): Likewise.
26377 (catan_test): Likewise.
26378 (catanh_test): Likewise.
26379 (cbrt_test): Likewise.
26380 (ccos_test): Likewise.
26381 (ccosh_test): Likewise.
26382 (ceil_test): Likewise.
26383 (cexp_test): Likewise.
26384 (cimag_test): Likewise.
26385 (clog_test): Likewise.
26386 (clog10_test): Likewise.
26387 (conj_test): Likewise.
26388 (copysign_test): Likewise.
26389 (cos_test): Likewise.
26390 (cos_test_tonearest): Likewise.
26391 (cos_test_towardzero): Likewise.
26392 (cos_test_downward): Likewise.
26393 (cos_test_upward): Likewise.
26394 (cosh_test): Likewise.
26395 (cosh_test_tonearest): Likewise.
26396 (cosh_test_towardzero): Likewise.
26397 (cosh_test_downward): Likewise.
26398 (cosh_test_upward): Likewise.
26399 (cpow_test): Likewise.
26400 (cproj_test): Likewise.
26401 (creal_test): Likewise.
26402 (csin_test): Likewise.
26403 (csinh_test): Likewise.
26404 (csqrt_test): Likewise.
26405 (ctan_test): Likewise.
26406 (ctan_test_tonearest): Likewise.
26407 (ctan_test_towardzero): Likewise.
26408 (ctan_test_downward): Likewise.
26409 (ctan_test_upward): Likewise.
26410 (ctanh_test): Likewise.
26411 (ctanh_test_tonearest): Likewise.
26412 (ctanh_test_towardzero): Likewise.
26413 (ctanh_test_downward): Likewise.
26414 (ctanh_test_upward): Likewise.
26415 (erf_test): Likewise.
26416 (erfc_test): Likewise.
26417 (exp_test): Likewise.
26418 (exp_test_tonearest): Likewise.
26419 (exp_test_towardzero): Likewise.
26420 (exp_test_downward): Likewise.
26421 (exp_test_upward): Likewise.
26422 (exp10_test): Likewise.
26423 (exp10_test_tonearest): Likewise.
26424 (exp10_test_towardzero): Likewise.
26425 (exp10_test_downward): Likewise.
26426 (exp10_test_upward): Likewise.
26427 (pow10_test): Likewise.
26428 (exp2_test): Likewise.
26429 (expm1_test): Likewise.
26430 (expm1_test_tonearest): Likewise.
26431 (expm1_test_towardzero): Likewise.
26432 (expm1_test_downward): Likewise.
26433 (expm1_test_upward): Likewise.
26434 (fabs_test): Likewise.
26435 (fdim_test): Likewise.
26436 (floor_test): Likewise.
26437 (fma_test): Likewise.
26438 (fma_test_towardzero): Likewise.
26439 (fma_test_downward): Likewise.
26440 (fma_test_upward): Likewise.
26441 (fmax_test): Likewise.
26442 (fmin_test): Likewise.
26443 (fmod_test): Likewise.
26444 (fpclassify_test): Likewise.
26445 (frexp_test): Likewise.
26446 (hypot_test): Likewise.
26447 (ilogb_test): Likewise.
26448 (isfinite_test): Likewise.
26449 (finite_test): Likewise.
26450 (isgreater_test): Likewise.
26451 (isgreaterequal_test): Likewise.
26452 (isinf_test): Likewise.
26453 (isless_test): Likewise.
26454 (islessequal_test): Likewise.
26455 (islessgreater_test): Likewise.
26456 (isnan_test): Likewise.
26457 (isnormal_test): Likewise.
26458 (issignaling_test): Likewise.
26459 (isunordered_test): Likewise.
26460 (j0_test): Likewise.
26461 (j1_test): Likewise.
26462 (jn_test): Likewise.
26463 (ldexp_test): Likewise.
26464 (lgamma_test): Likewise.
26465 (gamma_test): Likewise.
26466 (lrint_test): Likewise.
26467 (lrint_test_tonearest): Likewise.
26468 (lrint_test_towardzero): Likewise.
26469 (lrint_test_downward): Likewise.
26470 (lrint_test_upward): Likewise.
26471 (llrint_test): Likewise.
26472 (llrint_test_tonearest): Likewise.
26473 (llrint_test_towardzero): Likewise.
26474 (llrint_test_downward): Likewise.
26475 (llrint_test_upward): Likewise.
26476 (log_test): Likewise.
26477 (log10_test): Likewise.
26478 (log1p_test): Likewise.
26479 (log2_test): Likewise.
26480 (logb_test): Likewise.
26481 (logb_test_downward): Likewise.
26482 (lround_test): Likewise.
26483 (llround_test): Likewise.
26484 (modf_test): Likewise.
26485 (nearbyint_test): Likewise.
26486 (nextafter_test): Likewise.
26487 (nexttoward_test): Likewise.
26488 (pow_test): Likewise.
26489 (pow_test_tonearest): Likewise.
26490 (pow_test_towardzero): Likewise.
26491 (pow_test_downward): Likewise.
26492 (pow_test_upward): Likewise.
26493 (remainder_test): Likewise.
26494 (drem_test): Likewise.
26495 (remainder_test_tonearest): Likewise.
26496 (drem_test_tonearest): Likewise.
26497 (remainder_test_towardzero): Likewise.
26498 (drem_test_towardzero): Likewise.
26499 (remainder_test_downward): Likewise.
26500 (drem_test_downward): Likewise.
26501 (remainder_test_upward): Likewise.
26502 (drem_test_upward): Likewise.
26503 (remquo_test): Likewise.
26504 (rint_test): Likewise.
26505 (rint_test_tonearest): Likewise.
26506 (rint_test_towardzero): Likewise.
26507 (rint_test_downward): Likewise.
26508 (rint_test_upward): Likewise.
26509 (round_test): Likewise.
26510 (scalb_test): Likewise.
26511 (scalbn_test): Likewise.
26512 (scalbln_test): Likewise.
26513 (signbit_test): Likewise.
26514 (sin_test): Likewise.
26515 (sin_test_tonearest): Likewise.
26516 (sin_test_towardzero): Likewise.
26517 (sin_test_downward): Likewise.
26518 (sin_test_upward): Likewise.
26519 (sincos_test): Likewise.
26520 (sinh_test): Likewise.
26521 (sinh_test_tonearest): Likewise.
26522 (sinh_test_towardzero): Likewise.
26523 (sinh_test_downward): Likewise.
26524 (sinh_test_upward): Likewise.
26525 (sqrt_test): Likewise.
26526 (sqrt_test_tonearest): Likewise.
26527 (sqrt_test_towardzero): Likewise.
26528 (sqrt_test_downward): Likewise.
26529 (sqrt_test_upward): Likewise.
26530 (tan_test): Likewise.
26531 (tan_test_tonearest): Likewise.
26532 (tan_test_towardzero): Likewise.
26533 (tan_test_downward): Likewise.
26534 (tan_test_upward): Likewise.
26535 (tanh_test): Likewise.
26536 (tgamma_test): Likewise.
26537 (trunc_test): Likewise.
26538 (y0_test): Likewise.
26539 (y1_test): Likewise.
26540 (yn_test): Likewise.
26541 (significand_test): Likewise.
26542
26543 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
26544 individual tests in comment.
26545 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
26546 (prev_max_error): New variable.
26547 (prev_real_max_error): Likewise.
26548 (prev_imag_max_error): Likewise.
26549 (compare_ulp_data): Don't refer to test names in comment.
26550 (find_test_ulps): Remove function.
26551 (find_function_ulps): Likewise.
26552 (find_complex_function_ulps): Likewise.
26553 (init_max_error): Take function name as argument. Look up ulps
26554 for that function.
26555 (print_ulps): Remove function.
26556 (print_max_error): Use prev_max_error instead of calling
26557 find_function_ulps.
26558 (print_complex_max_error): Use prev_real_max_error and
26559 prev_imag_max_error instead of calling find_complex_function_ulps.
26560 (check_float_internal): Take max_ulp parameter instead of calling
26561 find_test_ulps. Don't call print_ulps.
26562 (check_float): Update call to check_float_internal.
26563 (check_complex): Update calls to check_float_internal.
26564 (START): Pass argument to init_max_error.
26565 * math/gen-libm-test.pl (%results): Don't include "kind"
26566 information.
26567 (parse_ulps): Don't handle ulps of individual tests.
26568 (print_ulps_file): Likewise.
26569 (output_ulps): Likewise.
26570 * math/README.libm-test: Update.
26571 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
26572 individual tests.
26573 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
26574 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
26575 * sysdeps/arm/libm-test-ulps: Likewise.
26576 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
26577 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
26578 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
26579 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
26580 * sysdeps/microblaze/libm-test-ulps: Likewise.
26581 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
26582 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26583 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26584 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
26585 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26586 * sysdeps/sh/libm-test-ulps: Likewise.
26587 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26588 * sysdeps/tile/libm-test-ulps: Likewise.
26589 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26590
26591 2014-03-04 Joseph Myers <joseph@codesourcery.com>
26592
26593 * math/libm-test.inc (print_complex_max_error): Check separately
26594 whether real and imaginary errors are within allowed range and
26595 pass 0 to print_complex_function_ulps instead of value within
26596 allowed range.
26597
26598 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26599
26600 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
26601 formatting.
26602 (get_handles_fopen): Likewise.
26603 (do_write_test): Likewise.
26604
26605 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
26606
26607 * libio/fileops.c (do_ftell): Use cached offset when
26608 available.
26609 * libio/iofwide.c (do_ftell_wide): Likewise.
26610 * libio/iofdopen.c (_IO_new_fdopen): Don't use
26611 _IO_file_attach.
26612 * libio/wfileops.c (_IO_fwide): Don't cache offset.
26613
26614 [BZ #16532]
26615 * libio/libioP.h (get_file_offset): New function.
26616 * libio/fileops.c (get_file_offset): Likewise.
26617 (do_ftell): Likewise.
26618 (_IO_new_file_seekoff): Split out ftell logic.
26619 * libio/wfileops.c (do_ftell_wide): Likewise.
26620 (_IO_wfile_seekoff): Split out ftell logic.
26621 * libio/tst-ftell-active-handler.c: New test case.
26622 * libio/Makefile (tests): Add it.
26623
26624 2014-03-03 Roland McGrath <roland@hack.frob.com>
26625
26626 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
26627 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
26628
26629 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
26630
26631 [BZ #16639]
26632 * nscd/connections.c (nscd_init): Call do_exit.
26633 (start_threads): Call do_exit and notify_parent.
26634 (begin_drop_privileges): Call do_exit.
26635 (finish_drop_privileges): Likewise.
26636 * nscd/selinux.c (preserve_capabilities): Likewise.
26637 (install_real_capabilities): Likewise.
26638 (nscd_selinux_enabled): Likewise.
26639 (avc_create_thread): Likewise.
26640 (avc_alloc_lock): Likewise.
26641 (nscd_avc_init): Likewise.
26642 * nscd/nscd.c (parent_fd): New static variable.
26643 (main): Create a pipe between parent and child processes.
26644 Skip closing parent_fd.
26645 (monitor_child): New function.
26646 (do_exit): Likewise.
26647 (notify_parent): Likewise.
26648 * nscd/nscd.h (notify_parent): Likewise.
26649 (do_exit): Likewise.
26650
26651 2014-03-03 Carlos O'Donell <carlos@redhat.com>
26652
26653 * malloc/malloc.c (__libc_calloc): Revert last change.
26654
26655 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26656
26657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26658
26659 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26660
26661 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
26662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
26663 implementation.
26664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
26665 (__libc_ifunc_impl_list): Likewise.
26666 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
26667 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
26668 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
26669 * string/strrchr.c: Define STRRCHR.
26670
26671 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
26672
26673 * benchtest/bench-strtok.c (simple_strtok): Delete.
26674 (strtok_string): Use as benchmark.
26675 * string/strtok (STRTOK): New macro.
26676
26677 2014-02-28 Carlos O'Donell <carlos@redhat.com>
26678
26679 * manual/threads.texi: Add header and standard comments to all
26680 functions.
26681
26682 * elf/dl-lookup.c (check_match): New function.
26683 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
26684 (do_lookup_x): Remove nested function check_match. Use non-nested
26685 function check_match.
26686
26687 2014-02-28 Roland McGrath <roland@hack.frob.com>
26688
26689 * csu/Makefile (generated, before-compile): Use += rather than =.
26690 * catgets/Makefile (generated, generated-dirs): Likewise.
26691 * debug/Makefile (generated): Likewise.
26692 * dlfcn/Makefile (generated): Likewise.
26693 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
26694 * iconvdata/Makefile (before-compile, generated): Likewise.
26695 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
26696 * libio/Makefile (generated): Likewise.
26697 * malloc/Makefile (generated): Likewise.
26698 * manual/Makefile (generated, generated-dirs): Likewise.
26699 * misc/Makefile (generated): Likewise.
26700 * posix/Makefile (generated): Likewise.
26701 * resolv/Makefile (generated): Likewise.
26702 * sunrpc/Makefile (generated, generated-dirs): Likewise.
26703 * timezone/Makefile (generated, generated-dirs): Likewise.
26704
26705 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
26706
26707 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26708
26709 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
26710 power8 implementation.
26711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
26712 file: POWER8 llround ifunc implementation.
26713 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
26714 (__lllround): Add POWER8 implementation.
26715 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
26716 POWER8 llround implementation.
26717
26718 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
26719 power8 implementation.
26720 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
26721 file: POWER8 llrint ifunc implementation.
26722 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
26723 Add POWER8 implementation.
26724 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
26725 POWER8 llrint implementation.
26726
26727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
26728 power8 implementation.
26729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
26730 file: POWER8 finite ifunc implementation.
26731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
26732 Add POWER8 implementation.
26733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
26734 Likewise.
26735 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
26736 POWER8 finite implementation.
26737 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
26738
26739 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
26740 power8 implementation.
26741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
26742 file: POWER8 isinf ifunc implementation.
26743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
26744 POWER8 implementation.
26745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
26746 Likewise.
26747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
26748 isinf implementation.
26749 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
26750
26751 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
26752 (INIT_ARCH): Add hwcap2 initialization.
26753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
26754 power8 implementation.
26755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
26756 file: POWER8 isnan ifunc implementation.
26757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
26758 POWER8 implementation.
26759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
26760 Likewise.
26761 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
26762 isnan implementation.
26763 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
26764
26765 2014-02-27 Joey Ye <joey.ye@arm.com>
26766
26767 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
26768 (_FP_NANFRAC_Q): Set to zero.
26769
26770 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
26771
26772 [BZ #16623]
26773 * math/auto-libm-test-in: New test inputs.
26774 * math/auto-libm-test-out: Regenerate.
26775 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
26776 and DA.
26777 (__cos): Likewise.
26778 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
26779
26780 2014-02-27 Joseph Myers <joseph@codesourcery.com>
26781
26782 * scripts/evaluate-test.sh: Take new argument indicating whether
26783 failure is expected.
26784 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
26785 indicating whether failure is expected.
26786 * conform/Makefile (test-xfail-run-conformtest): New variable.
26787 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
26788 level.
26789 * posix/Makefile (test-xfail-annexc): New variable.
26790 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
26791
26792 2014-02-26 Joseph Myers <joseph@codesourcery.com>
26793
26794 * argp/Makefile: Include Makeconfig immediately after defining
26795 subdir.
26796 * assert/Makefile: Likewise.
26797 * benchtests/Makefile: Likewise.
26798 * catgets/Makefile: Likewise.
26799 * conform/Makefile: Likewise.
26800 * crypt/Makefile: Likewise.
26801 * csu/Makefile: Likewise.
26802 (all): Remove target.
26803 * ctype/Makefile: Include Makeconfig immediately after defining
26804 subdir.
26805 * debug/Makefile: Likewise.
26806 * dirent/Makefile: Likewise.
26807 * dlfcn/Makefile: Likewise.
26808 * gmon/Makefile: Likewise.
26809 * gnulib/Makefile: Likewise.
26810 * grp/Makefile: Likewise.
26811 * gshadow/Makefile: Likewise.
26812 * hesiod/Makefile: Likewise.
26813 * hurd/Makefile: Likewise.
26814 (all): Remove target.
26815 * iconvdata/Makefile: Include Makeconfig immediately after
26816 defining subdir.
26817 * inet/Makefile: Likewise.
26818 * intl/Makefile: Likewise.
26819 * io/Makefile: Likewise.
26820 * libio/Makefile: Likewise.
26821 (all): Remove target.
26822 * locale/Makefile: Include Makeconfig immediately after defining
26823 subdir.
26824 * login/Makefile: Likewise.
26825 * mach/Makefile: Likewise.
26826 (all): Remove target.
26827 * malloc/Makefile: Include Makeconfig immediately after defining
26828 subdir.
26829 (all): Remove target.
26830 * manual/Makefile: Include Makeconfig immediately after defining
26831 subdir.
26832 * math/Makefile: Likewise.
26833 * misc/Makefile: Likewise.
26834 * nis/Makefile: Likewise.
26835 * nss/Makefile: Likewise.
26836 * po/Makefile: Likewise.
26837 (all): Remove target.
26838 * posix/Makefile: Include Makeconfig immediately after defining
26839 subdir.
26840 * pwd/Makefile: Likewise.
26841 * resolv/Makefile: Likewise.
26842 * resource/Makefile: Likewise.
26843 * rt/Makefile: Likewise.
26844 * setjmp/Makefile: Likewise.
26845 * shadow/Makefile: Likewise.
26846 * signal/Makefile: Likewise.
26847 * socket/Makefile: Likewise.
26848 * soft-fp/Makefile: Likewise.
26849 * stdio-common/Makefile: Likewise.
26850 * stdlib/Makefile: Likewise.
26851 * streams/Makefile: Likewise.
26852 * string/Makefile: Likewise.
26853 * sunrpc/Makefile: Likewise.
26854 (all): Remove target.
26855 * sysvipc/Makefile: Include Makeconfig immediately after defining
26856 subdir.
26857 * termios/Makefile: Likewise.
26858 * time/Makefile: Likewise.
26859 * timezone/Makefile: Likewise.
26860 (all): Remove target.
26861 * wcsmbs/Makefile: Include Makeconfig immediately after defining
26862 subdir.
26863 * wctype/Makefile: Likewise.
26864
26865 2014-02-26 Steve Ellcey <sellcey@mips.com>
26866
26867 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
26868 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
26869 (libc_feholdexcept_setround_mips): Ditto.
26870 (libc_feholdsetround): New.
26871 (libc_feholdsetroundf): New.
26872 (libc_feholdsetroundl): New.
26873 (libc_feupdateenv_test_mips): New.
26874 (libc_feupdateenv_test): New.
26875 (libc_feupdateenv_testf): New.
26876 (libc_feupdateenv_testl): New.
26877 (libc_feresetround): New.
26878 (libc_feresetroundf): New.
26879 (libc_feresetroundl): New.
26880 (libc_fetestexcept_mips): New.
26881 (libc_fetestexcept): New.
26882 (libc_fetestexceptf): New.
26883 (libc_fetestexceptl): New.
26884 (HAVE_RM_CTX): New.
26885 (libc_feholdexcept_setround_mips_ctx): New.
26886 (libc_feholdexcept_setround_ctx): New.
26887 (libc_feholdexcept_setroundf_ctx): New.
26888 (libc_feholdexcept_setroundl_ctx): New.
26889 (libc_fesetenv_mips_ctx): New.
26890 (libc_fesetenv_ctx): New.
26891 (libc_fesetenv_ctxf): New.
26892 (libc_fesetenv_ctxl): New.
26893 (libc_feupdateenv_mips_ctx): New.
26894 (libc_feupdateenv_ctx): New.
26895 (libc_feupdateenvf_ctx): New.
26896 (libc_feupdateenvl_ctx): New.
26897 (libc_feholdsetround_mips_ctx): New.
26898 (libc_feholdsetround_ctx): New.
26899 (libc_feholdsetroundf_ctx): New.
26900 (libc_feholdsetroundl_ctx): New.
26901 (libc_feresetround_mips_ctx): New.
26902 (libc_feresetround_ctx): New.
26903 (libc_feresetroundf_ctx): New.
26904 (libc_feresetroundl_ctx): New.
26905
26906 2014-02-26 Carlos O'Donell <carlos@redhat.com>
26907
26908 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
26909
26910 * manual/ipc.texi: New file.
26911 * manual/Makefile (chapters): Add ipc.
26912 * manual/job.texi: Add "Inter-Process Communication" to next.
26913 * manual/process.texi: Add "Inter-Process Communication" to prev.
26914
26915 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26916
26917 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26918
26919 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
26920
26921 * malloc/malloc.c (__libc_calloc): Simplify implementation.
26922
26923 * manual/arith.texi: Fix spaces after sentences.
26924 * manual/charset.texi: Likewise.
26925 * manual/errno.texi: Likewise.
26926 * manual/install.texi: Likewise.
26927 * manual/llio.texi: Likewise.
26928 * manual/locale.texi: Likewise.
26929 * manual/maint.texi: Likewise.
26930 * manual/math.texi: Likewise.
26931 * manual/memory.texi: Likewise.
26932 * manual/message.texi: Likewise.
26933 * manual/probes.texi: Likewise.
26934 * manual/resource.texi: Likewise.
26935 * manual/signal.texi: Likewise.
26936 * manual/socket.texi: Likewise.
26937 * manual/stdio.texi: Likewise.
26938 * manual/string.texi: Likewise.
26939 * manual/time.texi: Likewise.
26940 * manual/users.texi: Likewise.
26941
26942 2014-02-25 Carlos O'Donell <carlos@redhat.com>
26943
26944 [BZ #16632]
26945 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
26946 _DEFAULT_SOURCE is defined.
26947
26948 2014-02-25 Ulrich Drepper <drepper@gmail.com>
26949 Carlos O'Donell <carlos@redhat.com>
26950
26951 [BZ #16613]
26952 * elf/dl-tls.c (_dl_count_modids): New function.
26953 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
26954 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
26955 audit library and increment generation counter.
26956 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
26957 * elf/tst-audit9.c: New file.
26958 * elf/tst-auditmod9a.c: New file.
26959 * elf/tst-auditmod9b.c: New file.
26960 * elf/Makefile: Add rules to build and run tst-audit9.
26961
26962 2014-02-25 Florian Weimer <fweimer@redhat.com>
26963
26964 [BZ #15347]
26965 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
26966
26967 2014-02-25 Will Newton <will.newton@linaro.org>
26968
26969 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
26970 (__longjmp): Restore sp and lr before restoring callee
26971 saved registers. Add longjmp and longjmp_target
26972 SystemTap probe point.
26973 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
26974 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
26975 Define to zero to match jmpbuf layout.
26976 * sysdeps/arm/setjmp.S: Include stap-probe.h.
26977 (__sigsetjmp): Save sp and lr before saving callee
26978 saved registers. Add setjmp SystemTap probe point.
26979
26980 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
26981
26982 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
26983
26984 2014-02-24 Andreas Schwab <schwab@suse.de>
26985
26986 [BZ #15804]
26987 * elf/pldd.c (wait_for_ptrace_stop): New function.
26988 (main): Call it after attaching.
26989
26990 2014-02-22 Roland McGrath <roland@hack.frob.com>
26991
26992 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
26993 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
26994 Versions files is now verboten.
26995 * hurd/Versions (libc: GLIBC_2.0):
26996 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
26997 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
26998 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
26999 * mach/Versions: Likewise.
27000
27001 * csu/Versions: Remove unused %include.
27002 * resolv/Versions: Likewise.
27003
27004 2014-02-21 Joseph Myers <joseph@codesourcery.com>
27005
27006 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
27007 ($(objpfx)check-local-headers.out): Likewise.
27008 ($(objpfx)begin-end-check.out): Likewise.
27009 * Makerules (check-abi-%.out): Likewise.
27010 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
27011 ($(objpfx)test2.cat): Likewise.
27012 ($(objpfx)de/libc.cat): Likewise.
27013 ($(objpfx)test-gencat.out): Likewise.
27014 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
27015 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
27016 ($(objpfx)noload-mem): Likewise.
27017 ($(objpfx)tst-pathopt.out): Likewise.
27018 ($(objpfx)tst-rtld-load-self.out): Likewise.
27019 ($(objpfx)tst-array1-cmp.out): Likewise.
27020 ($(objpfx)tst-array1-static-cmp.out): Likewise.
27021 ($(objpfx)tst-array2-cmp.out): Likewise.
27022 ($(objpfx)tst-array3-cmp.out): Likewise.
27023 ($(objpfx)tst-array4-cmp.out): Likewise.
27024 ($(objpfx)tst-array5-cmp.out): Likewise.
27025 ($(objpfx)tst-array5-static-cmp.out): Likewise.
27026 ($(objpfx)check-textrel.out): Likewise.
27027 ($(objpfx)check-execstack.out): Likewise.
27028 ($(objpfx)check-localplt.out): Likewise.
27029 ($(objpfx)order2-cmp.out): Likewise.
27030 ($(objpfx)tst-leaks1-mem): Likewise.
27031 ($(objpfx)tst-leaks1-static-mem): Likewise.
27032 ($(objpfx)tst-initorder-cmp.out): Likewise.
27033 ($(objpfx)tst-initorder2-cmp.out): Likewise.
27034 ($(objpfx)tst-unused-dep.out): Likewise.
27035 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
27036 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
27037 * iconv/Makefile (test-iconvconfig): Likewise.
27038 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
27039 ($(objpfx)iconv-test.out): Likewise.
27040 ($(objpfx)tst-tables.out): Likewise.
27041 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
27042 ($(objpfx)tst-gettext.out): Likewise.
27043 ($(objpfx)tst-translit.out): Likewise.
27044 ($(objpfx)tst-gettext2.out): Likewise.
27045 ($(objpfx)tst-gettext4.out): Likewise.
27046 ($(objpfx)tst-gettext6.out): Likewise.
27047 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
27048 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
27049 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
27050 ($(objpfx)tst-fopenloc-mem.out): Likewise.
27051 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
27052 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
27053 * posix/Makefile ($(objpfx)globtest.out): Likewise.
27054 ($(objpfx)wordexp-tst.out): Likewise.
27055 ($(objpfx)annexc.out): Likewise.
27056 ($(objpfx)tst-fnmatch-mem): Likewise.
27057 ($(objpfx)bug-regex2-mem): Likewise.
27058 ($(objpfx)bug-regex14-mem): Likewise.
27059 ($(objpfx)bug-regex21-mem): Likewise.
27060 ($(objpfx)bug-regex31-mem): Likewise.
27061 ($(objpfx)tst-vfork3-mem): Likewise.
27062 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
27063 ($(objpfx)tst-pcre-mem): Likewise.
27064 ($(objpfx)tst-boost-mem): Likewise.
27065 ($(objpfx)tst-getconf.out): Likewise.
27066 ($(objpfx)bug-ga2-mem): Likewise.
27067 ($(objpfx)bug-glob2-mem): Likewise.
27068 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
27069 ($(objpfx)mtrace-tst-leaks2): Likewise.
27070 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
27071 ($(objpfx)tst-printf.out): Likewise.
27072 ($(objpfx)tst-setvbuf1.out): Likewise.
27073 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
27074 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
27075 ($(objpfx)tst-fmtmsg.out): Likewise.
27076 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
27077 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
27078
27079 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
27080 * bits/sigaction.h [__USE_MISC]: Likewise.
27081 * bits/waitstatus.h: Update #endif comments.
27082 * ctype/ctype.h: Likewise.
27083 * dirent/dirent.h: Likewise.
27084 [__USE_MISC]: Remove redundant conditionals.
27085 * grp/grp.h: Update #endif comments.
27086 [__USE_GNU]: Remove redundant conditionals.
27087 [__USE_MISC]: Likewise.
27088 * inet/netinet/in.h [__USE_GNU]: Likewise.
27089 * io/sys/stat.h [__USE_MISC]: Likewise.
27090 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
27091 * libio/bits/stdio.h: Update #endif comments.
27092 [__USE_MISC]: Remove redundant conditionals.
27093 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
27094 * libio/stdio.h: Update #endif comments.
27095 [__USE_MISC]: Remove redundant conditionals.
27096 * math/bits/math-finite.h [__USE_MISC]: Likewise.
27097 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
27098 * math/math.h: Update #else and #endif comments.
27099 [__USE_MISC]: Remove redundant conditionals.
27100 * misc/sys/uio.h: Update #endif comments.
27101 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
27102 * posix/glob.h [__USE_MISC]: Likewise.
27103 * posix/sys/types.h: Update #endif comments.
27104 [__USE_MISC]: Remove redundant conditionals.
27105 * posix/sys/wait.h: Update #endif comments.
27106 [__USE_MISC]: Remove redundant conditionals.
27107 * posix/unistd.h: Update #endif comments.
27108 [__USE_MISC]: Remove redundant conditionals.
27109 * pwd/pwd.h [__USE_GNU]: Likewise.
27110 [__USE_MISC]: Likewise.
27111 * resolv/netdb.h [__USE_GNU]: Likewise.
27112 * signal/signal.h: Update #endif comments.
27113 [__USE_MISC]: Remove redundant conditionals.
27114 * stdlib/stdlib.h: Update #else and #endif comments.
27115 [__USE_MISC]: Remove redundant conditionals.
27116 [__USE_GNU]: Likewise.
27117 * string/bits/string2.h [__USE_MISC]: Likewise.
27118 * string/string.h: Update #endif comments.
27119 [__USE_MISC]: Remove redundant conditionals.
27120 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
27121 Likewise.
27122 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
27123 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
27124 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
27125 Likewise.
27126 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
27127 Likewise.
27128 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
27129 comments.
27130 [__USE_MISC]: Remove redundant conditionals.
27131 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
27132 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
27133 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
27134 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
27135 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
27136 Likewise.
27137 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
27138 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
27139 Likewise.
27140 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
27141 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
27142 Likewise.
27143 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
27144 Likewise.
27145 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
27146 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
27147 Likewise.
27148 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
27149 Likewise.
27150 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
27151 * sysdeps/x86/bits/string.h: Update #endif comments.
27152 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
27153 conditionals.
27154 * time/sys/time.h: Update #endif comments.
27155 * time/time.h: Likewise.
27156 [__USE_MISC]: Remove redundant conditionals.
27157
27158 2014-02-21 Yury Gribov <y.gribov@samsung.com>
27159
27160 [BZ #16600]
27161 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
27162
27163 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
27164
27165 * Versions.def (librt): Add GLIBC_2.17.
27166
27167 2014-02-21 Adam Conrad <adconrad@0c3.net>
27168
27169 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
27170 synonym for _SYS_AUXV_H to allow direct inclusion.
27171 * sysdeps/sparc/bits/hwcap.h: Likewise.
27172 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
27173 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
27174 * sysdeps/sparc/sysdep.h: Likewise.
27175
27176 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27177
27178 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
27179
27180 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27181
27182 * benchtests/bench-strrchr.c: Print length instead of position.
27183
27184 2014-02-20 Joseph Myers <joseph@codesourcery.com>
27185
27186 [BZ #16611]
27187 * sysdeps/unix/sysv/linux/kernel-features.h
27188 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
27189 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
27190 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
27191 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
27192 Likewise.
27193 [__i386__ || __powerpc__ || __sh__ || __sparc__]
27194 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27195 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
27196 (__ASSUME_SENDMMSG): Define instead of using previous
27197 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
27198 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27199 (__ASSUME_SENDMMSG_SYSCALL): Define.
27200 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27201 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
27202 Likewise.
27203 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27204 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27205 Likewise.
27206 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27207 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27208 Likewise.
27209 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
27210 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27211 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27212 [__ASSUME_SENDMMSG]: Change conditionals to
27213 [__ASSUME_SENDMMSG_SOCKETCALL].
27214 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27215 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
27216 Define.
27217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
27218 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
27219 Likewise.
27220 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
27221 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
27222 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
27223 [!__ASSUME_SENDMMSG]: Change conditional to
27224 [!__ASSUME_SENDMMSG_SOCKETCALL].
27225 * sysdeps/unix/sysv/linux/tile/kernel-features.h
27226 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
27227 Define.
27228
27229 [BZ #16610]
27230 * sysdeps/unix/sysv/linux/kernel-features.h
27231 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
27232 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
27233 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
27234 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
27235 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
27236 [__i386__ || __sparc__]
27237 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27238 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
27239 (__ASSUME_RECVMMSG): Define instead of using previous
27240 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
27241 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27242 (__ASSUME_RECVMMSG_SYSCALL): Define.
27243 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27244 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27245 Likewise.
27246 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27247 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27248 Likewise.
27249 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27250 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27251 Likewise.
27252 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
27253 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27254 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27255 [__ASSUME_RECVMMSG]: Change condition to
27256 [__ASSUME_RECVMMSG_SOCKETCALL].
27257 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27258 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27259 Define.
27260 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
27261 * sysdeps/unix/sysv/linux/mips/kernel-features.h
27262 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
27263 Likewise.
27264 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
27265 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
27266 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
27267 [!__ASSUME_RECVMMSG]: Change condition to
27268 [!__ASSUME_RECVMMSG_SOCKETCALL].
27269 * sysdeps/unix/sysv/linux/tile/kernel-features.h
27270 (__ASSUME_RECVMMSG_SYSCALL): Define.
27271
27272 [BZ #16609]
27273 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
27274 __powerpc__ || __s390__ || __sh__ || __sparc__]
27275 (__ASSUME_SOCKETCALL): Define.
27276 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
27277 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
27278 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
27279 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
27280 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
27281 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
27282 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
27283 (__ASSUME_ACCEPT4): Define instead of using previous
27284 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
27285 __powerpc__ || __sparc__ || __s390__)] condition.
27286 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27287 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27288 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
27289 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27290 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27291 [!__ASSUME_ACCEPT4]: Change condition to
27292 [!__ASSUME_ACCEPT4_SOCKETCALL].
27293 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
27294 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
27295 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
27296 * sysdeps/unix/sysv/linux/arm/kernel-features.h
27297 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
27298 __ASSUME_ACCEPT4_SYSCALL.
27299 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
27300 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
27301 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
27302 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
27303 __ASSUME_ACCEPT4_SYSCALL.
27304 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
27305 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
27306 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
27307 [__ASSUME_ACCEPT4]: Change condition to
27308 [__ASSUME_ACCEPT4_SOCKETCALL].
27309 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
27310 (__ASSUME_SOCKETCALL): Define.
27311 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
27312 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
27313 (__ASSUME_SOCKETCALL): Define.
27314 (__ASSUME_ACCEPT4): Remove.
27315 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
27316 Define.
27317 * sysdeps/unix/sysv/linux/mips/kernel-features.h
27318 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
27319 Likewise.
27320 * sysdeps/unix/sysv/linux/tile/kernel-features.h
27321 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
27322
27323 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
27324 macro.
27325 (HWCAP_ARM_LPAE): Likewise.
27326 (HWCAP_ARM_EVTSTRM): Likewise.
27327 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
27328 Add vpfd32, lpae and evtstrm.
27329 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
27330 Increase to 22.
27331
27332 2014-02-19 Joseph Myers <joseph@codesourcery.com>
27333
27334 * math/auto-libm-test-in: Add tests of clog10.
27335 * math/auto-libm-test-out: Regenerated.
27336 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
27337 * sysdeps/i386/fpu/libm-test-ulps: Update.
27338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27339
27340 2014-02-18 Andreas Schwab <schwab@suse.de>
27341
27342 [BZ #16574]
27343 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
27344 Store non-zero if the second buffer was newly allocated.
27345 (send_dg): Likewise.
27346 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
27347 to send_vc and send_dg.
27348 (res_nsend): Pass NULL for ansp2_malloced.
27349 * resolv/res_query.c (__libc_res_nquery): Add parameter
27350 answerp2_malloced and pass it down to __libc_res_nsend.
27351 (res_nquery): Pass additional NULL to __libc_res_nquery.
27352 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
27353 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
27354 second answer buffer if answerp2_malloced was set.
27355 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
27356 (__libc_res_nquerydomain): Add parameter
27357 answerp2_malloced and pass it down to __libc_res_nquery.
27358 (res_nquerydomain): Pass additional NULL to
27359 __libc_res_nquerydomain.
27360 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
27361 additional NULL to __libc_res_nsend and __libc_res_nquery.
27362 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
27363 additional NULL to __libc_res_nsearch.
27364 (_nss_dns_gethostbyname4_r): Revert last change. Use new
27365 parameter of __libc_res_nsearch to check for separately allocated
27366 second buffer.
27367 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
27368 __libc_res_nquery.
27369 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
27370 additional NULL to __libc_res_nquery.
27371 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
27372 __libc_res_nsearch.
27373 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
27374 * include/resolv.h: Update prototypes of __libc_res_nquery,
27375 __libc_res_nsearch, __libc_res_nsend.
27376
27377 2014-02-18 Joseph Myers <joseph@codesourcery.com>
27378
27379 * math/auto-libm-test-in: Add tests of fma.
27380 * math/auto-libm-test-out: Regenerated.
27381 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
27382 (fma_towardzero_test_data): Likewise.
27383 (fma_downward_test_data): Likewise.
27384 (fma_upward_test_data): Likewise.
27385 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
27386 mpc_mode.
27387 (rounding_modes): Add values for new field.
27388 (func_calc_method): Add value mpfr_fff_f.
27389 (func_calc_desc): Add mpfr_fff_f union field.
27390 (test_function): Add field exact_args.
27391 (FUNC): Add macro argument EXACT_ARGS.
27392 (FUNC_mpfr_f_f): Update call to FUNC.
27393 (FUNC_mpfr_f_f): Likewise.
27394 (FUNC_mpfr_ff_f): Likewise.
27395 (FUNC_mpfr_if_f): Likewise.
27396 (FUNC_mpc_c_f): Likewise.
27397 (FUNC_mpc_c_c): Likewise.
27398 (test_functions): Add fma. Update calls to FUNC.
27399 (handle_input_arg): Add argument exact_args.
27400 (add_test): Update call to handle_input_arg.
27401 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
27402 (output_for_one_input_case): Update call to calc_generic_results.
27403 Recalculate exact zero results in each rounding mode.
27404
27405 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
27406 non-negative before setting low bit.
27407 * math/auto-libm-test-in: Mark one asin test possibly having
27408 spurious underflow.
27409 * math/auto-libm-test-out: Regenerated.
27410 * sysdeps/i386/fpu/libm-test-ulps: Update.
27411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27412
27413 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
27414
27415 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
27416 * sysdeps/unix/sysv/linux/microblaze: Move directory from
27417 ports/sysdeps/unix/sysv/linux/microblaze.
27418 * README: Add missing listing for microblaze*-*-linux-gnu.
27419
27420 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
27421
27422 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
27423 duplicate code
27424
27425 2014-02-16 Mike Frysinger <vapier@gentoo.org>
27426
27427 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
27428 * sysdeps/unix/sysv/linux/ia64: Move directory from
27429 ports/sysdeps/unix/sysv/linux/ia64.
27430 * README: Update listing for ia64-*-linux-gnu.
27431
27432 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
27433 Joseph Myers <joseph@codesourcery.com>
27434
27435 * Makeconfig (test-name): New variable.
27436 (evaluate-test): Likewise.
27437 * Makerules (do-test-clean): Remove .test-result files.
27438 (common-mostlyclean): Likewise.
27439 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
27440 * scripts/evaluate-test.sh: New file.
27441
27442 2014-02-14 Joseph Myers <joseph@codesourcery.com>
27443
27444 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
27445 separate $(objpfx)tst-fopenloc-cmp.out and
27446 $(objpfx)tst-fopenloc-mem.out targets.
27447 (tests): Update dependencies.
27448 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
27449 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
27450 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
27451 (tst-rxspencer-no-utf8-ARGS): New variable.
27452 (tst-rxspencer-no-utf8-ENV): Likewise.
27453 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
27454 instead of $(objpfx)tst-rxspencer-mem.
27455 ($(objpfx)tst-rxspencer-mem): Change target to
27456 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
27457 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
27458 * posix/tst-rxspencer-no-utf8.c: New file.
27459
27460 * elf/Makefile ($(objpfx)order.out): Remove rule.
27461 [$(run-built-tests) = yes] (tests): Depend on
27462 $(objpfx)order-cmp.out.
27463 ($(objpfx)order-cmp.out): New rule.
27464 [$(run-built-tests) = yes] (tests): Depend on
27465 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
27466 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
27467 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
27468 $(objpfx)tst-array5-static-cmp.out.
27469 ($(objpfx)tst-array1.out): Remove rule.
27470 ($(objpfx)tst-array1-cmp.out): New rule.
27471 ($(objpfx)tst-array1-static.out): Remove rule.
27472 ($(objpfx)tst-array1-static-cmp.out): New rule.
27473 ($(objpfx)tst-array2.out): Remove rule.
27474 ($(objpfx)tst-array2-cmp.out): New rule.
27475 ($(objpfx)tst-array3.out): Remove rule.
27476 ($(objpfx)tst-array3-cmp.out): New rule.
27477 ($(objpfx)tst-array4.out): Remove rule.
27478 ($(objpfx)tst-array4-cmp.out): New rule.
27479 ($(objpfx)tst-array5.out): Remove rule.
27480 ($(objpfx)tst-array5-cmp.out): New rule.
27481 ($(objpfx)tst-array5-static.out): Remove rule.
27482 ($(objpfx)tst-array5-static-cmp.out): New rule.
27483 [$(run-built-tests) = yes] (tests): Depend on
27484 $(objpfx)order2-cmp.out.
27485 ($(objpfx)order2.out): Remove rule.
27486 ($(objpfx)order2-cmp.out): New rule.
27487 ($(objpfx)tst-initorder.out): Remove rule.
27488 [$(run-built-tests) = yes] (tests): Depend on
27489 $(objpfx)tst-initorder-cmp.out.
27490 ($(objpfx)tst-initorder-cmp.out): New rule.
27491 ($(objpfx)tst-initorder2.out): Remove rule.
27492 [$(run-built-tests) = yes] (tests): Depend on
27493 $(objpfx)tst-initorder2-cmp.out.
27494 ($(objpfx)tst-initorder2-cmp.out): New rule.
27495 [$(run-built-tests) = yes] (tests): Depend on
27496 $(objpfx)tst-unused-dep-cmp.out.
27497 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
27498 ($(objpfx)tst-unused-dep-cmp.out): New rule.
27499 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
27500 on $(objpfx)tst-setvbuf1-cmp.out.
27501 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
27502 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
27503 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
27504 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
27505 ($(objpfx)tst-svc.out): Remove rule.
27506 ($(objpfx)tst-svc-cmp.out): New rule.
27507
27508 2014-02-13 Joseph Myers <joseph@codesourcery.com>
27509
27510 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
27511 * ctype/ctype.h [__USE_MISC]: Likewise.
27512 * dirent/dirent.h [__USE_MISC]: Likewise.
27513 * grp/grp.h [__USE_MISC]: Likewise.
27514 * io/fcntl.h [__USE_MISC]: Likewise.
27515 * io/sys/stat.h [__USE_MISC]: Likewise.
27516 * libio/stdio.h [__USE_MISC]: Likewise.
27517 * posix/unistd.h [__USE_MISC]: Likewise.
27518 * pwd/pwd.h [__USE_MISC]: Likewise.
27519 * stdlib.h [__USE_MISC]: Likewise.
27520 * string/bits/string2.h [__USE_MISC]: Likewise.
27521 * string/string.h [__USE_MISC]: Likewise.
27522 * time/time.h [__USE_MISC]: Likewise.
27523
27524 2014-02-13 Andreas Schwab <schwab@suse.de>
27525
27526 [BZ #16574]
27527 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
27528 second answer buffer if it was separately allocated.
27529
27530 2014-02-12 Joseph Myers <joseph@codesourcery.com>
27531
27532 * sysdeps/mips/math-tests.h: Include <features.h>.
27533 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27534 (ROUNDING_TESTS_long_double): Do not define.
27535 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
27536 (EXCEPTION_TESTS_long_double): Likewise.
27537 * sysdeps/mips/mips64/libm-test-ulps: Update.
27538
27539 * include/features.h (__USE_BSD): Remove macro definitions.
27540 (__USE_SVID): Likewise.
27541 (_BSD_SOURCE): Likewise.
27542 (_SVID_SOURCE): Likewise.
27543 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
27544 from definition of _DEFAULT_SOURCE.
27545 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
27546 [_DEFAULT_SOURCE].
27547 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
27548 * bits/mman.h [__USE_BSD]: Likewise.
27549 * bits/termios.h [__USE_BSD]: Likewise.
27550 * bits/waitstatus.h [__USE_BSD]: Likewise.
27551 * ctype/ctype.h [__USE_SVID]: Likewise.
27552 * dirent/dirent.h [__USE_BSD]: Likewise.
27553 * grp/grp.h [__USE_SVID]: Likewise.
27554 [__USE_BSD]: Likewise.
27555 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
27556 * io/fcntl.h [__USE_BSD]: Likewise.
27557 * io/ftw.h [__USE_BSD]: Likewise.
27558 * io/sys/stat.h [__USE_BSD]: Likewise.
27559 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
27560 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
27561 * libio/stdio.h [__USE_SVID]: Likewise.
27562 [__USE_BSD]: Likewise.
27563 * math/math.h [__USE_SVID]: Likewise.
27564 [__USE_BSD]: Likewise.
27565 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
27566 * misc/bits/syslog.h [__USE_BSD]: Likewise.
27567 * misc/search.h [__USE_SVID]: Likewise.
27568 * misc/sys/mman.h [__USE_BSD]: Likewise.
27569 * misc/sys/syslog.h [__USE_BSD]: Likewise.
27570 * misc/sys/uio.h [__USE_BSD]: Likewise.
27571 * posix/bits/unistd.h [__USE_BSD]: Likewise.
27572 * posix/glob.h [__USE_BSD]: Likewise.
27573 * posix/regex.h [__USE_BSD]: Likewise.
27574 * posix/sys/types.h [__USE_BSD]: Likewise.
27575 [__USE_SVID]: Likewise.
27576 * posix/sys/utsname.h [__USE_SVID]: Likewise.
27577 * posix/sys/wait.h [__USE_BSD]: Likewise.
27578 [__USE_SVID]: Likewise.
27579 * posix/unistd.h [__USE_BSD]: Likewise.
27580 [__USE_SVID]: Likewise.
27581 * pwd/pwd.h [__USE_SVID]: Likewise.
27582 * resolv/netdb.h [__USE_BSD]: Likewise.
27583 * setjmp/setjmp.h [__USE_BSD]: Likewise.
27584 * signal/signal.h [__USE_BSD]: Likewise.
27585 [__USE_SVID]: Likewise.
27586 * socket/sys/socket.h [__USE_BSD]: Likewise.
27587 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
27588 * stdlib/stdlib.h [__USE_BSD]: Likewise.
27589 [__USE_SVID]: Likewise.
27590 * string/bits/string2.h [__USE_BSD]: Likewise.
27591 [__USE_SVID]: Likewise.
27592 * string/bits/string3.h [__USE_BSD]: Likewise.
27593 * string/endian.h [__USE_BSD]: Likewise.
27594 * string/string.h [__USE_SVID]: Likewise.
27595 [__USE_BSD]: Likewise.
27596 * string/strings.h [__USE_BSD]: Likewise.
27597 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
27598 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
27599 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
27600 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
27601 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
27602 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
27603 Likewise.
27604 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
27605 Likewise.
27606 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
27607 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
27608 Likewise.
27609 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
27610 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
27611 Likewise.
27612 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
27613 Likewise.
27614 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
27615 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
27616 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
27617 Likewise.
27618 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
27619 Likewise.
27620 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
27621 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
27622 * termios/termios.h [__USE_BSD]: Likewise.
27623 * time/sys/time.h [__USE_BSD]: Likewise.
27624 * time/time.h [__USE_BSD]: Likewise.
27625 [__USE_SVID]: Likewise.
27626
27627 * Makefile (subdir_targets): Remove subdir_lint.out.
27628
27629 * stdio-common/Makefile (do-tst-unbputc): Remove target.
27630 (do-tst-printf): Likewise.
27631 (tests): Depend directly on $(objpfx)tst-unbputc.out and
27632 $(objpfx)tst-printf.out.
27633
27634 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
27635
27636 * Makerules (check-abi-%): Change target to
27637 $(objpfx)check-abi-%.out.
27638 (check-abi target): Update dependencies.
27639 (check-abi-pattern variable): Redirect output of diff to $@.
27640 (check-abi variable): Likewise.
27641 * elf/Makefile (check-abi): Update dependencies.
27642
27643 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
27644 unused.
27645 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
27646 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
27647 subnormal range.
27648 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
27649 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
27650 value has largest subnormal exponent.
27651 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
27652 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
27653 * sysdeps/aarch64/soft-fp/sfp-machine.h
27654 (_FP_TININESS_AFTER_ROUNDING): New macro.
27655 * sysdeps/alpha/soft-fp/sfp-machine.h
27656 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27657 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27658 Likewise.
27659 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
27660 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27661 * sysdeps/mips/soft-fp/sfp-machine.h
27662 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27663 * sysdeps/powerpc/soft-fp/sfp-machine.h
27664 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27665 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27666 Likewise.
27667 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27668 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27669 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27670 (_FP_TININESS_AFTER_ROUNDING): Likewise.
27671 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
27672 Likewise.
27673
27674 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
27675
27676 [BZ #16545]
27677 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
27678 model 1.
27679
27680 2014-02-12 Richard Henderson <rth@redhat.com>
27681
27682 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
27683 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
27684 * sysdeps/unix/sysv/linux/alpha: Move directory from
27685 ports/sysdeps/unix/sysv/linux/alpha.
27686 * README: Update listing for alpha-*-linux-gnu.
27687
27688 2014-02-11 Joseph Myers <joseph@codesourcery.com>
27689
27690 * include/features.h: Update comment documenting feature test
27691 macros.
27692 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
27693 _DEFAULT_SOURCE.
27694 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
27695 (_SVID_SOURCE): Likewise.
27696 (_DEFAULT_SOURCE): Update description of default features.
27697 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
27698 with _GNU_SOURCE.
27699 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
27700 (S_ISVTX): Likewise.
27701 * manual/math.texi (Mathematical Constants): Likewise.
27702 * manual/signal.texi (Interrupted Primitives): Likewise.
27703 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
27704 * math/test-matherr.c (_SVID_SOURCE): Do not define.
27705 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
27706 Don't refer to _SVID_SOURCE in warning text.
27707
27708 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27709
27710 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
27711 already defined.
27712 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
27713 * sysdeps/mips/dl-lookup.c: Remove.
27714 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
27715
27716 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27717
27718 [BZ #16447]
27719 * math/auto-libm-test-in: Add testcase for expl.
27720 * math/auto-libm-test-out: Regenerate.
27721 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
27722 calculation of unsafe.
27723 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
27724
27725 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
27726
27727 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
27728 * sysdeps/unix/sysv/linux/aarch64: Move directory from
27729 ports/sysdeps/unix/sysv/linux/aarch64.
27730 * README: Update listing for aarch64*-*-linux-gnu.
27731
27732 2014-02-11 Will Newton <will.newton@linaro.org>
27733
27734 * manual/probes.texi (Mathematical Function Probes): Use
27735 "triggered" instead of "hit".
27736
27737 * manual/probes.texi (Internal Probes): Add documentation
27738 of setjmp, longjmp and longjmp_target probes.
27739
27740 * include/stap-probe.h: Add comment about probe argument
27741 format.
27742
27743 * malloc/mtrace.c (attribute_hidden): Remove unused macro
27744 definition. (tr_where, tr_freehook, tr_mallochook,
27745 tr_reallochook, tr_memalignhook): Use ANSI protoype.
27746
27747 2014-02-11 David S. Miller <davem@davemloft.net>
27748
27749 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
27750 processing int_tests.
27751
27752 2014-02-10 Joseph Myers <joseph@codesourcery.com>
27753
27754 * sysdeps/mips: Move directory from ports/sysdeps/mips.
27755 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
27756 * sysdeps/unix/sysv/linux/mips: Move directory from
27757 ports/sysdeps/unix/sysv/linux/mips.
27758 * README: Update listing for mips-*-linux-gnu and
27759 mips64-*-linux-gnu.
27760
27761 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
27762
27763 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
27764 * sysdeps/unix/sysv/linux/m68k: Move directory from
27765 ports/sysdeps/unix/sysv/linux/m68k.
27766 * README: Update listing for m68k-*-linux-gnu.
27767
27768 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
27769
27770 * sysdeps/tile: Move directory from ports/sysdeps/tile.
27771 * sysdeps/unix/sysv/linux/generic: Move directory from
27772 ports/sysdeps/unix/sysv/linux/generic.
27773 * sysdeps/unix/sysv/linux/tile: Move directory from
27774 ports/sysdeps/unix/sysv/linux/tile.
27775 * README: Update listing for tile*-*-linux-gnu.
27776
27777 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
27778
27779 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
27780 __builtin_expect.
27781 * benchtests/bench-memmem.c (simple_memmem): Likewise.
27782 * catgets/open_catalog.c (__open_catalog): Likewise.
27783 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
27784 * debug/confstr_chk.c: Likewise.
27785 * debug/fread_chk.c (__fread_chk): Likewise.
27786 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
27787 * debug/getgroups_chk.c: Likewise.
27788 * debug/mbsnrtowcs_chk.c: Likewise.
27789 * debug/mbsrtowcs_chk.c: Likewise.
27790 * debug/mbstowcs_chk.c: Likewise.
27791 * debug/memcpy_chk.c: Likewise.
27792 * debug/memmove_chk.c: Likewise.
27793 * debug/mempcpy_chk.c: Likewise.
27794 * debug/memset_chk.c: Likewise.
27795 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27796 * debug/strcat_chk.c (__strcat_chk): Likewise.
27797 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
27798 * debug/strncat_chk.c (__strncat_chk): Likewise.
27799 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
27800 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
27801 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
27802 * debug/wcpncpy_chk.c: Likewise.
27803 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27804 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
27805 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
27806 * debug/wcsncpy_chk.c: Likewise.
27807 * debug/wcsnrtombs_chk.c: Likewise.
27808 * debug/wcsrtombs_chk.c: Likewise.
27809 * debug/wcstombs_chk.c: Likewise.
27810 * debug/wmemcpy_chk.c: Likewise.
27811 * debug/wmemmove_chk.c: Likewise.
27812 * debug/wmempcpy_chk.c: Likewise.
27813 * debug/wmemset_chk.c: Likewise.
27814 * dirent/scandirat.c (SCANDIRAT): Likewise.
27815 * dlfcn/dladdr1.c (dladdr1): Likewise.
27816 * dlfcn/dladdr.c (dladdr): Likewise.
27817 * dlfcn/dlclose.c (dlclose_doit): Likewise.
27818 * dlfcn/dlerror.c (__dlerror): Likewise.
27819 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
27820 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
27821 * dlfcn/dlopen.c (dlopen_doit): Likewise.
27822 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
27823 * dlfcn/dlsym.c (dlsym_doit): Likewise.
27824 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
27825 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
27826 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
27827 Likewise.
27828 * elf/dl-conflict.c: Likewise.
27829 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
27830 * elf/dl-dst.h: Likewise.
27831 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
27832 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
27833 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
27834 * elf/dl-init.c (call_init, _dl_init): Likewise.
27835 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
27836 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
27837 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
27838 Likewise.
27839 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
27840 Likewise.
27841 * elf/dl-minimal.c (__libc_memalign): Likewise.
27842 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
27843 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27844 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
27845 * elf/dl-sym.c (do_sym): Likewise.
27846 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
27847 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
27848 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
27849 * elf/dl-writev.h (_dl_writev): Likewise.
27850 * elf/ldconfig.c (search_dir): Likewise.
27851 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
27852 (dl_main): Likewise.
27853 * elf/setup-vdso.h (setup_vdso): Likewise.
27854 * grp/compat-initgroups.c (compat_call): Likewise.
27855 * grp/fgetgrent.c (fgetgrent): Likewise.
27856 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
27857 * grp/putgrent.c (putgrent): Likewise.
27858 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27859 Likewise.
27860 * hurd/hurdinit.c: Likewise.
27861 * iconvdata/8bit-gap.c (struct): Likewise.
27862 * iconvdata/ansi_x3.110.c : Likewise.
27863 * iconvdata/big5.c : Likewise.
27864 * iconvdata/big5hkscs.c : Likewise.
27865 * iconvdata/cp1255.c: Likewise.
27866 * iconvdata/cp1258.c : Likewise.
27867 * iconvdata/cp932.c : Likewise.
27868 * iconvdata/euc-cn.c: Likewise.
27869 * iconvdata/euc-jisx0213.c : Likewise.
27870 * iconvdata/euc-jp.c: Likewise.
27871 * iconvdata/euc-jp-ms.c : Likewise.
27872 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
27873 * iconvdata/gb18030.c : Likewise.
27874 * iconvdata/gbbig5.c (const): Likewise.
27875 * iconvdata/gbgbk.c: Likewise.
27876 * iconvdata/gbk.c : Likewise.
27877 * iconvdata/ibm1364.c : Likewise.
27878 * iconvdata/ibm930.c : Likewise.
27879 * iconvdata/ibm932.c: Likewise.
27880 * iconvdata/ibm933.c : Likewise.
27881 * iconvdata/ibm935.c : Likewise.
27882 * iconvdata/ibm937.c : Likewise.
27883 * iconvdata/ibm939.c : Likewise.
27884 * iconvdata/ibm943.c: Likewise.
27885 * iconvdata/iso_11548-1.c: Likewise.
27886 * iconvdata/iso-2022-cn.c : Likewise.
27887 * iconvdata/iso-2022-cn-ext.c : Likewise.
27888 * iconvdata/iso-2022-jp-3.c: Likewise.
27889 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
27890 * iconvdata/iso-2022-kr.c : Likewise.
27891 * iconvdata/iso646.c (gconv_end): Likewise.
27892 * iconvdata/iso_6937-2.c : Likewise.
27893 * iconvdata/iso_6937.c : Likewise.
27894 * iconvdata/iso8859-1.c: Likewise.
27895 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
27896 * iconvdata/shift_jisx0213.c : Likewise.
27897 * iconvdata/sjis.c : Likewise.
27898 * iconvdata/t.61.c : Likewise.
27899 * iconvdata/tcvn5712-1.c : Likewise.
27900 * iconvdata/tscii.c: Likewise.
27901 * iconvdata/uhc.c : Likewise.
27902 * iconvdata/unicode.c (gconv_end): Likewise.
27903 * iconvdata/utf-16.c (gconv_end): Likewise.
27904 * iconvdata/utf-32.c (gconv_end): Likewise.
27905 * iconvdata/utf-7.c (base64): Likewise.
27906 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
27907 * iconv/gconv_close.c (__gconv_close): Likewise.
27908 * iconv/gconv_open.c (__gconv_open): Likewise.
27909 * iconv/gconv_simple.c (internal_ucs4_loop_single)
27910 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
27911 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
27912 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
27913 (ucs4le_internal_loop_single): Likewise.
27914 * iconv/iconv.c (iconv): Likewise.
27915 * iconv/iconv_close.c: Likewise.
27916 * iconv/loop.c (SINGLE): Likewise.
27917 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
27918 * include/atomic.h: Likewise.
27919 * inet/inet6_option.c (option_alloc): Likewise.
27920 * intl/bindtextdom.c (set_binding_values): Likewise.
27921 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
27922 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
27923 * intl/localealias.c (read_alias_file): Likewise.
27924 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27925 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
27926 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
27927 * libio/fmemopen.c (fmemopen): Likewise.
27928 * libio/iofgets.c (_IO_fgets): Likewise.
27929 * libio/iofgets_u.c (fgets_unlocked): Likewise.
27930 * libio/iofgetws.c (fgetws): Likewise.
27931 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27932 * libio/iogetdelim.c (_IO_getdelim): Likewise.
27933 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
27934 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
27935 * locale/findlocale.c (_nl_find_locale): Likewise.
27936 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
27937 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
27938 Likewise.
27939 * locale/setlocale.c (setlocale): Likewise.
27940 * login/programs/pt_chown.c (main): Likewise.
27941 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
27942 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
27943 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
27944 (mmap, mmap64, mremap, munmap): Likewise.
27945 * math/e_exp2l.c: Likewise.
27946 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
27947 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
27948 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
27949 * math/s_catan.c (__catan): Likewise.
27950 * math/s_catanf.c (__catanf): Likewise.
27951 * math/s_catanh.c (__catanh): Likewise.
27952 * math/s_catanhf.c (__catanhf): Likewise.
27953 * math/s_catanhl.c (__catanhl): Likewise.
27954 * math/s_catanl.c (__catanl): Likewise.
27955 * math/s_ccosh.c (__ccosh): Likewise.
27956 * math/s_ccoshf.c (__ccoshf): Likewise.
27957 * math/s_ccoshl.c (__ccoshl): Likewise.
27958 * math/s_cexp.c (__cexp): Likewise.
27959 * math/s_cexpf.c (__cexpf): Likewise.
27960 * math/s_cexpl.c (__cexpl): Likewise.
27961 * math/s_clog10.c (__clog10): Likewise.
27962 * math/s_clog10f.c (__clog10f): Likewise.
27963 * math/s_clog10l.c (__clog10l): Likewise.
27964 * math/s_clog.c (__clog): Likewise.
27965 * math/s_clogf.c (__clogf): Likewise.
27966 * math/s_clogl.c (__clogl): Likewise.
27967 * math/s_csin.c (__csin): Likewise.
27968 * math/s_csinf.c (__csinf): Likewise.
27969 * math/s_csinh.c (__csinh): Likewise.
27970 * math/s_csinhf.c (__csinhf): Likewise.
27971 * math/s_csinhl.c (__csinhl): Likewise.
27972 * math/s_csinl.c (__csinl): Likewise.
27973 * math/s_csqrt.c (__csqrt): Likewise.
27974 * math/s_csqrtf.c (__csqrtf): Likewise.
27975 * math/s_csqrtl.c (__csqrtl): Likewise.
27976 * math/s_ctan.c (__ctan): Likewise.
27977 * math/s_ctanf.c (__ctanf): Likewise.
27978 * math/s_ctanh.c (__ctanh): Likewise.
27979 * math/s_ctanhf.c (__ctanhf): Likewise.
27980 * math/s_ctanhl.c (__ctanhl): Likewise.
27981 * math/s_ctanl.c (__ctanl): Likewise.
27982 * math/w_pow.c: Likewise.
27983 * math/w_powf.c: Likewise.
27984 * math/w_powl.c: Likewise.
27985 * math/w_scalb.c (sysv_scalb): Likewise.
27986 * math/w_scalbf.c (sysv_scalbf): Likewise.
27987 * math/w_scalbl.c (sysv_scalbl): Likewise.
27988 * misc/error.c (error_tail): Likewise.
27989 * misc/pselect.c (__pselect): Likewise.
27990 * nis/nis_callback.c (__nis_create_callback): Likewise.
27991 * nis/nis_call.c (__nisfind_server): Likewise.
27992 * nis/nis_creategroup.c (nis_creategroup): Likewise.
27993 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
27994 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
27995 * nis/nis_getservlist.c (nis_getservlist): Likewise.
27996 * nis/nis_lookup.c (nis_lookup): Likewise.
27997 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
27998 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
27999 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
28000 * nis/nis_xdr.c (xdr_endpoint): Likewise.
28001 * nis/nss_compat/compat-grp.c (getgrent_next_file)
28002 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
28003 * nis/nss_compat/compat-initgroups.c (add_group)
28004 (internal_getgrent_r): Likewise.
28005 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
28006 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
28007 * nis/nss_compat/compat-spwd.c (getspent_next_file)
28008 (internal_getspnam_r): Likewise.
28009 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
28010 (_nss_nis_getaliasbyname_r): Likewise.
28011 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
28012 (_nss_nis_getntohost_r): Likewise.
28013 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
28014 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
28015 (_nss_nis_getgrgid_r): Likewise.
28016 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
28017 (internal_nis_gethostent_r, internal_gethostbyname2_r)
28018 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
28019 (_nss_nis_gethostbyname4_r): Likewise.
28020 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
28021 (initgroups_netid): Likewise.
28022 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
28023 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
28024 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
28025 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
28026 (_nss_nis_getprotobynumber_r): Likewise.
28027 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
28028 (_nss_nis_getsecretkey): Likewise.
28029 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
28030 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
28031 (_nss_nis_getpwuid_r): Likewise.
28032 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
28033 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
28034 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
28035 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
28036 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
28037 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
28038 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
28039 Likewise.
28040 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
28041 (_nss_nisplus_getntohost_r): Likewise.
28042 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
28043 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
28044 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
28045 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
28046 Likewise.
28047 * nis/nss_nisplus/nisplus-initgroups.c
28048 (_nss_nisplus_initgroups_dyn): Likewise.
28049 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
28050 (_nss_nisplus_getnetbyaddr_r): Likewise.
28051 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
28052 (_nss_nisplus_getprotobynumber_r): Likewise.
28053 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
28054 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
28055 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
28056 Likewise.
28057 * nis/nss_nisplus/nisplus-service.c
28058 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
28059 (_nss_nisplus_getservbyport_r): Likewise.
28060 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
28061 (_nss_nisplus_getspnam_r): Likewise.
28062 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
28063 Likewise.
28064 * nscd/aicache.c (addhstaiX): Likewise.
28065 * nscd/cache.c (cache_search, prune_cache): Likewise.
28066 * nscd/connections.c (register_traced_file, send_ro_fd)
28067 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
28068 (main_loop_epoll): Likewise.
28069 * nscd/grpcache.c (addgrbyX): Likewise.
28070 * nscd/hstcache.c (addhstbyX): Likewise.
28071 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28072 * nscd/mem.c (gc, mempool_alloc): Likewise.
28073 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
28074 (addinnetgrX): Likewise.
28075 * nscd/nscd-client.h (__nscd_acquire_maplock)
28076 (__nscd_drop_map_ref): Likewise.
28077 * nscd/nscd_getai.c (__nscd_getai): Likewise.
28078 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28079 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
28080 Likewise.
28081 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
28082 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
28083 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
28084 (__nscd_get_map_ref): Likewise.
28085 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
28086 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
28087 Likewise.
28088 * nscd/pwdcache.c (addpwbyX): Likewise.
28089 * nscd/selinux.c (preserve_capabilities): Likewise.
28090 * nscd/servicescache.c (addservbyX): Likewise.
28091 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
28092 * posix/fnmatch.c (fnmatch): Likewise.
28093 * posix/getopt.c (_getopt_internal_r): Likewise.
28094 * posix/glob.c (glob, glob_in_dir): Likewise.
28095 * posix/wordexp.c (exec_comm_child): Likewise.
28096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
28097 (getanswer_r, gaih_getanswer_slice): Likewise.
28098 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
28099 * resolv/res_init.c: Likewise.
28100 * resolv/res_mkquery.c (res_nmkquery): Likewise.
28101 * resolv/res_query.c (__libc_res_nquery): Likewise.
28102 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
28103 Likewise.
28104 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
28105 * stdio-common/perror.c (perror): Likewise.
28106 * stdio-common/printf_fp.c (___printf_fp): Likewise.
28107 * stdio-common/tmpnam.c (tmpnam): Likewise.
28108 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
28109 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
28110 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
28111 Likewise.
28112 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
28113 * stdlib/putenv.c (putenv): Likewise.
28114 * stdlib/setenv.c (__add_to_environ): Likewise.
28115 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
28116 * stdlib/strtol_l.c (INTERNAL): Likewise.
28117 * string/memmem.c (memmem): Likewise.
28118 * string/strerror.c (strerror): Likewise.
28119 * string/strnlen.c (__strnlen): Likewise.
28120 * string/test-memmem.c (simple_memmem): Likewise.
28121 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
28122 * sunrpc/pm_getport.c (__get_socket): Likewise.
28123 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
28124 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
28125 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
28126 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
28127 Likewise.
28128 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
28129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28130 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
28131 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
28132 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
28133 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
28134 Likewise.
28135 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
28136 Likewise.
28137 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
28138 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
28139 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28140 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
28141 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
28142 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
28143 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
28144 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
28145 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
28146 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
28147 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28148 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
28149 Likewise.
28150 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
28151 Likewise.
28152 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
28153 Likewise.
28154 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
28155 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28156 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
28157 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
28158 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
28159 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
28160 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28161 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
28162 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
28163 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
28164 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
28165 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28166 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
28167 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
28168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28169 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28170 Likewise.
28171 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
28172 Likewise.
28173 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
28174 Likewise.
28175 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
28176 Likewise.
28177 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28179 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
28180 Likewise.
28181 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
28182 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
28183 * sysdeps/posix/opendir.c (__opendirat): Likewise.
28184 * sysdeps/posix/sleep.c: Likewise.
28185 * sysdeps/posix/tempname.c: Likewise.
28186 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
28187 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
28188 Likewise.
28189 * sysdeps/powerpc/powerpc32/dl-machine.h
28190 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
28191 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
28192 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28193 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
28194 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
28195 Likewise.
28196 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
28197 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
28198 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28199 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
28200 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
28201 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
28202 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
28203 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
28204 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28205 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
28206 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
28207 (elf_machine_lazy_rel): Likewise.
28208 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
28209 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
28210 (elf_machine_lazy_rel): Likewise.
28211 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
28212 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
28213 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
28214 * sysdeps/unix/grantpt.c (grantpt): Likewise.
28215 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
28216 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
28217 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
28218 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
28219 Likewise.
28220 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28221 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28222 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
28223 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
28224 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28225 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28226 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
28227 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
28228 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
28229 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28230 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
28231 Likewise.
28232 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
28233 (__posix_fallocate64_l64): Likewise.
28234 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
28235 (posix_fallocate): Likewise.
28236 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
28237 Likewise.
28238 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28239 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
28240 (getifaddrs_internal): Likewise.
28241 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
28242 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
28243 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28244 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
28245 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28246 (__posix_fallocate64_l64): Likewise.
28247 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
28248 Likewise.
28249 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
28250 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
28251 (__get_clockfreq): Likewise.
28252 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
28253 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
28254 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
28255 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28256 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28257 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
28258 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
28259 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
28260 Likewise.
28261 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
28262 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
28263 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28264 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
28265 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
28266 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
28267 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
28268 Likewise.
28269 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28270 (posix_fallocate): Likewise.
28271 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28272 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28273 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
28274 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
28275 (elf_machine_rela, elf_machine_rela_relative)
28276 (elf_machine_lazy_rel): Likewise.
28277 * time/asctime.c (asctime_internal): Likewise.
28278 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
28279 * time/tzset.c (__tzset_parse_tz): Likewise.
28280 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28281 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
28282 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
28283 * wcsmbs/wcsmbsload.h: Likewise.
28284
28285 [BZ #15894]
28286 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
28287
28288 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
28289 (arena_get2): Remove THREAD_STATS conditionals.
28290 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
28291 (__malloc_stats, int): Likewise.
28292
28293 2014-02-08 Mike Frysinger <vapier@gentoo.org>
28294
28295 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
28296 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
28297
28298 * manual/setjmp.texi: Fix typos/grammar errors.
28299
28300 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
28301 Only return early when n is <= 0. Delete unused return statement.
28302
28303 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
28304 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
28305 * debug/tst-longjmp_chk3.c: New file.
28306
28307 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
28308 (test_main): Replace code with set_fortify_handler call.
28309 * debug/test-strcpy_chk.c: Likewise.
28310 * debug/tst-chk1.c: Likewise.
28311 * debug/tst-longjmp_chk.c: Likewise.
28312 * test-skeleton.c: Include fcntl.h & paths.h
28313 (set_fortify_handler): Define.
28314
28315 * debug/tst-longjmp_chk.c: Add header comment and include
28316 ../test-skeleton.c.
28317 (do_test): Mark static.
28318 (TEST_FUNCTION): Define.
28319
28320 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
28321 (IP_PMTUDISC_INTERFACE): Likewise.
28322 (IP_MULTICAST_IF): Likewise.
28323 (IP_MULTICAST_TTL): Likewise.
28324 (IP_MULTICAST_LOOP): Likewise.
28325 (IP_ADD_MEMBERSHIP): Likewise.
28326 (IP_DROP_MEMBERSHIP): Likewise.
28327 (IP_UNBLOCK_SOURCE): Likewise.
28328 (IP_BLOCK_SOURCE): Likewise.
28329 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
28330 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
28331 (IP_MSFILTER): Likewise.
28332 (MCAST_JOIN_GROUP): Likewise.
28333 (MCAST_BLOCK_SOURCE): Likewise.
28334 (MCAST_UNBLOCK_SOURCE): Likewise.
28335 (MCAST_LEAVE_GROUP): Likewise.
28336 (MCAST_JOIN_SOURCE_GROUP): Likewise.
28337 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
28338 (MCAST_MSFILTER): Likewise.
28339 (IP_MULTICAST_ALL): Likewise.
28340 (IP_UNICAST_IF): Likewise.
28341
28342 * timezone/Makefile: Delete $(have-ksh) check.
28343 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
28344 * timezone/tzselect.ksh: Add +x mode bits.
28345
28346 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
28347 (ANON_INODE_FS_MAGIC): Likewise.
28348 (BDEVFS_MAGIC): Likewise.
28349 (BINFMTFS_MAGIC): Likewise.
28350 (BTRFS_TEST_MAGIC): Likewise.
28351 (CRAMFS_MAGIC_WEND): Likewise.
28352 (DEBUGFS_MAGIC): Likewise.
28353 (ECRYPTFS_SUPER_MAGIC): Likewise.
28354 (EXT3_SUPER_MAGIC): Likewise.
28355 (EXT4_SUPER_MAGIC): Likewise.
28356 (FUTEXFS_SUPER_MAGIC): Likewise.
28357 (HOSTFS_SUPER_MAGIC): Likewise.
28358 (HUGETLBFS_MAGIC): Likewise.
28359 (MINIX3_SUPER_MAGIC): Likewise.
28360 (MTD_INODE_FS_MAGIC): Likewise.
28361 (NILFS_SUPER_MAGIC): Likewise.
28362 (OPENPROM_SUPER_MAGIC): Likewise.
28363 (PIPEFS_MAGIC): Likewise.
28364 (PSTOREFS_MAGIC): Likewise.
28365 (QNX6_SUPER_MAGIC): Likewise.
28366 (RAMFS_MAGIC): Likewise.
28367 (REISERFS_SUPER_MAGIC_STRING): Likewise.
28368 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
28369 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
28370 (SECURITYFS_MAGIC): Likewise.
28371 (SELINUX_MAGIC): Likewise.
28372 (SMACK_MAGIC): Likewise.
28373 (SOCKFS_MAGIC): Likewise.
28374 (SQUASHFS_MAGIC): Likewise.
28375 (STACK_END_MAGIC): Likewise.
28376 (TMPFS_MAGIC): Likewise.
28377 (USBDEVICE_SUPER_MAGIC): Likewise.
28378 (V9FS_MAGIC): Likewise.
28379 (XENFS_SUPER_MAGIC): Likewise.
28380 (CRAMFS_MAGIC): Fix typo in comment.
28381 (EXT2_SUPER_MAGIC): Update comment.
28382 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
28383
28384 2014-02-08 Joseph Myers <joseph@codesourcery.com>
28385
28386 * sysdeps/arm: Move directory from ports/sysdeps/arm.
28387 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
28388 * sysdeps/unix/sysv/linux/arm: Move directory from
28389 ports/sysdeps/unix/sysv/linux/arm.
28390 * README: Update listing for arm-*-linux-gnueabi.
28391
28392 * README: Remove mention of am33.
28393
28394 2014-02-07 Roland McGrath <roland@hack.frob.com>
28395
28396 * bits/sigset.h (__sigemptyset): Use a statement expression rather
28397 than the comma operator, to avoid "rhs of comma has no effect"
28398 compiler warnings.
28399 (__sigfillset, __sigandset, __sigorset): Likewise.
28400 * include/signal.h (__sigemptyset): Likewise.
28401 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
28402
28403 2014-02-07 Allan McRae <allan@archlinux.org>
28404
28405 * version.h (RELEASE): Set to "development".
28406 (VERSION): Set to "2.19.90"
28407 * NEWS: Add 2.20 section.
28408
28409 2014-02-06 Carlos O'Donell <carlos@redhat.com>
28410
28411 [BZ #16529]
28412 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
28413
28414 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
28415
28416 * manual/contrib.texi: Update entry for Carlos O'Donell,
28417 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
28418
28419 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
28420
28421 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
28422
28423 * sysdeps/unix/sysv/linux/kernel-features.h
28424 [__LINUX_KERNEL_VERSION >= 0x020621]
28425 (__ASSUME_PROC_PID_TASK_COMM): Define.
28426
28427 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
28428
28429 [BZ #16398]
28430 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
28431 conversion when destination buffer does not have enough space.
28432 * libio/tst-ftell-partial-wide.c: New test case.
28433 * libio/Makefile (tests): Add tst-ftell-partial-wide.
28434
28435 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
28436 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
28437 Leonard and Allan McRae.
28438
28439 2014-02-04 David S. Miller <davem@davemloft.net>
28440
28441 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
28442 32-bit.
28443
28444 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28445
28446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
28447 New file
28448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
28449 New file
28450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
28451 New file.
28452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
28453 New file.
28454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
28455 New file.
28456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
28457 New file.
28458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
28459 New file.
28460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
28461 New file.
28462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
28463 New file.
28464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
28465 New file.
28466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
28467 New file.
28468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
28469 New file.
28470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
28471 New file.
28472
28473 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28474
28475 * nptl/shlib-versions: Change powerpc*le start to 2.17.
28476 * shlib-versions: Likewise.
28477
28478 2014-02-04 Roland McGrath <roland@hack.frob.com>
28479 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28480
28481 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
28482 (abilist-pattern): New variable, set to %-le.abilist.
28483
28484 * Makerules (abilist-pattern): New variable.
28485 (vpath): Use $(abilist-pattern) in place of %.abilist.
28486 (check-abi-% pattern rule): Likewise.
28487 (check-abi, update-abi): Likewise.
28488
28489 2014-02-04 Eric Wong <normalperson@yhbt.net>
28490
28491 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28492
28493 2014-02-03 Carlos O'Donell <carlos@redhat.com>
28494
28495 * manual/startup.texi: Add next, previous, and top entries for
28496 the `Program Arguments' and `Environment Variables' nodes.
28497
28498 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
28499
28500 * manual/macros.texi: Add comments before MTASC-safety macros.
28501
28502 * manual/users.texi: Document MTASC-safety properties.
28503
28504 * manual/threads.texi (pthread_key_create, pthread_key_delete)
28505 (pthread_getspecific, pthread_setspecific): Format with
28506 @deftypefun, and add @safety note.
28507 * manual/signal.texi: Move comments that analyze the above
28508 functions to their home place.
28509
28510 2014-02-03 Allan McRae <allan@archlinux.org>
28511
28512 * po/sl.po: Update Slovenian translation from translation project.
28513
28514 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
28515
28516 * manual/time.texi (timegm): Add missing blank after @c.
28517 Reported by Joseph Myers <joseph@codesourcery.com>.
28518
28519 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
28520
28521 * manual/check-safety.sh: New.
28522 * manual/Makefile ($(objpfx)stamp-summary): Run it.
28523
28524 * manual/terminal.texi: Document MTASC-safety properties.
28525
28526 * manual/filesys.texi: Document MTASC-safety properties.
28527
28528 * manual/errno.texi: Document MTASC-safety properties.
28529
28530 * manual/intro.texi: Document safety identifiers and
28531 conditionals.
28532
28533 * manual/string.texi (wcstok): Fix prototype.
28534 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
28535
28536 * manual/time.texi: Document MTASC-safety properties.
28537
28538 * manual/string.texi: Document MTASC-safety properties.
28539
28540 * manual/threads.texi: Document MTASC-safety properties.
28541
28542 * manual/stdio.texi: Document MTASC-safety properties.
28543
28544 * manual/syslog.texi: Document MTASC-safety properties.
28545
28546 * manual/sysinfo.texi: Document MTASC-safety properties.
28547
28548 * manual/startup.texi: Document MTASC-safety properties.
28549
28550 * manual/socket.texi: Document MTASC-safety properties.
28551
28552 * manual/signal.texi: Document MTASC-safety properties.
28553
28554 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
28555
28556 * manual/setjmp.texi: Document MTASC-safety properties.
28557
28558 * manual/search.texi: Document MTASC-safety properties.
28559
28560 * manual/resource.texi: Document MTASC-safety properties.
28561
28562 * manual/process.texi: Document MTASC-safety properties.
28563
28564 * manual/platform.texi: Document MTASC-safety properties.
28565
28566 * manual/pipe.texi: Document MTASC-safety properties.
28567
28568 * manual/pattern.texi: Document MTASC-safety properties.
28569
28570 * manual/message.texi: Document MTASC-safety properties.
28571
28572 [BZ #12751]
28573 * manual/memory.texi: Document MTASC-safety properties.
28574
28575 * manual/math.texi: Document MTASC-safety properties.
28576
28577 * manual/locale.texi: Document MTASC-safety properties.
28578
28579 * manual/llio.texi: Document MTASC-safety properties.
28580
28581 * manual/libdl.texi: New.
28582
28583 * manual/lang.texi: Document MTASC-safety properties.
28584
28585 * manual/job.texi: Document MTASC-safety properties.
28586
28587 * manual/getopt.texi: Document MTASC-safety properties.
28588
28589 * manual/ctype.texi: Document MTASC-safety properties.
28590
28591 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
28592
28593 [BZ #16046]
28594 * csu/libc-tls.c (static_map): Remove variable.
28595 (__libc_setup_tls): Use main executable's link map for TLS data.
28596 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
28597 casing for LM_ID_BASE and GL(dl_nns).
28598 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
28599 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
28600 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
28601 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
28602 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
28603 member.
28604 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
28605 l_phnum members.
28606
28607 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
28608
28609 * manual/debug.texi: Document MTASC-safety properties.
28610
28611 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
28612
28613 [BZ #16510]
28614 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
28615 of __x86_64__ when disabling x87 inline functions.
28616
28617 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
28618
28619 * manual/charset.texi: Document MTASC-safety properties.
28620
28621 * manual/crypt.texi: Document MTASC-safety properties.
28622
28623 * manual/conf.texi: Document MTASC-safety properties.
28624
28625 * manual/arith.texi: Document MTASC-safety properties.
28626
28627 * manual/argp.texi: Document MTASC-safety properties.
28628
28629 * manual/macros.texi: Introduce macros to document multi
28630 thread, asynchronous signal and asynchronous cancellation
28631 safety properties.
28632 * manual/intro.texi: Introduce the properties themselves.
28633
28634 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28635
28636 * sysdeps/sh/sh4/Makefile: New file.
28637
28638 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
28639
28640 * math/gen-libm-test.pl ($srcdir): New variable.
28641 ($auto_input): Use it.
28642
28643 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28644
28645 [BZ #16506]
28646 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
28647 access beyond array bounds when parsing netgroups file.
28648
28649 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
28650 the old buffer before realloc.
28651
28652 2014-01-27 Allan McRae <allan@archlinux.org>
28653
28654 * po/fr.po: Update French translation from translation project.
28655
28656 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28657
28658 * sysdeps/sh/libm-test-ulps: Regenerate.
28659
28660 2014-01-24 David S. Miller <davem@davemloft.net>
28661
28662 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
28663
28664 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28665
28666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
28667 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
28668
28669 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28670
28671 [BZ #16474]
28672 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
28673 string pointers after reallocation.
28674
28675 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28676
28677 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
28678 __SH4A__ instead of __SH_FPU_ANY__.
28679
28680 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28681
28682 * sysdeps/sh/fpu_control.h: New file.
28683 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
28684 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
28685 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
28686 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
28687 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
28688 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
28689 * sysdeps/sh/sys/ucontext.h: Remove.
28690 * sysdeps/sh/sys: Remove directory.
28691
28692 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28693
28694 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
28695 s390/sys/ucontext.h.
28696 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
28697 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
28698
28699 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
28700
28701 [BZ #15605]
28702 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
28703
28704 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28705
28706 [BZ#16431]
28707 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
28708 Adjust the vDSO correctly for internal calls.
28709 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
28710
28711 2014-01-20 Allan McRae <allan@archlinux.org>
28712
28713 * po/ca.po: Update Catalan translation from translation project.
28714
28715 2014-01-16 Mike Frysinger <vapier@gentoo.org>
28716
28717 * sysdeps/s390/sotruss-lib.c: New file.
28718
28719 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28720
28721 [BZ#16430]
28722 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
28723 (__GI___gettimeofday): Alias for a different internal symbol to avoid
28724 local calls issues by not having a PLT stub required for IFUNC calls.
28725 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
28726
28727 2014-01-16 Joseph Myers <joseph@codesourcery.com>
28728
28729 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
28730 * math/test-fpucw-static.c: Likewise.
28731
28732 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28733
28734 [BZ #16453]
28735 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
28736
28737 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28738
28739 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
28740 implementation for powerpc.
28741
28742 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
28743
28744 [BZ #14782]
28745 * sysdeps/posix/system.c (__libc_system): Do not enable
28746 asynchronous cancellation.
28747
28748 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28749
28750 [BZ #16427]
28751 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
28752 handling only for numbers special also in the IEEE case.
28753
28754 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28755
28756 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28757
28758 2014-01-11 Allan McRae <allan@archlinux.org>
28759
28760 * po/bg.po: Update Bulgarian translation from translation project.
28761
28762 * po/de.po: Update German translation from translation project.
28763
28764 2014-01-10 Roland McGrath <roland@hack.frob.com>
28765
28766 * sysdeps/generic/gcc-compat.h: New file.
28767
28768 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28769
28770 * benchtests/asin-inputs: Correct slow inputs.
28771 * benchtests/acos-inputs: Likewise.
28772
28773 2014-01-10 Allan McRae <allan@archlinux.org>
28774
28775 * po:sv.po: Update Swedish translation from translation project.
28776
28777 * po/vi.po: Update Vietnamese translation from translation project.
28778
28779 * po/eo.po: Update Esperanto translation from translation project.
28780
28781 * po/cs.po: Update Czech translation from translation project.
28782
28783 * po/nl.po: Update Dutch translation from translation project.
28784
28785 * po/pl.po: Update Polish translation from translation project.
28786
28787 * po/ru.po: Update Russian translation from translation project.
28788
28789 * po/uk.po: Update Ukrainian translation from translation project.
28790
28791 2014-01-08 Brooks Moses <bmoses@google.com>
28792
28793 * elf/dl-load.c: Fix comment typo.
28794
28795 2014-01-08 Carlos O'Donell <carlos@redhat.com>
28796
28797 * po/header.pot: Rename to...
28798 * po/pot.header: ... this.
28799 * po/Makefile: Use pot.header.
28800
28801 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
28802 Maxim Kuvyrkov <maxim@kugelworks.com>
28803
28804 [BZ #16394]
28805 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
28806 SRC and DEST against LEN.
28807
28808 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28809
28810 [BZ #16414]
28811 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
28812 implementation.
28813 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
28814
28815 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28816
28817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28818
28819 2014-01-08 Joseph Myers <joseph@codesourcery.com>
28820
28821 [BZ #16408]
28822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
28823 for large positive arguments.
28824
28825 2014-01-07 Joseph Myers <joseph@codesourcery.com>
28826
28827 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28828
28829 * math/auto-libm-test-in: Mark various tests with
28830 xfail-rounding:ldbl-128ibm.
28831 * math/auto-libm-test-out: Regenerated.
28832
28833 [BZ #16407]
28834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
28835 Increase overflow threshold.
28836
28837 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
28838
28839 [BZ #14286]
28840 * stdio-common/vfprintf.c: Check for integer overflow.
28841
28842 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28843
28844 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
28845 the first argument and return value of __tls_get_addr_internal.
28846
28847 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28848
28849 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
28850 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
28851
28852 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28853
28854 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
28855 * sysdeps/s390/rtld-global-offsets.sym: New file.
28856 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
28857 GLIBC_2.19 symbol.
28858 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
28859 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
28860 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
28861 ... this.
28862 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
28863 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
28864 ... this.
28865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28866 Regenerate.
28867 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28868 Regenerate.
28869 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
28870 halfs of GPRs for high_gprs contexts.
28871 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
28872 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
28873 field.
28874 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
28875 uc_flags field.
28876 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
28877 64 bit versions:
28878 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
28879 for high GPRs (uc_high_gprs) and for future extensions
28880 (__reserved).
28881 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
28882 for future extensions (__reserved).
28883 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
28884 64 bit versions:
28885 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
28886 SC_HIGHGPRS offset definition.
28887 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
28888 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
28889
28890 * Versions.def: Add GLIBC_2.19 for libpthread.
28891 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
28892 siglongjmp for libpthread with GLIBC_2.19 symver.
28893 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
28894 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
28895 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
28896 * sysdeps/s390/__longjmp.c: New file.
28897 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
28898 * sysdeps/s390/longjmp.c: New file.
28899 * sysdeps/s390/setjmp.S: New file.
28900 * sysdeps/s390/sigjmp.S: New file.
28901 * sysdeps/s390/v1-longjmp.c: New file.
28902 * sysdeps/s390/v1-setjmp.h: New file.
28903 * sysdeps/s390/v1-sigjmp.c: New file.
28904 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
28905 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
28906 GLIBC_2.19 version.
28907 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
28908 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
28909 versioned symbols for ____longjmp_chk.
28910 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
28911 Likewise.
28912 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
28913 Regenerate.
28914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28915 Regenerate.
28916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
28917 Regenerate.
28918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28919 Regenerate.
28920 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
28921 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
28922 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
28923 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
28924 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
28925 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
28926 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
28927 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
28928 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
28929 * sysdeps/s390/rtld-__longjmp.c: New file.
28930 * sysdeps/s390/rtld-setjmp.S: New file.
28931
28932 2014-01-06 Joseph Myers <joseph@codesourcery.com>
28933
28934 [BZ #16400]
28935 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28936 Return -__logl (x) for small positive arguments without evaluating
28937 a polynomial.
28938
28939 2014-01-06 Mike Frysinger <vapier@gentoo.org>
28940
28941 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
28942 Rename to ...
28943 (__ptrace_peeksiginfo_args): ... this.
28944 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28945 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28947
28948 2014-01-06 Allan McRae <allan@archlinux.org>
28949
28950 * inet/netinet/in.h: Fix typo in comment.
28951
28952 2014-01-05 Andreas Jaeger <aj@suse.de>
28953
28954 * sysdeps/i386/fpu/libm-test-ulps: Update.
28955
28956 2014-01-05 Allan McRae <allan@archlinux.org>
28957
28958 * po/libc.pot: Regenerated.
28959
28960 * malloc/memusagestat.c: Fix gettext call formatting.
28961
28962 2014-01-04 Sami Kerola <kerolasa@iki.fi>
28963
28964 * nscd/nscd.c: Improve usage() output.
28965
28966 2014-01-04 Mike Frysinger <vapier@gentoo.org>
28967
28968 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
28969 * sysdeps/unix/sysv/linux/configure: Regenerated.
28970 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
28971 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
28972
28973 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28974
28975 [BZ #16390]
28976 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
28977 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
28978
28979 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28980
28981 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
28982 extra tokens at end of #undef directive.
28983 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
28984 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
28985 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28986
28987 2014-01-03 Joseph Myers <joseph@codesourcery.com>
28988
28989 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
28990
28991 * math/auto-libm-test-in: Mark various tests with
28992 xfail-rounding:ldbl-128ibm.
28993 * math/auto-libm-test-out: Regenerated.
28994
28995 2014-01-02 Joseph Myers <joseph@codesourcery.com>
28996
28997 [BZ #16386]
28998 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
28999 numbers with subnormal high part when calculating exponent.
29000
29001 [BZ #16385]
29002 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
29003 fabs.
29004
29005 [BZ #16384]
29006 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
29007 M_LN2l.
29008 (__ieee754_acoshl): Use __log1pl not __log1p.
29009
29010 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
29011
29012 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
29013 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
29014 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
29015 (grow_heap, heap_trim, _int_new_arena, get_free_list)
29016 (reused_arena, arena_get2): Convert to GNU style.
29017 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
29018 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
29019 (memalign_check, __malloc_set_state): Likewise.
29020 * malloc/mallocbug.c (main): Likewise.
29021 * malloc/malloc.c (__malloc_assert, malloc_init_state)
29022 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
29023 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
29024 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
29025 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
29026 (__posix_memalign, malloc_info): Likewise.
29027 * malloc/malloc.h: Likewise.
29028 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
29029 (mallochook, memalignhook, reallochook, mabort): Likewise.
29030 * malloc/mcheck.h: Likewise.
29031 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
29032 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
29033 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
29034 * malloc/morecore.c (__default_morecore): Likewise.
29035 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
29036 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
29037 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
29038 (print_and_abort): Likewise.
29039 * malloc/obstack.h: Likewise.
29040 * malloc/set-freeres.c (__libc_freeres): Likewise.
29041 * malloc/tst-mallocstate.c (main): Likewise.
29042 * malloc/tst-mtrace.c (main): Likewise.
29043 * malloc/tst-realloc.c (do_test): Likewise.
29044
29045 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29046
29047 [BZ #16366]
29048 * nscd/netgroupcache.c (do_notfound): New function.
29049 (addgetnetgrentX): Use it.
29050
29051 [BZ # 16365]
29052 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
29053 NSS_STATUS_NOTFOUND.
29054
29055 2014-01-01 Joseph Myers <joseph@codesourcery.com>
29056
29057 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
29058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29059
29060 2014-01-01 Allan McRae <allan@archlinux.org>
29061
29062 * scripts/update-copyrights: Update configure input file suffix.
29063
29064 * NEWS: Update copyright year.
29065 * catgets/gencat.c: Likewise.
29066 * csu/version.c: Likewise.
29067 * debug/catchsegv.sh: Likewise.
29068 * debug/pcprofiledump.c: Likewise.
29069 * debug/xtrace.sh: Likewise.
29070 * elf/ldconfig.c: Likewise.
29071 * elf/ldd.bash.in: Likewise.
29072 * elf/pldd.c: Likewise.
29073 * elf/sotruss.ksh: Likewise.
29074 * elf/sprof.c: Likewise.
29075 * iconv/iconv_prog.c: Likewise.
29076 * iconv/iconvconfig.c: Likewise.
29077 * locale/programs/locale.c: Likewise.
29078 * locale/programs/localedef.c: Likewise.
29079 * login/programs/pt_chown.c: Likewise.
29080 * malloc/memusage.sh: Likewise.
29081 * malloc/memusagestat.c: Likewise.
29082 * malloc/mtrace.pl: Likewise.
29083 * manual/libc.texinfo: Likewise.
29084 * nscd/nscd.c: Likewise.
29085 * nss/getent.c: Likewise.
29086 * nss/makedb.c: Likewise.
29087 * posix/getconf.c: Likewise.
29088 * scripts/test-installation.pl: Likewise.
29089
29090 * All files with FSF copyright notices: Update copyright dates
29091 using scripts/update-copyrights.
29092 * intl/plural.c: Regenerated.
29093 * locale/programs/charmap-kw.h: Likewise.
29094 * locale/programs/locfile-kw.h: Likewise.
29095
29096 2013-12-31 Mike Frysinger <vapier@gentoo.org>
29097
29098 * sysdeps/unix/sysv/linux/configure: Regenerated.
29099 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
29100 the linux/fanotify.h header.
29101 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
29102 HAVE_LINUX_FANOTIFY_H is defined.
29103
29104 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
29105
29106 * benchtests/cos-inputs: New inputs.
29107 * benchtests/sin-inputs: Likewise.
29108
29109 * benchtests/atan-inputs: New inputs. Fix name of multiple
29110 precision fallback inputs.
29111
29112 * benchtests/atanh-inputs: New inputs.
29113 * benchtests/tanh-inputs: Likewise.
29114
29115 * benchtests/acosh-inputs: New inputs.
29116 * benchtests/asinh-inputs: Likewise.
29117
29118 * benchtests/cosh-inputs: New inputs.
29119 * benchtests/sinh-inputs: Likewise.
29120
29121 * benchtests/acos-inputs: Add more inputs.
29122 * benchtests/asin-inputs: Likewise.
29123
29124 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
29125
29126 [BZ #16375]
29127 * manual/arith.texi: Fix spelling.
29128 * manual/charset.texi: Likewise.
29129 * manual/errno.texi: Likewise.
29130 * manual/filesys.texi: Likewise.
29131 * manual/lang.texi: Likewise.
29132 * manual/llio.texi: Likewise.
29133 * manual/locale.texi: Likewise.
29134 * manual/message.texi: Likewise.
29135 * manual/resource.texi: Likewise.
29136 * manual/search.texi: Likewise.
29137 * manual/setjmp.texi: Likewise.
29138 * manual/stdio.texi: Likewise.
29139 * manual/string.texi: Likewise.
29140 * manual/sysinfo.texi: Likewise.
29141 * manual/time.texi: Likewise.
29142
29143 2013-12-27 Carlos O'Donell <carlos@redhat.com>
29144
29145 * po/sl.po: New file.
29146
29147 2013-12-27 Mike Frysinger <vapier@gentoo.org>
29148
29149 * .gitignore: Add core/.gdbinit/.gdb_history.
29150
29151 2013-12-27 Allan McRae <allan@archlinux.org>
29152
29153 [BZ #16369]
29154 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
29155 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
29156
29157 2013-12-24 Brooks Moses <bmoses@google.com>
29158
29159 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
29160 all compilers that claim C++98 compliance, not just GCC.
29161 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29162 Likewise.
29163
29164 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
29165
29166 * NEWS: Restore accidentally deleted bug-fix entries.
29167
29168 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
29169 Ondřej Bílka <neleai@seznam.cz>
29170
29171 [BZ #15073]
29172 * malloc/malloc.c (_int_free): Perform sanity check only if we
29173 have_lock.
29174
29175 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
29176
29177 [BZ #12986]
29178 * manual/stdio.texi (String Input Conversions): Clarify that character
29179 classes are not supported.
29180
29181 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29182
29183 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29184
29185 2013-12-22 Joseph Myers <joseph@codesourcery.com>
29186
29187 [BZ #16337]
29188 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29189 Calculate results for small negative arguments directly rather
29190 than using reflection formula with special underflow handling.
29191
29192 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
29193 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
29194 sysdeps/unix/bsd/bsd4.4/syscalls.list.
29195 (fchflags): Likewise.
29196 (revoke): Likewise.
29197 (setlogin): Likewise.
29198 (sigaltstack): Likewise.
29199 (wait4): Likewise.
29200 (sigblock): Remove.
29201 (sigsetmask): Likewise.
29202 (wait3): Likewise.
29203 (waitpid): Likewise.
29204 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
29205 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
29206 file.
29207 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
29208 * sysdeps/unix/bsd/Makefile: ... here.
29209 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
29210 * sysdeps/unix/bsd/Versions: ... here.
29211 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
29212 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
29213 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
29214 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
29215 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
29216 * sysdeps/unix/bsd/sigblock.c: ... here.
29217 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
29218 * sysdeps/unix/bsd/sigsetmask.c: ... here.
29219 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
29220 * sysdeps/unix/bsd/sigvec.c: ... here.
29221 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
29222 * sysdeps/unix/bsd/tcdrain.c: ... here.
29223 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
29224 * sysdeps/unix/bsd/tcgetattr.c: ... here.
29225 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
29226 * sysdeps/unix/bsd/tcsetattr.c: ... here.
29227 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
29228 * sysdeps/unix/bsd/wait.c: ... here.
29229 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
29230 * sysdeps/unix/bsd/wait3.c: ... here.
29231 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
29232 * sysdeps/unix/bsd/waitpid.c: ... here.
29233
29234 2013-12-21 Joseph Myers <joseph@codesourcery.com>
29235
29236 [BZ #16356]
29237 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
29238 round-to-nearest for [!USE_AS_EXPM1L].
29239 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
29240 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
29241 more tests of exp and exp10. Expect some exp10 tests to miss
29242 exceptions or fail in directed rounding modes.
29243 * math/auto-libm-test-out: Regenerated.
29244 * math/libm-test.inc (exp10_tonearest_test_data): New array.
29245 (exp10_test_tonearest): New function.
29246 (exp10_towardzero_test_data): New array.
29247 (exp10_test_towardzero): New function.
29248 (exp10_downward_test_data): New array.
29249 (exp10_test_downward): New function.
29250 (exp10_upward_test_data): New array.
29251 (exp10_test_upward): New function.
29252 (main): Call the new functions.
29253 * sysdeps/i386/fpu/libm-test-ulps: Update.
29254 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29255
29256 2013-12-20 Joseph Myers <joseph@codesourcery.com>
29257
29258 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29259 asinh, atan, atan2, atanh, cbrt, cos and cosh.
29260 * math/auto-libm-test-out: Regenerated.
29261 * math/libm-test.inc (acosh_test_data): Add more tests.
29262 (atanh_test_data): Likewise.
29263 (ceil_test_data): Likewise.
29264 (copysign_test_data): Likewise.
29265 * sysdeps/i386/fpu/libm-test-ulps: Update.
29266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29267
29268 * timezone/checktab.awk: Update from tzcode 2013i.
29269 * timezone/private.h: Likewise.
29270 * timezone/scheck.c: Likewise.
29271 * timezone/tzfile.h: Likewise.
29272 * timezone/tzselect.ksh: Likewise.
29273 * timezone/zdump.c: Likewise.
29274 * timezone/zic.c: Likewise.
29275
29276 * math/auto-libm-test-in: Add tests of cpow.
29277 * math/auto-libm-test-out: Regenerated.
29278 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
29279 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29280 mpc_cc_c.
29281 (func_calc_desc): Add mpc_cc_c union field.
29282 (test_functions): Add cpow.
29283 (special_fill_2pi): New function.
29284 (special_real_inputs): Add 2pi.
29285 (calc_generic_results): Handle mpc_cc_c.
29286 * sysdeps/i386/fpu/libm-test-ulps: Update.
29287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29288
29289 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
29290 csqrt, ctan and ctanh.
29291 * math/auto-libm-test-out: Regenerated.
29292 * math/libm-test.inc (TEST_COND_x86_64): New macro.
29293 (TEST_COND_x86): Likewise.
29294 (ccos_test_data): Use AUTO_TESTS_c_c.
29295 (ccosh_test_data): Likewise.
29296 (cexp_test_data): Likewise.
29297 (clog_test_data): Likewise.
29298 (csqrt_test_data): Likewise.
29299 (ctan_test_data): Likewise.
29300 (ctan_tonearest_test_data): Likewise.
29301 (ctan_towardzero_test_data): Likewise.
29302 (ctan_downward_test_data): Likewise.
29303 (ctan_upward_test_data): Likewise.
29304 (ctanh_test_data): Likewise.
29305 (ctanh_tonearest_test_data): Likewise.
29306 (ctanh_towardzero_test_data): Likewise.
29307 (ctanh_downward_test_data): Likewise.
29308 (ctanh_upward_test_data): Likewise.
29309 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29310 mpc_c_c.
29311 (func_calc_desc): Add mpc_c_c union field.
29312 (FUNC_mpc_c_c): New macro.
29313 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
29314 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
29315 ctanh.
29316 (special_fill_min_subnorm_p120): New function.
29317 (special_real_inputs): Add min_subnorm_p120.
29318 (calc_generic_results): Handle mpc_c_c.
29319 * sysdeps/i386/fpu/libm-test-ulps: Update.
29320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29321
29322 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29323
29324 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
29325 (do_sin_slow): New functions.
29326 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
29327 (cslow2, csloww1, csloww2): Use the new functions.
29328
29329 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
29330 Use M to change sign of result instead of X. Assume X is
29331 positive.
29332 (csloww1): Likewise.
29333 (__sin): Adjust.
29334 (__cos): Adjust.
29335
29336 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
29337 arguments A and DA.
29338 (__sin): Adjust.
29339 (__cos): Likewise.
29340
29341 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
29342 (__cos): Likewise.
29343 (sloww1): Don't adjust sign of DX.
29344 (csloww1): Likewise.
29345 (sloww2): Use X directly and don't adjust sign of DX.
29346 (csloww2): Likewise.
29347
29348 2013-12-19 Joseph Myers <joseph@codesourcery.com>
29349
29350 * math/auto-libm-test-in: Add tests of cabs and carg.
29351 * math/auto-libm-test-out: Regenerated.
29352 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
29353 (carg_test_data): Likewise.
29354 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29355 mpc_c_f.
29356 (func_calc_desc): Add mpc_c_f union field.
29357 (test_functions): Add cabs and carg.
29358 (calc_generic_results): Handle mpc_c_f.
29359
29360 * sysdeps/powerpc/powerpc32/libgcc-compat.S
29361 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
29362 as a macro and a compat symbol.
29363 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
29364 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
29365 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
29366 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
29367 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
29368 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
29369 not use .hidden.
29370 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
29371 Likewise.
29372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
29373 Likewise.
29374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
29375 Likewise.
29376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
29377 Likewise.
29378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
29379 Likewise.
29380 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
29381 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
29382 from GLIBC_2.3.2.
29383
29384 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29385
29386 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29387
29388 2013-12-19 Joseph Myers <joseph@codesourcery.com>
29389
29390 * manual/texinfo.tex: Update to version 2013-11-26.10 with
29391 trailing whitespace removed.
29392 * scripts/config.guess: Update to version 2013-11-29.
29393 * scripts/config.sub: Update to version 2013-10-01.
29394
29395 * math/auto-libm-test-in: Add tests of sincos.
29396 * math/auto-libm-test-out: Regenerated.
29397 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
29398 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29399 mpfr_f_11.
29400 (func_calc_desc): Add mpfr_f_11 union field.
29401 (test_functions): Add sincos.
29402 (calc_generic_results): Handle mpfr_f_11.
29403 * sysdeps/i386/fpu/libm-test-ulps: Update.
29404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29405
29406 2013-12-19 Andreas Schwab <schwab@suse.de>
29407
29408 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
29409 CALL_MCOUNT.
29410 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29411 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
29412 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
29413
29414 2013-12-19 Joseph Myers <joseph@codesourcery.com>
29415
29416 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
29417 * sysdeps/i386/fpu/libm-test-ulps: Update.
29418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29419
29420 [BZ #16293]
29421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
29422 round-to-nearest mode when using frndint.
29423 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
29424 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29425 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
29426 Likewise.
29427 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
29428 sinh test to fail.
29429 * math/auto-libm-test-out: Regenerated.
29430 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
29431 (TEST_COND_x86): Likewise.
29432 (expm1_tonearest_test_data): New array.
29433 (expm1_test_tonearest): New function.
29434 (expm1_towardzero_test_data): New array.
29435 (expm1_test_towardzero): New function.
29436 (expm1_downward_test_data): New array.
29437 (expm1_test_downward): New function.
29438 (expm1_upward_test_data): New array.
29439 (expm1_test_upward): New function.
29440 (main): Run the new test functions.
29441 * sysdeps/i386/fpu/libm-test-ulps: Update.
29442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29443
29444 * include/features.h: Update comment documenting feature test
29445 macros. Mention _DEFAULT_SOURCE in comment.
29446 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
29447 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
29448 _BSD_SOURCE and _SVID_SOURCE.
29449 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
29450 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
29451 !_SVID_SOURCE]: Likewise.
29452 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29453 (__USE_POSIX_IMPLICITLY): Define.
29454 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29455 (_POSIX_SOURCE): Undefine and redefine.
29456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
29457 (_POSIX_C_SOURCE): Likewise.
29458 * manual/creature.texi (_DEFAULT_SOURCE): Document.
29459 (Feature Test Macros): Update documentation of default features.
29460
29461 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29462
29463 * benchtests/Makefile: Add bench-strtok.
29464 * benchtests/bench-strtok.c: New file: strtok benchtest.
29465
29466 2013-12-19 Allan McRae <allan@archlinux.org>
29467
29468 * manual/install.texi: Suppress menu for plain text output.
29469 * INSTALL: Regenerated.
29470
29471 2013-12-18 Brooks Moses <bmoses@google.com>
29472
29473 [BZ #15846]
29474 * misc/getauxval.c: Include errno.h.
29475 (__getauxval): Set errno to ENOENT if the requested type is not
29476 found.
29477 * misc/sys/auxv.h (getauxval): Document that it may set errno;
29478 don't declare with __attribute_const__.
29479 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
29480 * manual/startup.texi: Document that getauxval sets errno.
29481
29482 2013-12-18 Joseph Myers <joseph@codesourcery.com>
29483
29484 * math/auto-libm-test-in: Add tests of jn and yn.
29485 * math/auto-libm-test-out: Regenerated.
29486 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
29487 (yn_test_data): Likewise.
29488 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29489 mpfr_if_f.
29490 (func_calc_desc): Add mpfr_if_f union field.
29491 (FUNC_mpfr_if_f): New macro.
29492 (test_functions): Add jn and yn.
29493 (calc_generic_results): Assert type of second input for
29494 mpfr_ff_f. Handle mpfr_if_f.
29495 (output_for_one_input_case): Disable all checking for arguments
29496 fitting floating-point types in case of an integer argument.
29497 * sysdeps/i386/fpu/libm-test-ulps: Update.
29498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29499
29500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
29501 Don't expect fegetround reference in libm.so.
29502
29503 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29504
29505 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
29506 $(config-cflags-nofma).
29507
29508 2013-12-18 Joseph Myers <joseph@codesourcery.com>
29509
29510 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
29511 * math/auto-libm-test-out: Regenerated.
29512
29513 [BZ #16338]
29514 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
29515 to determine exponent and adjust argument to have exponent of -1.
29516 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
29517 log2.
29518 * math/auto-libm-test-out: Regenerated.
29519 * sysdeps/i386/fpu/libm-test-ulps: Update.
29520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29521
29522 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
29523
29524 * manual/probes.texi: Remove cases when per-thread arenas are
29525 disabled.
29526
29527 2013-12-18 Andreas Schwab <schwab@suse.de>
29528
29529 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
29530 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
29531 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
29532 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
29533 * sysdeps/i386/i686/multiarch/Makefile: Update.
29534 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
29535
29536 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29537
29538 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
29539 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
29540
29541 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
29542
29543 [BZ #15968]
29544 Support TZ transition times < 00:00:00.
29545 This is needed for version-3 tz-format files; it supports time
29546 stamps past 2037 for America/Godthab (the only entry in the tz
29547 database for which this change is relevant).
29548 * manual/time.texi (TZ Variable): Document transition times
29549 from -167:59:59 through -00:00:01.
29550 * time/tzset.c (tz_rule): Time of day is now signed.
29551 (__tzset_parse_tz): Parse negative time of day.
29552
29553 Document TZ transition times >= 25:00:00.
29554 * manual/time.texi (TZ Variable): Document transition times from
29555 25:00:00 through 167:59:59. These are already supported, and this
29556 support will help with version-3 tz-format files.
29557
29558 * manual/time.texi (TZ Variable): Modernize North America example
29559 to reflect current (i.e., 2007-and-later) daylight saving rules.
29560
29561 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
29562
29563 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29564
29565 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
29566 * sysdeps/unix/bsd/bits/stat.h: Likewise.
29567 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
29568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
29569 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
29570 * sysdeps/unix/bsd/bsdstat.h: Likewise.
29571 * sysdeps/unix/bsd/clock.c: Likewise.
29572 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
29573 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
29574 * sysdeps/unix/bsd/init-posix.c: Likewise.
29575 * sysdeps/unix/bsd/poll.c: Likewise.
29576 * sysdeps/unix/bsd/ptsname.c: Likewise.
29577 * sysdeps/unix/bsd/seekdir.c: Likewise.
29578 * sysdeps/unix/bsd/setegid.c: Likewise.
29579 * sysdeps/unix/bsd/seteuid.c: Likewise.
29580 * sysdeps/unix/bsd/setgid.c: Likewise.
29581 * sysdeps/unix/bsd/setrgid.c: Likewise.
29582 * sysdeps/unix/bsd/setruid.c: Likewise.
29583 * sysdeps/unix/bsd/setsid.c: Likewise.
29584 * sysdeps/unix/bsd/setuid.c: Likewise.
29585 * sysdeps/unix/bsd/sigaction.c: Likewise.
29586 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
29587 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
29588 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
29589 * sysdeps/unix/bsd/telldir.c: Likewise.
29590 * sysdeps/unix/bsd/times.c: Likewise.
29591 * sysdeps/unix/bsd/usleep.c: Likewise.
29592
29593 * misc/Makefile (install-lib): Remove libbsd-compat.a.
29594 ($(objpfx)libbsd-compat.a): Remove rule.
29595
29596 * include/features.h (__FAVOR_BSD): Do not define.
29597 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
29598 features conflicting with POSIX.
29599 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
29600 (_BSD_SOURCE): Remove description of not being a subset of other
29601 feature test macros.
29602 * manual/job.texi (getpgrp): Do not document BSD version.
29603 (getpgid): Do not document by reference to BSD getpgrp.
29604 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
29605 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
29606 * signal/signal.h [__FAVOR_BSD]: Likewise.
29607 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
29608 instead of making contents conditional on [__FAVOR_BSD].
29609 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
29610
29611 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29612
29613 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29614
29615 2013-12-17 Joseph Myers <joseph@codesourcery.com>
29616
29617 [BZ #16314]
29618 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
29619 values below 2**-450, not 2**-500.
29620 * math/auto-libm-test-in: Don't allow spurious underflow from
29621 hypot.
29622 * math/auto-libm-test-out: Regenerated.
29623
29624 [BZ #16316]
29625 [BZ #16330]
29626 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
29627 values of ha and hb and sort them after adjusting subnormal
29628 arguments.
29629 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29630 Likewise.
29631 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
29632 values of ea and eb and sort them after adjusting subnormal
29633 arguments.
29634 * math/auto-libm-test-in: Do not expect some hypot tests of
29635 subnormals to fail. Add more hypot tests.
29636 * math/auto-libm-test-out: Regenerated.
29637
29638 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29639
29640 [BZ #13304]
29641 * sysdeps/sh/s_fma.c: New file.
29642 * sysdeps/sh/s_fmaf.c: New file.
29643 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
29644 version.
29645 * sysdeps/sh/Implies: Add sh/soft-fp.
29646
29647 2013-12-16 Roland McGrath <roland@hack.frob.com>
29648
29649 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
29650 level of indirection to members `objname', `errstring', `malloced'.
29651 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
29652 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
29653 it as the __longjmp argument (just pass 1 instead).
29654 (_dl_catch_error): Initialize C with argument pointers and address of
29655 volatile local ERRCODE rather than copying values out of C at return.
29656
29657 2013-12-16 Joseph Myers <joseph@codesourcery.com>
29658
29659 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
29660 * math/auto-libm-test-out: Regenerated.
29661 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
29662 (hypot_test_data): Likewise.
29663 (pow_test_data): Likewise.
29664 (pow_tonearest_test_data): Likewise.
29665 * math/gen-auto-libm-tests.c (func_calc_method): Add value
29666 mpfr_ff_f.
29667 (func_calc_desc): Add mpfr_ff_f union field.
29668 (FUNC_mpfr_ff_f): New macro.
29669 (test_functions): Add atan2, hypot and pow.
29670 (special_fill_min): New function.
29671 (special_fill_minus_min): Likewise.
29672 (special_fill_min_subnorm): Likewise.
29673 (special_fill_minus_min_subnorm): Likewise.
29674 (special_real_inputs): Add min, -min, min_subnorm and
29675 -min_subnorm.
29676 (calc_generic_results): Handle mpfr_ff_f.
29677 * sysdeps/i386/fpu/libm-test-ulps: Update.
29678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29679
29680 2013-12-16 Will Newton <will.newton@linaro.org>
29681
29682 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
29683 (Aligned Memory Blocks): Add documentation for aligned_alloc
29684 and suggest it as an alternative to posix_memalign.
29685 (Hooks for Malloc): Document __memalign_hook is also called
29686 for aligned_alloc. (Summary of Malloc): Add summary for
29687 aligned alloc. Document __memalign_hook is also called
29688 for aligned_alloc.
29689
29690 2013-12-16 Will Newton <will.newton@linaro.org>
29691
29692 * manual/memory.texi (Malloc Examples): Clarify default
29693 alignment documentation. Suggest posix_memalign rather
29694 than memalign or valloc.
29695 (Aligned Memory Blocks): Remove suggestion to use memalign
29696 or valloc. Remove obsolete comment about BSD.
29697 Document memalign errno values and mark the function obsolete.
29698 Document posix_memalign returned error codes. Mark valloc
29699 as obsolete. (Hooks for Malloc): __memalign_hook is also
29700 called for posix_memalign and valloc.
29701 (Summary of Malloc): Add posix_memalign to function summary.
29702 __memalign_hook is also called for posix_memalign and valloc.
29703
29704 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
29705
29706 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
29707 TAYLOR_SIN.
29708 (__sin): Adjust.
29709 (__cos): Likewise.
29710 (sloww): Use mynumber union. Expand ternary operator into
29711 if-else statements.
29712 (cslow): use mynumber union.
29713
29714 2013-12-16 Allan McRae <allan@archlinux.org>
29715
29716 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
29717 * configure: Regenerated.
29718
29719 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
29720
29721 [BZ #14120]
29722 * configure.ac: Added --enable-maintainer-mode. Check for
29723 autoconf when enabled.
29724 * configure: Regenerated.
29725
29726 * nscd/nscd.service: New file.
29727 * nscd/nscd.tmpfiles: New file.
29728
29729 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
29730
29731 [BZ #12100]
29732 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
29733 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
29734 * sysdeps/x86_64/multiarch/strstr.c: ... here.
29735 (strstr): Add __strstr_sse2_unaligned ifunc.
29736 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
29737 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
29738 (strcasestr): Remove __strcasestr_sse42 ifunc.
29739 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
29740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29741 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
29742
29743 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
29744
29745 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
29746 * sysdeps/sh/bits/fenv.h: ... here.
29747 * sysdeps/sh/sh4/fpu/bits: Remove directory.
29748
29749 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29750
29751 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
29752
29753 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
29754 hypotf multiarch implementations.
29755 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
29756 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
29757 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
29758 multiarch hypot for PPC64.
29759 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
29760 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
29761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
29762 multiarch hypotf for PPC64.
29763
29764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
29765 modff multiarch implementations.
29766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
29767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
29768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
29769 multiarch modf for PPC64.
29770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
29771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
29772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
29773 multiarch modff for PPC64.
29774
29775 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
29776 and logl multiarch implementations.
29777 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
29778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
29779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
29780 multiarch logb for PPC64.
29781 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
29782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
29783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
29784 multiarch logb for PPC64.
29785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
29786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
29787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
29788 multiarch logb for PPC64.
29789
29790 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
29791 isinff multiarch implementation.
29792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
29793 file.
29794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
29795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
29796 multiarch isinf for PPC64.
29797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
29798 file.
29799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
29800 multiarch isinff for PPC64.
29801
29802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
29803 finitef multiarch implementation.
29804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
29805 file.
29806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
29807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
29808 multiarch finite for PPC64.
29809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
29810 file.
29811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
29812 multiarch finitef for PPC64.
29813
29814 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
29815 lrint multiarch implementation.
29816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
29817 file.
29818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
29819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
29820 multiarch llrint for PPC64.
29821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
29822 multiarch lrint for PPC64.
29823
29824 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
29825 copysignf multiarch implementation.
29826 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
29827 file.
29828 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
29829 file.
29830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
29831 multiarch copysign for PPC64.
29832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
29833 multiarch copysignf for PPC64.
29834
29835 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
29836 multiarch implementation.
29837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
29838 file.
29839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
29840 file.
29841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
29842 file.
29843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
29844 file.
29845 multiarch llround for PPC64.
29846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
29847 multiarch trunc for PPC64.
29848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
29849 multiarch truncf for PPC64.
29850
29851 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
29852 multiarch implementation.
29853 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
29854 file.
29855 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
29856 file.
29857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
29858 file.
29859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
29860 file.
29861 multiarch llround for PPC64.
29862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
29863 multiarch round for PPC64.
29864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
29865 multiarch roundf for PPC64.
29866
29867 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
29868 multiarch implementation.
29869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
29870 file.
29871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
29872 file.
29873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
29874 file.
29875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
29876 file.
29877 multiarch llround for PPC64.
29878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
29879 multiarch floor for PPC64.
29880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
29881 multiarch floorf for PPC64.
29882
29883 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
29884 multiarch implementation.
29885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
29886 file.
29887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
29888 file.
29889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
29890 file.
29891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
29892 file.
29893 multiarch llround for PPC64.
29894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
29895 multiarch ceil for PPC64.
29896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
29897 multiarch ceilf for PPC64.
29898
29899 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
29900 multiarch implementation.
29901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
29902 file.
29903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
29904 file.
29905 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
29906 file.
29907 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
29908 multiarch llround for PPC64.
29909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
29910 multiarch lround for PPC64.
29911
29912 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
29913 multiarch implementation.
29914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
29915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
29916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
29917 file.
29918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
29919 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
29920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
29921 multiarch isnan for PPC64.
29922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
29923 multiarch isnanf for PPC64.
29924
29925 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
29926 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
29927 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
29928 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
29929 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
29930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
29931
29932 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
29933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29936
29937 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
29938 multiarch implementations.
29939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29940 (__libc_ifunc_impl_list): Likewise.
29941 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
29942 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
29943 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
29944 multiarch stpcpy for PPC64.
29945
29946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
29947 multiarch implementations.
29948 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29949 (__libc_ifunc_impl_list): Likewise.
29950 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
29951 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
29952 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
29953 multiarch strcpy for PPC64.
29954
29955 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
29956 redefine function name.
29957 (_wordcopy_fwd_dest_aligned): Likewise.
29958 (_wordcopy_bwd_aligned): Likewise.
29959 (_wordcopy_bwd_dest_aligned): Likewise.
29960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
29961 multiarch implementations.
29962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29963 (__libc_ifunc_impl_list): Likewise.
29964 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
29965 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
29966 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
29967 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
29968 multiarch wcscpy for PPC64.
29969
29970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
29971 multiarch implementations.
29972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29973 (__libc_ifunc_impl_list): Likewise.
29974 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
29975 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
29976 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
29977 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
29978 multiarch wcscpy for PPC64.
29979
29980 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
29981 multiarch implementations.
29982 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29983 (__libc_ifunc_impl_list): Likewise.
29984 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
29985 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
29986 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
29987 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
29988 multiarch wcsrchr for PPC64.
29989
29990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
29991 multiarch implementations.
29992 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29993 (__libc_ifunc_impl_list): Likewise.
29994 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
29995 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
29996 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
29997 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
29998 multiarch wcschr for PPC64.
29999
30000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
30001 multiarch implementations.
30002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30003 (__libc_ifunc_impl_list): Likewise.
30004 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
30005 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
30006 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
30007 multiarch strchrnul for PPC64.
30008
30009 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
30010 implementations.
30011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30012 (__libc_ifunc_impl_list): Likewise.
30013 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
30014 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
30015 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
30016 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
30017 strchr for PPC64.
30018
30019 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
30020 implementations.
30021 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30022 (__libc_ifunc_impl_list): Likewise.
30023 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
30024 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
30025 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
30026 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
30027 strncmp for PPC64.
30028
30029 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
30030 multiarch implementations.
30031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30032 (__libc_ifunc_impl_list): Likewise.
30033 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
30034 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
30035 strncasecmp for PPC64.
30036 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
30037 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
30038 multiarch strncasecmp_l for PPC64.
30039
30040 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
30041 multiarch implementations.
30042 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
30043 (__libc_ifunc_impl_list): Likewise.
30044 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
30045 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
30046 multiarch strcasecmp for PPC64.
30047 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
30048 file.
30049 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
30050 multiarch strcasecmp_l for PPC64.
30051
30052 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
30053 implementations.
30054 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30055 (__libc_ifunc_impl_list): Likewise.
30056 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
30057 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
30058 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
30059 strnlen for PPC64.
30060
30061 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
30062 implementations.
30063 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30064 (__libc_ifunc_impl_list): Likewise.
30065 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
30066 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
30067 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
30068 strlen for PPC64.
30069
30070 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
30071 implementations.
30072 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30073 (__libc_ifunc_impl_list): Likewise.
30074 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
30075 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
30076 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
30077 rawmemrchr for PPC64.
30078
30079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
30080 implementation.
30081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30082 (__libc_ifunc_impl_list): Likewise.
30083 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
30084 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
30085 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
30086 memrchr for PPC64.
30087
30088 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
30089 implementation.
30090 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30091 (__libc_ifunc_impl_list): Likewise.
30092 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
30093 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
30094 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
30095 memchr for PPC64.
30096
30097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
30098 implementation.
30099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30100 (__libc_ifunc_impl_list): Likewise.
30101 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
30102 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
30103 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
30104 mempcpy for PPC64.
30105
30106 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
30107 avoid cretion of __bzero symbol.
30108 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
30109 Likewise.
30110 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
30111 Likewise.
30112 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
30113 Likewise.
30114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
30115 multiarch implementations.
30116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30117 (__libc_ifunc_impl_list): Likewise.
30118 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
30119 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
30120 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
30121 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
30122 bzero for PPC32.
30123 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
30124 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
30125 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
30126 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
30127 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
30128 memset for PPC64.
30129 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
30130
30131 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
30132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
30133 implementations.
30134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30135 (__libc_ifunc_impl_list): Likewise.
30136 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
30137 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
30138 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
30139 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
30140 memcmp for PPC64.
30141
30142 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
30143 multiarch for POWER/PPC64.
30144 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
30145 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
30146 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
30147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
30148 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
30149 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
30150 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
30151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
30152 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
30153 memcpy for PPC64.
30154
30155 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
30156 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
30157 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
30158 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
30159 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
30160 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
30161 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
30162 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
30163 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
30164 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
30165 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
30166 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
30167 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
30168 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
30169 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
30170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
30171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
30172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
30173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
30174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
30175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
30176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
30177
30178 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30179
30180 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
30181
30182 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30183
30184 * benchtests/Makefile (bench): Add exp2 and log2.
30185 (LDLIBS-bench-exp2): Add -lm.
30186 (LDLIBS-bench-log2): Likewise.
30187 * benchtests/exp2-inputs: New inputs file.
30188 * benchtests/log2-inputs: New inputs file.
30189 * benchtests/log-inputs: Add new inputs.
30190 * benchtests/tan-inputs: Likewise.
30191
30192 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30193
30194 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
30195 definition...
30196 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
30197 (csloww2): ... from here.
30198
30199 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
30200 instead of structures.
30201 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
30202 (POLYNOMIAL): Likewise.
30203 (TAYLOR_SLOW): Likewise.
30204 (__sin): Likewise.
30205 (__cos): Likewise.
30206 (slow1): Likewise.
30207 (slow2): Likewise.
30208 (sloww): Likewise.
30209 (sloww1); Likewise.
30210 (sloww2): Likewise.
30211 (bsloww1): Likewise.
30212 (bsloww2): Likewise.
30213 (cslow2): Likewise.
30214 (csloww): Likewise.
30215 (csloww1): Likewise.
30216 (csloww2): Likewise.
30217
30218 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
30219
30220 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
30221 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
30222 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
30223 * malloc/hooks.c (realloc_check): Likewise.
30224
30225 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
30226 * malloc/arena.c: Remove PER_THREAD conditional.
30227 [!PER_THREAD]: Remove code.
30228 (ptmalloc_unlock_all2): Likewise.
30229 (ptmalloc_init): Likewise.
30230 (_int_new_arena): Likewise.
30231 (arena_get2): Likewise.
30232 * malloc/hooks.c (__malloc_get_state): Likewise.
30233 (__malloc_set_state): Likewise.
30234 * malloc/malloc.c: Likewise.
30235 (struct malloc_state): Likewise.
30236 (struct malloc_par): Likewise.
30237 (__libc_realloc): Likewise.
30238 (__libc_mallopt): Likewise.
30239
30240 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30241
30242 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
30243
30244 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
30245
30246 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
30247 macro to a function. Check for zero perturb_byte.
30248 (_int_malloc, _int_free): Remove zero perturb_byte checks.
30249
30250 * malloc/malloc.c: (force_reg): Remove.
30251 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
30252 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
30253 force_reg by atomic_forced_read.
30254 * malloc/arena.c (ptmalloc_init): Likewise.
30255 * malloc/hooks.c (top_check): Likewise.
30256
30257 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30258
30259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30260
30261 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
30262
30263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30264
30265 2013-12-08 Joseph Myers <joseph@codesourcery.com>
30266
30267 * math/auto-libm-test-in: Add tests of lgamma.
30268 * math/auto-libm-test-out: Regenerated.
30269 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
30270 (M_LOG_2_SQRT_PIl): Likewise.
30271 (lgamma_test_data): Use AUTO_TESTS_f_f1.
30272 * math/gen-auto-libm-tests.c (func_calc_method): Add value
30273 mpfr_f_f1.
30274 (func_calc_desc): Add mpfr_f_f1 union field.
30275 (ARGS1): New macro.
30276 (ARGS2): Likewise.
30277 (ARGS3): Likewise.
30278 (ARGS4): Likewise.
30279 (RET1): Likewise.
30280 (RET2): Likewise.
30281 (CALC): Likewise.
30282 (FUNC): Likewise.
30283 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
30284 (test_functions): Add lgamma.
30285 (calc_generic_results): Handle mpfr_f_f1.
30286 * sysdeps/i386/fpu/libm-test-ulps: Update.
30287 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30288
30289 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30290
30291 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
30292 __mpn_add_n for PowerPC64/POWER7.
30293 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
30294 __mpn_sub_n for PowerPC64/POWER7.
30295
30296 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
30297 __mpn_addmul_1 for PowerPC64.
30298 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
30299 __mpn_submul_1 for PowerPC64.
30300 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
30301 for PowerPC64.
30302 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
30303 for PowerPC64.
30304
30305 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
30306
30307 [BZ #15089]
30308 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
30309
30310 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30311
30312 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
30313
30314 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
30315 add multiarch folders.
30316 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
30317 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
30318 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
30319 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
30320 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
30321 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
30322 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
30323 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
30324 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
30325 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
30326 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
30327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
30329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
30330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
30331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
30332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
30333
30334 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30335 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
30336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
30337 New file.
30338 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
30339 New file.
30340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
30341 multiarch __ieee754_hypot for PowerPC32.
30342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
30343 New file.
30344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
30345 New file.
30346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
30347 multiarch __ieee754_hypotf for PowerPC32.
30348
30349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
30350 long_double_symbol only if __logbl is defined.
30351 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
30352 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
30353 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
30354 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
30355 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
30356 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
30357 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
30358 path for implementation.
30359 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
30360 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
30361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
30362 logb, and logbl multiarch implementations for PowerPC32.
30363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
30364 file.
30365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
30366 file.
30367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
30368 multiarch logb for PowerPC32.
30369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
30370 file.
30371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
30372 file.
30373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
30374 multiarch logbf for PowerPC32.
30375 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
30376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
30377 file.
30378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
30379 multiarch logbl implementation for PowerPC32.
30380
30381 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
30382 and modff multiarch implementations.
30383 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
30384 New file.
30385 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
30386 New file.
30387 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
30388 multiarch modf for PowerPC32.
30389 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
30390 New file.
30391 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
30392 New file.
30393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
30394 multiarch modff for PowerPC32.
30395
30396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
30397 and lrintf multiarch implementations.
30398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
30399 New file.
30400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
30401 New file.
30402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
30403 multiarch lrint for PowerPC32.
30404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
30405 file: multiarch lrintf for PowerPC32.
30406
30407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
30408 and lroundf multiarch implementations.
30409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
30410 New file.
30411 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
30412 New file.
30413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
30414 New file.
30415 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
30416 multiarch lround for PowerPC32.
30417 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
30418 file: multiarch lroundf for PowerPC32.
30419
30420 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
30421 copysign and copysignf multiarch implementations.
30422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
30423 New file.
30424 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
30425 New file.
30426 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
30427 file: multiarch copysign for PowerPC32.
30428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
30429 file: multiarch copysignf for PowerPC32.
30430
30431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
30432 and truncf multiarch implementations.
30433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
30434 New file.
30435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
30436 file.
30437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
30438 multiarch trunc for PowerPC32.
30439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
30440 New file.
30441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
30442 New file.
30443 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
30444 multiarch truncf for PowerPC32.
30445
30446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
30447 and roundf multiarch implementations.
30448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
30449 New file.
30450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
30451 file.
30452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
30453 multiarch round for PowerPC32.
30454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
30455 New file.
30456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
30457 New file.
30458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
30459 multiarch roundf for PowerPC32.
30460
30461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
30462 and floorf multiarch implementations.
30463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
30464 New file.
30465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
30466 file.
30467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
30468 multiarch floor for PowerPC32.
30469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
30470 New file.
30471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
30472 New file.
30473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
30474 multiarch floorf for PowerPC32.
30475
30476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
30477 and ceilf multiarch implementations.
30478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
30479 New file.
30480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
30481 file.
30482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
30483 multiarch ceil for PowerPC32.
30484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
30485 New file.
30486 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
30487 file.
30488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
30489 multiarch ceilf for PowerPC32.
30490
30491 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
30492 is defined.
30493 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
30494 FINITEF is defined.
30495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
30496 and finitef multiarch implementations.
30497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
30498 New file.
30499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
30500 file.
30501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
30502 multiarch finite for PowerPC32.
30503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
30504 New file.
30505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
30506 file: multiarch finitef for PowerPC32.
30507
30508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
30509 and isinff multiarch implementations.
30510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
30511 file.
30512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
30513 file.
30514 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
30515 multiarch isinf for PowerPC32.
30516 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
30517 New file.
30518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
30519 multiarch isinff for PowerPC32.
30520
30521 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
30522 alias when __isnan is defined.
30523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
30524 and isnanf multiarch implementations.
30525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
30526 file.
30527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
30528 file.
30529 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
30530 file.
30531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
30532 file.
30533 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
30534 multiarch isnan for PowerPC32.
30535 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
30536 New file.
30537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
30538 New file.
30539 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
30540 multiarch isnanf for PowerPC32.
30541
30542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
30543 and sqrtf multiarch implementations.
30544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
30545 file.
30546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
30547 file.
30548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
30549 multiarch sqrt for PowerPC32.
30550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
30551 file.
30552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
30553 file.
30554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
30555 multiarch sqrtf for PowerPC32.
30556
30557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
30558 and llroundf multiarch implementations.
30559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
30560 New file.
30561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
30562 New file.
30563 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
30564 New file.
30565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
30566 file: multiarch llround for PowerPC32.
30567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
30568 file: multiarch llroundf for PowerPC32.
30569
30570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
30571 multiarch PowerPC32 fpu implementations.
30572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
30573 New file.
30574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
30575 New file.
30576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
30577 multiarch llrint for PowerPC32.
30578 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
30579 New file.
30580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
30581 New file.
30582 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
30583 file.
30584
30585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
30586
30587 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
30588 file.
30589 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
30590 file.
30591 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
30592 file.
30593 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
30594 multiarch wordcopy for PPC32.
30595 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30596 wordcopy objects.
30597 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30598 (__libc_ifunc_impl_list): Likewise.
30599 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
30600 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
30601 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
30602 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
30603 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
30604 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
30605
30606 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
30607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
30608 file.
30609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
30610 file.
30611 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
30612 file.
30613 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
30614 multiarch wcscpy for PPC32.
30615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
30616 multiarch objects.
30617 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30618 (__libc_ifunc_impl_list): Likewise.
30619 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30620 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30621 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
30622 sysdeps/powerpc/power6/wcscpy.c.
30623
30624 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
30625 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
30626 file.
30627 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
30628 file.
30629 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
30630 file.
30631 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
30632 multiarch wcsrchr for PPC32.
30633 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30634 multiarch objects.
30635 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30636 (__libc_ifunc_impl_list): Likewise.
30637 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
30638 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
30639 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
30640 sysdeps/powerpc/power6/wcsrchr.c.
30641
30642 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
30643 file.
30644 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
30645 file.
30646 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
30647 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
30648 multiarch wcschr for PPc32.
30649 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
30650 multiarch objects.
30651 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30652 (__libc_ifunc_impl_list): Likewise.
30653 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
30654 * sysdeps/powerpc/power6/wcschr.c: ... to here.
30655 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
30656 sysdeps/powerpc/power6/wcschr.c.
30657
30658 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
30659 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
30660 file.
30661 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
30662 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
30663 file: multiarch strchr for PPC32.
30664 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
30665 multiarch objects.
30666 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30667 (__libc_ifunc_impl_list): Likewise.
30668
30669 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
30670 name.
30671 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
30672 file.
30673 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
30674 file.
30675 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
30676 multiarch strchrnul for PPC32.
30677 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
30678 multiarch objects.
30679 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30680 (__libc_ifunc_impl_list): Likewise.
30681
30682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
30683 file.
30684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
30685 multiarch strncasecmp for PPC32.
30686 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
30687 file.
30688 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
30689 multiarch strncasecmp_l for PPC32.
30690 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
30691 strncasecmp multiarch objects.
30692 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30693 (__libc_ifunc_impl_list): Likewise.
30694
30695 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
30696 file.
30697 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
30698 multiarch strncasecmp for PPC32.
30699 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30700 New file.
30701 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
30702 multiarch strcasecmp_l for PPC32.
30703 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
30704 multiarch objects.
30705 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30706 (__libc_ifunc_impl_list): Likewise.
30707
30708 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
30709 file.
30710 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
30711 file.
30712 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
30713 multiarch strncmp for PPC32.
30714 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
30715 multiarch objects.
30716 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30717 (__libc_ifunc_impl_list): Likewise.
30718
30719 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
30720 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
30721 file.
30722 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
30723 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
30724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
30725 multiarch objects.
30726 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30727 (__libc_ifunc_impl_list): Likewise.
30728
30729 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
30730 file.
30731 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
30732 file.
30733 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
30734 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
30735 multiarch objects.
30736 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30737 (__libc_ifunc_impl_list): Likewise.
30738
30739 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
30740 file.
30741 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
30742 file.
30743 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
30744 multiarch rawmemchr for PPC32.
30745 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
30746 multiarch objects.
30747 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30748 (__libc_ifunc_impl_list): Likewise.
30749
30750 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
30751 file.
30752 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
30753 file.
30754 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
30755 file: memrchr multiarch for PPC32.
30756 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
30757 multiarch objects.
30758 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
30759 (__libc_ifunc_impl_list): Likewise.
30760
30761 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30762 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
30763 file.
30764 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
30765 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
30766 multiarch memchr for PPC32.
30767 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
30768 multiarch objects.
30769 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30770 (__libc_ifunc_impl_list): Likewise.
30771
30772 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
30773 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
30774 file.
30775 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
30776 file.
30777 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
30778 file: multiarch mempcpy for PPC32.
30779 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
30780 multiarch objects.
30781 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30782 (__libc_ifunc_impl_list): Likewise.
30783
30784 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
30785 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
30786 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
30787 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
30788 multiarch bzero for PPC32.
30789 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
30790 file.
30791 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
30792 file.
30793 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
30794 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
30795 file: multiarch memset for PPC32.
30796 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
30797 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
30798 memset multiarch objects.
30799 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30800 (__libc_ifunc_impl_list): Likewise.
30801
30802 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
30803 file.
30804 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
30805 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
30806 memcmp for PPC32.
30807 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
30808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
30809 multiarch objects.
30810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30811 (__libc_ifunc_impl_list): Likewise.
30812
30813 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
30814 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
30815 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
30816 file.
30817 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
30818 file.
30819 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
30820 file.
30821 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
30822 multiarch memcpy for PPC32.
30823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
30824 multiarch objects.
30825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30826 (__libc_ifunc_impl_list): Likewise.
30827
30828 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
30829 support multiarch for POWER/PPC32.
30830 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
30831 Likewise.
30832 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
30833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
30834 Implies file to make multiarch folder appers before the fpu and
30835 default folder for power4 configuration.
30836
30837 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30838
30839 * scripts/bench.pl: Append volatile keyword to type.
30840
30841 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
30842
30843 * sysdeps/sh/sotruss-lib.c: New file.
30844 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
30845
30846 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30847
30848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30849
30850 2013-12-05 Joseph Myers <joseph@codesourcery.com>
30851
30852 [BZ #6810]
30853 * math/w_tgamma.c: Include <errno.h>.
30854 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
30855 * math/w_tgammaf.c: Include <errno.h>.
30856 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
30857 * math/w_tgammal.c: Include <errno.h>.
30858 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
30859 * math/auto-libm-test-in: Do not allow missing errno on tgamma
30860 underflow. Add more tgamma tests.
30861 * math/auto-libm-test-out: Regenerated.
30862 * sysdeps/i386/fpu/libm-test-ulps: Update.
30863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30864
30865 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30866 sin, sinh, tan, tanh, tgamma, y0 and y1.
30867 * math/auto-libm-test-out: Regenerated.
30868 * math/libm-test.inc (TEST_COND_x86_64): New macro.
30869 (TEST_COND_x86): Likewise.
30870 (M_E2l): Remove macro.
30871 (M_E3l): Likewise.
30872 (M_2_SQRT_PIl): Likewise.
30873 (M_SQRT_PIl): Likewise.
30874 (M_1_DIV_El): Likewise.
30875 (log_test_data): Use AUTO_TESTS_f_f.
30876 (log10_test_data): Likewise.
30877 (log1p_test_data): Likewise.
30878 (log2_test_data): Likewise.
30879 (sin_test_data): Likewise.
30880 (sin_tonearest_test_data): Likewise.
30881 (sin_towardzero_test_data): Likewise.
30882 (sin_downward_test_data): Likewise.
30883 (sin_upward_test_data): Likewise.
30884 (sinh_test_data): Likewise.
30885 (sinh_tonearest_test_data): Likewise.
30886 (sinh_towardzero_test_data): Likewise.
30887 (sinh_downward_test_data): Likewise.
30888 (sinh_upward_test_data): Likewise.
30889 (tan_test_data): Likewise.
30890 (tan_tonearest_test_data): Likewise.
30891 (tan_towardzero_test_data): Likewise.
30892 (tan_downward_test_data): Likewise.
30893 (tan_upward_test_data): Likewise.
30894 (tanh_test_data): Likewise.
30895 (tgamma_test_data): Likewise.
30896 (y0_test_data): Likewise.
30897 (y1_test_data): Likewise.
30898 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
30899 (special_real_inputs): Add pi/4.
30900 * sysdeps/i386/fpu/libm-test-ulps: Update.
30901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30902
30903 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30904
30905 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
30906 "longjmp_target" static probes.
30907 (__longjmp): Rename to __longjmp_symbol.
30908 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30909 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
30910 on which longjmp to generate.
30911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
30912 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
30913 probe.
30914 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30915 (__sigjmp_save): Rename to __sigjmp_save_symbol.
30916 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
30917 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
30918 and __sigjmp_save_symbol based on which sigsetjmp to generated.
30919 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
30920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
30921 __longjmp_symbol based on which __longjmp to generate.
30922 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
30923 probe.
30924 (setjmp): Rename to setjmp_symbol.
30925 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30926 (_setjmp): Rename to _setjmp_symbol.
30927 (__sigsetjmp): Rename to __sigsetjmp_symbol.
30928 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
30929 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
30930 which setjmp to generate.
30931 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
30932 "longjmp_target" static probes.
30933
30934 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
30935
30936 * benchtests/README: Add note about output arguments.
30937 * benchtests/bench-sincos.c: Remove file.
30938 * benchtests/sincos-inputs: New file.
30939 * scripts/bench.pl: Identify output arguments and define
30940 static variables for them.
30941
30942 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
30943
30944 [BZ #15941]
30945 * Makefile (INSTALL): Add install-plain.texi as the primary
30946 dependency.
30947 * manual/install-plain.texi: New file.
30948 * manual/install.texi: Include node directive only for
30949 non-plaintext output.
30950
30951 2013-12-04 Joseph Myers <joseph@codesourcery.com>
30952
30953 * stdlib/longlong.h: Update from GCC.
30954
30955 [BZ #6807]
30956 [BZ #15901]
30957 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
30958 * math/w_j0f.c (y0f): Likewise.
30959 * math/w_j0l.c (__y0l): Likewise.
30960 * math/w_j1.c (y1): Likewise.
30961 * math/w_j1f.c (y1f): Likewise.
30962 * math/w_j1l.c (__y1l): Likewise
30963 * math/w_jn.c (yn): Likewise.
30964 * math/w_jnf.c (ynf): Likewise.
30965 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
30966 Bessel function pole errors in _POSIX_ mode. Use NAN as return
30967 value for Bessel function domain errors outside _SVID_ mode.
30968 Adjust sign of return value for yn (negative integer, 0).
30969 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
30970 by zero in return for negative x and set sign appropriately for
30971 negative n.
30972 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
30973 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30974 * math/libm-test.inc (y0_test_data): Add more tests and adjust
30975 expectations in error cases.
30976 (y1_test_data): Likewise.
30977 (yn_test_data): Likewise.
30978 * sysdeps/i386/fpu/libm-test-ulps: Update.
30979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30980
30981 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
30982
30983 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
30984 "64" to "64-v1". Add "64-v2".
30985 (abi-64-options): Rename to ...
30986 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
30987 (abi-64-condition): Rename to ...
30988 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
30989 (abi-64-ld-soname): Rename to ...
30990 (abi-64-v1-ld-soname): ... this.
30991 (abi-64-v2-options): Define.
30992 (abi-64-v2-condition): Likewise.
30993 (abi-64-v2-ld-soname): Likewise.
30994 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
30995 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
30997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
30999
31000 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
31001 Alan Modra <amodra@gmail.com>
31002
31003 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
31004 New versions for use with the ELFv2 ABI.
31005 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
31006 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
31007 declaration.
31008 (struct La_ppc64v2_retval): Likewise.
31009 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
31010 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
31011 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
31012 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
31013 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
31014 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31015 Do not save or restore CR.
31016 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
31017 (_dl_profile_resolve): Do no save or restore CR. Support extended
31018 return values for ELFv2 ABI. Fix location of FPR return registers.
31019 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
31020 updated values for _CALL_ELF == 2.
31021 (La_regs, La_retval, int_retval): Likewise.
31022
31023 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
31024
31025 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
31026 (FRAME_MIN_SIZE_PARM): Likewise.
31027 (FRAME_BACKCHAIN): Likewise.
31028 (FRAME_CR_SAVE): Likewise.
31029 (FRAME_LR_SAVE): Likewise.
31030 (FRAME_TOC_SAVE): Likewise.
31031 (FRAME_PARM_SAVE): Likewise.
31032 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
31033 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
31034 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
31035 (call_mcount_parm_offset): New macro.
31036 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
31037 (PROF): Use symbolic stack frame offsets.
31038 (TAIL_CALL_SYSCALL_ERROR): Likewise.
31039 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
31040 Redefine in terms of FRAME_MIN_SIZE.
31041 (_dl_runtime_resolve): Use symbolic stack frame offsets.
31042 (_dl_profile_resolve): Likewise. Update comment.
31043 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
31044 symbols stack frame offsets.
31045 (__sigsetjmp): Likewise.
31046 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
31047 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
31048 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
31049 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
31050
31051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
31052 (FRAME_BACKCHAIN): Remove.
31053 (FRAME_CR_SAVE): Likewise.
31054 (FRAME_LR_SAVE): Likewise.
31055 (FRAME_COMPILER_DW): Likewise.
31056 (FRAME_LINKER_DW): Likewise.
31057 (FRAME_TOC_SAVE): Likewise.
31058 (FRAME_PARM_SAVE): Likewise.
31059 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
31060 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
31061 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
31063 (CHECK_SP): Use symbolic stack frame offsets.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
31065 zone" instead of caller's parameter save area for temp storage.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31067 Likewise. Also, use symbolic stack frame offsets.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
31069 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
31070 our own stack frame instead of the caller's.
31071 (__socket): Use symbolic stack frame offsets.
31072
31073 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
31074 Alan Modra <amodra@gmail.com>
31075
31076 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
31077 Define.
31078 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
31079 (PPC64_LOCAL_ENTRY_OFFSET): Define.
31080 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
31081 New function.
31082 (elf_machine_fixup_plt): Call it.
31083 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
31084 reloc arguments.
31085 (elf_machine_rela): Update call to elf_machine_plt_conflict.
31086 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
31087 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
31088 r2 before calling target.
31089
31090 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
31091 Alan Modra <amodra@gmail.com>
31092
31093 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
31094 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
31095 versions of macros to support ELFv2 ABI.
31096 (LOCALENTRY): New macro.
31097 (ENTRY, EALIGN): Use it.
31098 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
31099 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
31100 fall through into ENTRY entry point.
31101 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
31102 Only define if _CALL_ELF != 2.
31103
31104 (elf_machine_matches_host): Verify ABI version matches.
31105 (RTLD_START): Use LOCALENTRY.
31106 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
31107 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
31108 (PLT_ENTRY_WORDS): New macro.
31109 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
31110 (elf_machine_runtime_setup): Support ELFv2 ABI.
31111 (elf_machine_fixup_plt): Likewise.
31112 (elf_machine_plt_conflict): Likewise.
31113 (resolve_ifunc): Likewise.
31114 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
31115 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
31116 Likewise.
31117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
31118 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
31119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31120 (makecontext): Support ELFv2 ABI.
31121 * elf/elf.h (EF_PPC64_ABI): Define.
31122
31123 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
31124
31125 * sysdeps/powerpc/powerpc64/sysdep.h
31126 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
31127 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
31128 (ENTRY) [ASSEMBLER]: ... but instead here ...
31129 (EALIGN) [ASSEMBLER]: ... and here.
31130 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
31131 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
31132 (ENTRY_2) [!ASSEMBLER]: Use it.
31133 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
31134 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
31135 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
31136 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
31137 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
31138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
31139 Use PPC64_LOAD_FUNCPTR.
31140
31141 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
31142
31143 2013-12-04 Alan Modra <amodra@gmail.com>
31144
31145 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
31146 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
31147 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
31148 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
31149
31150 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
31151 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
31152 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
31153 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
31154 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
31155 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
31156
31157 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
31158
31159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31160 (__makecontext): Fix incorrect CFI when backtracing out of
31161 context created via makecontext.
31162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
31163 (__setcontext): Fix incorrect CFI during switch to new context.
31164 (__novec_setcontext): Likewise.
31165
31166 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
31167
31168 [BZ #4772]
31169 * time/strptime_l.c (__strptime_internal): Allow modifiers
31170 in strptime.
31171 * time/tst-strptime.c (day_tests): Add testcase.
31172
31173 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31174
31175 * scripts/bench.pl: Skip over blank lines.
31176
31177 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
31178
31179 [BZ #926]
31180 * manual/time.texi (Calendar Time): Clarify what timezone functions
31181 use.
31182
31183 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31184
31185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31186
31187 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
31188
31189 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
31190 implementation.
31191 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
31192 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
31193 * debug/memset_chk.c (__memset_chk): Likewise.
31194 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
31195 * debug/strncpy_chk.c: Likewise.
31196
31197 2013-12-03 Joseph Myers <joseph@codesourcery.com>
31198
31199 [BZ #15268]
31200 [BZ #15425]
31201 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
31202 (__ieee754_exp): For possibly underflowing results, check size of
31203 result and force underflow exception if required.
31204 * math/auto-libm-test-in: Add more tests of exp.
31205 * math/auto-libm-test-out: Regenerated.
31206 * sysdeps/i386/fpu/libm-test-ulps: Update.
31207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31208
31209 [BZ #16283]
31210 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
31211 * math/w_exp2f.c (__exp2f): Likewise.
31212 * math/w_exp2l.c (__exp2l): Likewise.
31213 * math/auto-libm-test-in: Do not allow missing errno on exp2
31214 underflow.
31215 * math/auto-libm-test-out: Regenerated.
31216
31217 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
31218
31219 [BZ #16274]
31220 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
31221 handle filename validation.
31222 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
31223 (do_open): Delete.
31224
31225 2013-12-03 Joseph Myers <joseph@codesourcery.com>
31226
31227 [BZ #6786]
31228 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
31229 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
31230 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
31231 <float.h>.
31232 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
31233 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
31234 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31235 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
31236 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31237 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
31238 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
31239 * math/auto-libm-test-in: Don't allow missing errno from erfc.
31240 Add more erfc tests.
31241 * math/auto-libm-test-out: Regenerated.
31242 * sysdeps/i386/fpu/libm-test-ulps: Update.
31243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31244
31245 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
31246 exp2, expm1, j0 and j1.
31247 * math/auto-libm-test-out: Regenerated.
31248 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
31249 (erfc_test_data): Likewise.
31250 (exp_test_data): Likewise.
31251 (exp_tonearest_test_data): Likewise.
31252 (exp_towardzero_test_data): Likewise.
31253 (exp_downward_test_data): Likewise.
31254 (exp_upward_test_data): Likewise.
31255 (exp10_test_data): Likewise.
31256 (exp2_test_data): Likewise.
31257 (expm1_test_data): Likewise.
31258 (j0_test_data): Likewise.
31259 (j1_test_data): Likewise.
31260 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
31261 (input_flag_type): Add flag_xfail_rounding.
31262 (input_flags): Add xfail-rounding.
31263 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
31264 (output_for_one_input_case): Handle flag_xfail_rounding.
31265 * sysdeps/i386/fpu/libm-test-ulps: Update.
31266 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31267
31268 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
31269
31270 [BZ #16289]
31271 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
31272 division by 0.
31273
31274 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
31275
31276 [BZ #16195]
31277 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
31278 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
31279 (STAP_PROBE0): New macro.
31280 (STAP_PROBE1): Likewise.
31281 (STAP_PROBE2): Likewise.
31282 (STAP_PROBE3): Likewise.
31283 (STAP_PROBE4): Likewise.
31284
31285 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
31286
31287 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
31288
31289 2013-12-02 Steve Ellcey <sellcey@mips.com>
31290
31291 * benchtests/Makefile (bench): Add sqrt.
31292 (LDLIBS-bench-sqrt): New.
31293 * benchtests/sqrt-input: New.
31294
31295 2013-12-02 Pavel Simerda <psimerda@redhat.com>
31296
31297 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
31298 (GAIH_EAI): Likewise.
31299 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
31300 (gaih_inet): Likewise.
31301 (getaddrinfo): Don't use GAIH_EAI.
31302
31303 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
31304 (struct gaih): Remove definition.
31305
31306 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31307
31308 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
31309 Use HERRNOP directly.
31310
31311 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31312
31313 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31314
31315 2013-11-30 Joseph Myers <joseph@codesourcery.com>
31316
31317 * math/gen-auto-libm-tests.c (test_functions): Add more
31318 single-argument functions.
31319 (special_fill_pi_2): New function.
31320 (special_fill_minus_pi_2): Likewise.
31321 (special_fill_pi_6): Likewise.
31322 (special_fill_minus_pi_6): Likewise.
31323 (special_fill_pi_3): Likewise.
31324 (special_fill_2pi_3): Likewise.
31325 (special_fill_e): Likewise.
31326 (special_fill_1_e): Likewise.
31327 (special_fill_e_minus_1): Likewise.
31328 (special_real_inputs): Add more special inputs.
31329 (output_for_one_input_case): Do not require ERANGE on underflow to
31330 zero if round-to-nearest result does not underflow to zero, unless
31331 exact results required.
31332 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
31333 atan, atanh, cbrt, cos and cosh.
31334 * math/auto-libm-test-out: Regenerated.
31335 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
31336 (acos_tonearest_test_data): Likewise.
31337 (acos_towardzero_test_data): Likewise.
31338 (acos_downward_test_data): Likewise.
31339 (acos_upward_test_data): Likewise.
31340 (acosh_test_data): Likewise.
31341 (asin_test_data): Likewise.
31342 (asin_tonearest_test_data): Likewise.
31343 (asin_towardzero_test_data): Likewise.
31344 (asin_upward_test_data): Likewise.
31345 (asinh_test_data): Likewise.
31346 (atan_test_data): Likewise.
31347 (atanh_test_data): Likewise.
31348 (cbrt_test_data): Likewise.
31349 (cos_test_data): Likewise.
31350 (cos_tonearest_test_data): Likewise.
31351 (cos_towardzero_test_data): Likewise.
31352 (cos_downward_test_data): Likewise.
31353 (cos_upward_test_data): Likewise.
31354 (cosh_test_data): Likewise.
31355 (cosh_tonearest_test_data): Likewise.
31356 (cosh_towardzero_test_data): Likewise.
31357 (cosh_downward_test_data): Likewise.
31358 (cosh_upward_test_data): Likewise.
31359 * sysdeps/i386/fpu/libm-test-ulps: Update.
31360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31361
31362 2013-11-29 Joseph Myers <joseph@codesourcery.com>
31363
31364 [BZ #6787]
31365 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
31366 * math/w_exp10f.c (__exp10f): Likewise.
31367 * math/w_exp10l.c (__exp10l): Likewise.
31368 * math/libm-test.inc (exp10_test_data): Add more tests and expect
31369 errno settings in existing tests.
31370
31371 [BZ #14032]
31372 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
31373 precision control set to double precision.
31374 * sysdeps/i386/fpu/w_sqrt.c: New file.
31375 * math/auto-libm-test-in: Add more tests.
31376 * math/auto-libm-test-out: Update.
31377
31378 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
31379 (sqrt_test_tonearest): New function.
31380 (sqrt_towardzero_test_data): New variable.
31381 (sqrt_test_towardzero): New function.
31382 (sqrt_downward_test_data): New variable.
31383 (sqrt_test_downward): New function.
31384 (sqrt_upward_test_data): New variable.
31385 (sqrt_test_upward): New function.
31386 (main): Call the new functions.
31387
31388 * math/gen-auto-libm-tests.c: New file.
31389 * math/auto-libm-test-in: Likewise.
31390 * math/auto-libm-test-out: New generated file.
31391 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
31392 variables.
31393 (%beautify): Add generated representations of zero.
31394 (top level): Set $auto_input and call parse_auto_input.
31395 (beautify): Remove trailing "f" from hex float constants.
31396 (parse_args): Handle XFAIL_TEST.
31397 (convert_condition): New function.
31398 (or_value): Likewise.
31399 (or_cond_value): Likewise.
31400 (generate_testfile): Handle AUTO_TESTS_* lines.
31401 (parse_auto_input): New function.
31402 * math/libm-test.inc (XFAIL_TEST): New macro.
31403 (ERRNO_UNCHANGED): Update value.
31404 (ERRNO_EDOM): Likewise.
31405 (ERRNO_ERANGE): Likewise.
31406 (IGNORE_RESULT): Likewise.
31407 (TEST_COND_flt_32): New macro.
31408 (TEST_COND_dbl_64): Likewise.
31409 (TEST_COND_ldbl_96_intel): Likewise.
31410 (TEST_COND_ldbl_96_m68k): Likewise.
31411 (TEST_COND_ldbl_128): Likewise.
31412 (TEST_COND_ldbl_128ibm): Likewise.
31413 (TEST_COND_long32): Likewise.
31414 (TEST_COND_long64): Likewise.
31415 (TEST_COND_before_rounding): Likewise.
31416 (TEST_COND_after_rounding): Likewise.
31417 (enable_test): Handle XFAIL_TEST flag.
31418 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
31419 with finite results.
31420 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
31421 auto-libm-test-out.
31422
31423 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31424 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31425
31426 [BZ #16214]
31427 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
31428 __tls_get_addr_internal instead of __tls_get_offset in order to
31429 avoid GOT pointer dependency. Make rtld export
31430 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
31431 __tls_get_addr since we are a __tls_get_offset platform.
31432 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
31433 GOT pointer being set up before.
31434 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
31435
31436 2013-11-28 Joseph Myers <joseph@codesourcery.com>
31437
31438 * manual/math.texi (Errors in Math Functions): Document accuracy
31439 goals.
31440
31441 [BZ #15004]
31442 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
31443 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
31444 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31445 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
31446 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
31447 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
31448 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
31449 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
31450 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
31451 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
31452 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
31453 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
31454 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
31455 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
31456 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
31457 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
31458
31459 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
31460 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
31461 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
31462 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
31463 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
31464 Likewise.
31465 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
31466 Likewise.
31467 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
31468 Likewise.
31469 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
31470 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
31471 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
31472 atomic-feupdateenv and flt-rounds.
31473 * sysdeps/powerpc/nofpu/Versions (libc): Add
31474 __atomic_feholdexcept, __atomic_feclearexcept,
31475 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
31476 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
31477 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
31478 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
31479 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
31480 here.
31481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
31482 Update.
31483
31484 * manual/arith.texi (FP Exceptions): Document that exceptions may
31485 not be raised when matherr is used.
31486 (Math Error Reporting): Document overflow in directed rounding
31487 modes. Document that errno may not be set when finite values are
31488 returned on overflow. Document intent to set errno on underflow
31489 only for underflow to zero.
31490
31491 [BZ #16271]
31492 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
31493 round-to-nearest then adjust result for other rounding modes.
31494 * include/fenv.h (fegetround): Use libm_hidden_proto.
31495 * math/fegetround.c (fegetround): Use libm_hidden_def.
31496 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31497 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31498 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31499 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31500 Likewise.
31501 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
31502 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31503 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31504 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
31505
31506 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31507
31508 [BZ #16077]
31509 * nss/Versions (libnss_files): Add
31510 _nss_files_gethostbyname3_r.
31511 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
31512 New function.
31513 (HOST_DB_LOOKUP): Remove macro.
31514 (_nss_files_gethostbyname_r): Implement function without the
31515 HOST_DB_LOOKUP macro.
31516 (_nss_files_gethostbyname2_r): Likewise.
31517
31518 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
31519
31520 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
31521
31522 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
31523
31524 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
31525 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
31526 warning.
31527
31528 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31529
31530 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
31531 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
31532 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
31533 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31534 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
31535 __fe_nomask_env_priv and attribute_hidden.
31536 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
31537 (libc_feupdateenv_test_ppc): Likewise.
31538 (libc_feresetround_ppc): Likewise.
31539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
31540 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
31541 compat_symbol macro.
31542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
31543 (__fe_nomask_env): Likewise.
31544 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
31545
31546 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31547
31548 * string/Makefile: Remove ifunc tests.
31549 * string/test-string.h: Define TEST_IFUNC.
31550 * string/test-bcopy-ifunc.c: Remove.
31551 * string/test-bzero-ifunc.c: Likewise.
31552 * string/test-memccpy-ifunc.c: Likewise.
31553 * string/test-memchr-ifunc.c: Likewise.
31554 * string/test-memcmp-ifunc.c: Likewise.
31555 * string/test-memcpy-ifunc.c: Likewise.
31556 * string/test-memmem-ifunc.c: Likewise.
31557 * string/test-memmove-ifunc.c: Likewise.
31558 * string/test-mempcpy-ifunc.c: Likewise.
31559 * string/test-memrchr-ifunc.c: Likewise.
31560 * string/test-memset-ifunc.c: Likewise.
31561 * string/test-rawmemchr-ifunc.c: Likewise.
31562 * string/test-stpcpy-ifunc.c: Likewise.
31563 * string/test-stpncpy-ifunc.c: Likewise.
31564 * string/test-strcasecmp-ifunc.c: Likewise.
31565 * string/test-strcasestr-ifunc.c: Likewise.
31566 * string/test-strcat-ifunc.c: Likewise.
31567 * string/test-strchr-ifunc.c: Likewise.
31568 * string/test-strchrnul-ifunc.c: Likewise.
31569 * string/test-strcmp-ifunc.c: Likewise.
31570 * string/test-strcpy-ifunc.c: Likewise.
31571 * string/test-strcspn-ifunc.c: Likewise.
31572 * string/test-strlen-ifunc.c: Likewise.
31573 * string/test-strncasecmp-ifunc.c: Likewise.
31574 * string/test-strncat-ifunc.c: Likewise.
31575 * string/test-strncmp-ifunc.c: Likewise.
31576 * string/test-strncpy-ifunc.c: Likewise.
31577 * string/test-strnlen-ifunc.c: Likewise.
31578 * string/test-strpbrk-ifunc.c: Likewise.
31579 * string/test-strrchr-ifunc.c: Likewise.
31580 * string/test-strspn-ifunc.c: Likewise.
31581 * string/test-strstr-ifunc.c: Likewise.
31582
31583 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31584
31585 * benchtests/Makefile: Remove ifunc tests.
31586 * benchtests/bench-string.h: Define TEST_IFUNC.
31587 * benchtests/bench-bcopy-ifunc.c: Remove.
31588 * benchtests/bench-bzero-ifunc.c: Likewise.
31589 * benchtests/bench-memccpy-ifunc.c: Likewise.
31590 * benchtests/bench-memchr-ifunc.c: Likewise.
31591 * benchtests/bench-memcmp-ifunc.c: Likewise.
31592 * benchtests/bench-memcpy-ifunc.c: Likewise.
31593 * benchtests/bench-memmem-ifunc.c: Likewise.
31594 * benchtests/bench-memmove-ifunc.c: Likewise.
31595 * benchtests/bench-mempcpy-ifunc.c: Likewise.
31596 * benchtests/bench-memrchr-ifunc.c: Likewise.
31597 * benchtests/bench-memset-ifunc.c: Likewise.
31598 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
31599 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
31600 * benchtests/bench-stpcpy-ifunc.c: Likewise.
31601 * benchtests/bench-stpncpy-ifunc.c: Likewise.
31602 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
31603 * benchtests/bench-strcasestr-ifunc.c: Likewise.
31604 * benchtests/bench-strcat-ifunc.c: Likewise.
31605 * benchtests/bench-strchr-ifunc.c: Likewise.
31606 * benchtests/bench-strchrnul-ifunc.c: Likewise.
31607 * benchtests/bench-strcmp-ifunc.c: Likewise.
31608 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
31609 * benchtests/bench-strcpy-ifunc.c: Likewise.
31610 * benchtests/bench-strcspn-ifunc.c: Likewise.
31611 * benchtests/bench-strlen-ifunc.c: Likewise.
31612 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
31613 * benchtests/bench-strncat-ifunc.c: Likewise.
31614 * benchtests/bench-strncmp-ifunc.c: Likewise.
31615 * benchtests/bench-strncpy-ifunc.c: Likewise.
31616 * benchtests/bench-strnlen-ifunc.c: Likewise.
31617 * benchtests/bench-strpbrk-ifunc.c: Likewise.
31618 * benchtests/bench-strrchr-ifunc.c: Likewise.
31619 * benchtests/bench-strsep-ifunc.c: Likewise.
31620 * benchtests/bench-strspn-ifunc.c: Likewise.
31621 * benchtests/bench-strstr-ifunc.c: Likewise.
31622
31623 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31624
31625 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
31626
31627 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
31628
31629 * resolv/netdb.h: Use __glibc_reserved instead __unused.
31630 * rt/aio.h: Likewise.
31631 * sysdeps/gnu/bits/utmp.h: Likewise.
31632 * sysdeps/gnu/bits/utmpx.h: Likewise.
31633 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31634 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
31635 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
31636 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
31637 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
31638 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
31639 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
31640 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
31641 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
31642 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
31643 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
31644 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
31645 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
31646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
31647 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
31648 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
31649 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
31650 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
31651 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
31652 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
31653 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
31654 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
31655 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
31656 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
31657 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
31658 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31659 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
31660 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
31661 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
31662 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
31663 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
31664 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
31665 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
31666 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31667 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
31668 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
31669 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
31670 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
31671 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
31672 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
31673 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
31674 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
31675
31676 2013-11-25 Carlos O'Donell <carlos@redhat.com>
31677
31678 [BZ #16245]
31679 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
31680 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
31681
31682 2013-11-25 Joseph Myers <joseph@codesourcery.com>
31683
31684 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
31685 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31686 Likewise.
31687
31688 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31689
31690 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
31691 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
31692 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
31693 (__fesetround): Remove define.
31694 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
31695 rounding and exceptions handling.
31696 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
31697 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
31698 (__fe_nomask_env): Likewise.
31699 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
31700 __fegetround instead of fegetround.
31701 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
31702 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
31703
31704 2013-11-21 Roland McGrath <roland@hack.frob.com>
31705
31706 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
31707 it's there.
31708
31709 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
31710
31711 2013-11-21 Meador Inge <meadori@codesourcery.com>
31712
31713 [BZ #11157]
31714 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
31715 (encrypt_r): Likewise.
31716 * malloc/obstack.h (obstack_free): Likewise.
31717 * posix/unistd.h (encrypt): Likewise.
31718
31719 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
31720
31721 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
31722 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
31723 DL_CALL_DT_FINI() that call the functions directly.
31724 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
31725 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
31726 * elf/dl-fini.c: Likewise.
31727
31728 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
31729
31730 * malloc/hooks.c (memalign_check): Add alignment rounding.
31731 * malloc/malloc.c (_mid_memalign): New function.
31732 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
31733 Implement by calling _mid_memalign.
31734 * manual/probes.texi (Memory Allocation Probes): Remove
31735 memory_valloc_retry and memory_pvalloc_retry.
31736
31737 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
31738
31739 * locale/programs/locarchive.c (open_archive): Add const
31740 qualifier to ARCHIVEFNAME and copy default fname to
31741 DEFAULT_FNAME.
31742
31743 [BZ #15601]
31744 * libio/tst-widetext.input: Rename Oriya to Odia.
31745 * locale/iso-639.def: Likewise.
31746
31747 * manual/probes.texi (Mathematical Function Probes): Add
31748 documentation for sin, cos, asin and acos probes.
31749 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
31750 (__sin32): Add slowasin probe.
31751 (__cos32): Add slowacos probe.
31752 (__mpsin): Add slowsin probe.
31753 (__mpcos): Add slowcos probe.
31754
31755 2013-11-19 Joseph Myers <joseph@codesourcery.com>
31756
31757 [BZ #15483]
31758 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
31759 thread-local __sim_exceptions_thread and global
31760 __sim_exceptions_global.
31761 (__sim_disabled_exceptions): Change to thread-local
31762 __sim_disabled_exceptions_thread and global
31763 __sim_disabled_exceptions_global.
31764 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31765 and global __sim_round_mode_global.
31766 (__simulate_exceptions): Use thread-local floating-point state and
31767 set global state from it as needed.
31768 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
31769 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
31770 __sim_round_mode_thread.
31771 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
31772 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
31773 and global __sim_exceptions_global.
31774 (__sim_disabled_exceptions): Change to thread-local
31775 __sim_disabled_exceptions_thread and global
31776 __sim_disabled_exceptions_global.
31777 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
31778 and global __sim_round_mode_global.
31779 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
31780 (SIM_SET_GLOBAL): Likewise.
31781 * sysdeps/powerpc/soft-fp/sfp-machine.h
31782 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
31783 __sim_round_mode_thread.
31784 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
31785 __sim_disabled_exceptions_thread.
31786 (__sim_exceptions): Change to __sim_exceptions_thread.
31787 (__sim_disabled_exceptions): Change to
31788 __sim_disabled_exceptions_thread.
31789 (__sim_round_mode): Change to __sim_round_mode_thread.
31790 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
31791 thread-local floating-point state and set global state from it as
31792 needed.
31793 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
31794 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
31795 (__sim_disabled_exceptions): Remove extern declaration.
31796 (feenableexcept): Use thread-local floating-point state and set
31797 global state from it as needed.
31798 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
31799 extern declaration.
31800 (__sim_disabled_exceptions): Likewise.
31801 (__sim_round_mode): Likewise.
31802 (__fegetenv): Use thread-local floating-point state.
31803 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
31804 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
31805 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
31806 floating-point state and set global state from it as needed.
31807 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
31808 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31809 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
31810 Likewise.
31811 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31812 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
31813 Likewise.
31814 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
31815 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
31816 Use __sim_round_mode_thread.
31817 * math/test-fenv-tls.c: New file.
31818 * math/Makefile (tests): Add test-fenv-tls.
31819 ($(objpfx)test-fenv-tls): Depend on
31820 $(common-objpfx)nptl/libpthread.so.
31821
31822 2013-11-19 Andreas Schwab <schwab@suse.de>
31823
31824 * locale/programs/locale.c (show_info): Decode wordarray elements.
31825 * locale/categories.def (LC_MONETARY): Add element for
31826 _NL_MONETARY_CRNCYSTR.
31827 * locale/C-monetary.c (conversion_rate): New variable.
31828 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
31829 element.
31830
31831 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
31832
31833 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
31834 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
31835
31836 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31837
31838 * elf/Makefile (tst-auxv): New test.
31839 * elf/tst-auxv.c: New
31840 * elf/rtld.c (dl_main): Adjust AT_EXECFN
31841
31842 2013-11-18 Joseph Myers <joseph@codesourcery.com>
31843
31844 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
31845 (hidden_proto): Caller changed.
31846 (hidden_tls_proto): New macro.
31847 (libc_hidden_tls_proto): Likewise.
31848 (rtld_hidden_tls_proto): Likewise.
31849 (libm_hidden_tls_proto): Likewise.
31850 (libresolv_hidden_tls_proto): Likewise.
31851 (librt_hidden_tls_proto): Likewise.
31852 (libdl_hidden_tls_proto): Likewise.
31853 (libnss_files_hidden_tls_proto): Likewise.
31854 (libnsl_hidden_tls_proto): Likewise.
31855 (libnss_nisplus_hidden_tls_proto): Likewise.
31856 (libutil_hidden_tls_proto): Likewise.
31857
31858 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
31859
31860 [BZ #10253]
31861 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
31862 (decompose_rpath): Defer expansion to fillin_rpath.
31863 (_dl_init_paths): Pass linkmap to fillin_rpath.
31864
31865 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31866
31867 * benchtests/Makefile: Add strsep.
31868 * benchtests/bench-strsep.c: New file: strsep benchtest.
31869 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
31870
31871 2013-11-18 Andreas Schwab <schwab@suse.de>
31872
31873 * locale/programs/locale.c (show_info) [case byte]: Check for
31874 '\377' instead of '\177'.
31875 * locale/C-monetary.c (not_available): Always use "\377".
31876 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
31877 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
31878 detect unavailable sign_posn locale elements.
31879 * locale/localeconv.c (__localeconv): For grouping and
31880 mon_grouping handle "\177" and "\377" like no grouping.
31881 (INT_ELEM): New macro. Use it to set all numeric members.
31882 * locale/programs/ld-monetary.c (monetary_read)
31883 <tok_mon_grouping>: Normalize single -1 to the empty string.
31884 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
31885 Likewise.
31886
31887 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
31888
31889 [BZ #16055]
31890 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
31891 when we match (nil).
31892 * stdio-common/tst-sscanf.c (struct test): Add testcase.
31893
31894 2013-11-16 Joseph Myers <joseph@codesourcery.com>
31895
31896 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
31897 (NO_TEST_INLINE): Update value.
31898 (ERRNO_UNCHANGED): Likewise.
31899 (ERRNO_EDOM): Likewise.
31900 (ERRNO_ERANGE): Likewise.
31901 (IGNORE_RESULT): Likewise.
31902 (check_float_internal): Check signs of NaN results if
31903 TEST_NAN_SIGN used.
31904 (check_complex): Pass TEST_NAN_SIGN flag through to second
31905 check_float_internal call.
31906 (copysign_test_data): Add tests with quiet NaNs as second
31907 argument. Use TEST_NAN_SIGN.
31908 (fabs_test_data): Add test of negative quiet NaN argument. Use
31909 TEST_NAN_SIGN.
31910 (signbit_test_data): Add tests of quiet NaN argument.
31911 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
31912
31913 * math/gen-libm-test.pl (show_exceptions): Take extra argument
31914 $ignore_result.
31915 (parse_args): Handle function results specified as IGNORE.
31916 * math/libm-test.inc (IGNORE_RESULT): New macro.
31917 (check_float_internal): Do not check numerical result if flag
31918 IGNORE_RESULT set.
31919 (check_complex): Pass through IGNORE_RESULT to second
31920 check_float_internal call.
31921 (check_int): Do not check numerical result if flag IGNORE_RESULT
31922 set.
31923 (check_long): Likewise.
31924 (check_bool): Likewise.
31925 (check_longlong): Likewise.
31926 (lrint_test_data): Add tests of infinite and NaN arguments.
31927 (lrint_tonearest_test_data): Likewise.
31928 (lrint_towardzero_test_data): Likewise.
31929 (lrint_downward_test_data): Likewise.
31930 (lrint_upward_test_data): Likewise.
31931 (llrint_test_data): Likewise.
31932 (llrint_tonearest_test_data): Likewise.
31933 (llrint_towardzero_test_data): Likewise.
31934 (llrint_downward_test_data): Likewise.
31935 (llrint_upward_test_data): Likewise.
31936 (lround_test_data): Likewise.
31937 (llround_test_data): Likewise.
31938
31939 * math/libm-test.inc (NO_TEST_INLINE): New macro.
31940 (ERRNO_UNCHANGED): Update value.
31941 (ERRNO_EDOM): Likewise.
31942 (ERRNO_ERANGE): Likewise.
31943 (NO_TEST_INLINE_FLOAT): New macro.
31944 (NO_TEST_INLINE_DOUBLE): Likewise.
31945 (enable_test): New function.
31946 (RUN_TEST_f_f): Check enable_test before running test.
31947 (RUN_TEST_2_f): Likewise.
31948 (RUN_TEST_fff_f): Likewise.
31949 (RUN_TEST_c_f): Likewise.
31950 (RUN_TEST_f_f1): Likewise.
31951 (RUN_TEST_fF_f1): Likewise.
31952 (RUN_TEST_fI_f1): Likewise.
31953 (RUN_TEST_ffI_f1): Likewise.
31954 (RUN_TEST_c_c): Likewise.
31955 (RUN_TEST_cc_c): Likewise.
31956 (RUN_TEST_f_i): Likewise.
31957 (RUN_TEST_f_i_tg): Likewise.
31958 (RUN_TEST_ff_i_tg): Likewise.
31959 (RUN_TEST_f_b): Likewise.
31960 (RUN_TEST_f_b_tg): Likewise.
31961 (RUN_TEST_f_l): Likewise.
31962 (RUN_TEST_f_L): Likewise.
31963 (RUN_TEST_fFF_11): Likewise.
31964 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
31965 conditionals.
31966 (cosh_test_data): Likewise.
31967 (exp_test_data): Likewise.
31968 (expm1_test_data): Likewise.
31969 (hypot_test_data): Likewise.
31970 (pow_test_data): Likewise.
31971 (sinh_test_data): Likewise.
31972 (tanh_test_data): Likewise.
31973 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
31974 flags argument.
31975
31976 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
31977 tests with quiet NaN input and output.
31978 (acosh_test_data): Likewise.
31979 (asin_test_data): Likewise.
31980 (asinh_test_data): Likewise.
31981 (atan_test_data): Likewise.
31982 (atanh_test_data): Likewise.
31983 (atan2_test_data): Likewise.
31984 (cbrt_test_data): Likewise.
31985 (cos_test_data): Likewise.
31986 (cosh_test_data): Likewise.
31987 (erf_test_data): Likewise.
31988 (erfc_test_data): Likewise.
31989 (exp_test_data): Likewise.
31990 (exp10_test_data): Likewise.
31991 (exp2_test_data): Likewise.
31992 (expm1_test_data): Likewise.
31993 (hypot_test_data): Likewise.
31994 (j0_test_data): Likewise.
31995 (j1_test_data): Likewise.
31996 (jn_test_data): Likewise.
31997 (lgamma_test_data): Likewise.
31998 (log_test_data): Likewise.
31999 (log10_test_data): Likewise.
32000 (log1p_test_data): Likewise.
32001 (log2_test_data): Likewise.
32002 (pow_test_data): Likewise.
32003 (scalb_test_data): Likewise.
32004 (sin_test_data): Likewise.
32005 (sincos_test_data): Likewise.
32006 (sinh_test_data): Likewise.
32007 (tan_test_data): Likewise.
32008 (tanh_test_data): Likewise.
32009 (tgamma_test_data): Likewise.
32010 (y0_test_data): Likewise.
32011 (y1_test_data): Likewise.
32012 (yn_test_data): Likewise.
32013
32014 [BZ #16167]
32015 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
32016 argument being NaN and avoid computations with second argument in
32017 that case.
32018 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32019 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32020 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32021
32022 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
32023
32024 * locale/iso-639.def: Add Chitwani Tharu (the).
32025
32026 2013-11-14 Andreas Schwab <schwab@suse.de>
32027
32028 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
32029 word instead of empty string.
32030
32031 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32032
32033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32034 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
32035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32036 (__fe_nomask_env): Likewise.
32037
32038 2013-11-13 Steve Ellcey <sellcey@mips.com>
32039
32040 * benchtests/bench-timing.h: Include time.h.
32041
32042 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
32043
32044 [BZ #15997]
32045 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
32046 to 3.4.0 for x32.
32047 * sysdeps/unix/sysv/linux/configure: Regenerated.
32048
32049 2013-11-13 Joseph Myers <joseph@codesourcery.com>
32050
32051 [BZ #16151]
32052 * stdlib/strtod_l.c (round_and_return): Do not consider
32053 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
32054 exponent one less than half the least subnormal exponent.
32055 * stdlib/test-strtod-round-data: Add more tests.
32056 * stdlib/tst-strtod-round.c (tests): Regenerated.
32057
32058 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32059
32060 [BZ #14143]
32061 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
32062 (__fe_mask_env): Likewise.
32063 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
32064 libm_hidden_proto and add function prototype.
32065 (__fe_mask_env): Add function prototype.
32066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
32067 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
32068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
32069 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
32070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
32071 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
32072
32073 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32074
32075 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
32076 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
32077
32078 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32079
32080 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
32081 of htab_find_slot().
32082
32083 2013-11-11 David S. Miller <davem@davemloft.net>
32084
32085 [BZ #16150]
32086 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
32087 symbol in the non-vis3 case in static builds.
32088 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
32089 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
32090 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
32091 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
32092
32093 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
32094
32095 [BZ #387]
32096 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
32097 it is empty.
32098
32099 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32100
32101 * benchtests/Makefile: Add bench-strtod.
32102 * benchtests/bench-strtod.c: New file: strtod benchtest
32103
32104 2013-11-11 Andreas Schwab <schwab@suse.de>
32105
32106 [BZ #16153]
32107 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
32108 terminating NUL in key length.
32109
32110 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32111
32112 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
32113 Add artificial ODP entry for vDSO symbol for PPC64.
32114 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
32115 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
32116
32117 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
32118
32119 [BZ #15374]
32120 * nss/getent.c (services_keys): Recognize services starting with digit.
32121
32122 2013-11-06 David S. Miller <davem@davemloft.net>
32123
32124 [BZ #15985]
32125 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
32126 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
32127
32128 2013-11-06 Will Newton <will.newton@linaro.org>
32129
32130 * manual/memory.texi (Malloc Examples): Remove register
32131 keyword from examples.
32132
32133 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
32134
32135 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
32136
32137 2013-11-04 Joseph Myers <joseph@codesourcery.com>
32138
32139 [BZ #6981]
32140 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
32141 depending on [__GCC_IEC_559 > 0].
32142 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
32143 depending on [__GCC_IEC_559_COMPLEX > 0].
32144
32145 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
32146
32147 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
32148 to iso-639.def.
32149
32150 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
32151
32152 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
32153
32154 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
32155
32156 [BZ #16112]
32157 * malloc/malloc (malloc_info): Do not handle first bin as
32158 special case.
32159
32160 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
32161
32162 * locale/iso-639.def: Add Central Nahuatl (nhn).
32163
32164 2013-11-01 Bruno Haible <bruno@clisp.org>
32165
32166 [BZ #7003]
32167 * manual/math.texi (BSD Random): Specify range upper bound as
32168 in POSIX.
32169
32170 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
32171
32172 * locale/iso-639.def: Add Meadow Mari (mhr).
32173
32174 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
32175
32176 [BZ #14752], [BZ #15763]
32177 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
32178 Validate name.
32179 * rt/tst_shm.c: Add test for escaping directory.
32180
32181 2013-10-31 Andreas Schwab <schwab@suse.de>
32182
32183 [BZ #15917]
32184 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
32185 followed by 'x' as part of digit sequence.
32186 * stdio-common/tst-sscanf.c (double_tests2): New tests.
32187
32188 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
32189
32190 [BZ #16037]
32191 * configure.ac: allow GNU Make 4.0 and greater.
32192 * configure: Regenerated.
32193
32194 2013-10-30 Will Newton <will.newton@linaro.org>
32195
32196 [BZ #16038]
32197 * malloc/hooks.c (memalign_check): Limit alignment to the
32198 maximum representable power of two.
32199 * malloc/malloc.c (__libc_memalign): Likewise.
32200 * malloc/tst-memalign.c (do_test): Add test for very
32201 large alignment values.
32202 * malloc/tst-posix_memalign.c (do_test): Likewise.
32203
32204 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
32205
32206 [BZ #11087]
32207 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
32208 (munmap_chunk): Likewise.
32209 (mremap_chunk): Likewise.
32210
32211 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
32212
32213 [BZ #15799]
32214 * stdlib/div.c (div): Remove obsolete code.
32215 * stdlib/ldiv.c (ldiv): Likewise.
32216 * stdlib/lldiv.c (lldiv): Likewise.
32217
32218 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32219
32220 [BZ #16071]
32221 * nss/nss_files/files-XXX.c (get_contents_ret): New
32222 enumerator.
32223 (get_contents): New function.
32224 (internal_getent): Use it. Expand size of LINEBUFLEN.
32225
32226 2013-10-30 Mike Frysinger <vapier@gentoo.org>
32227
32228 * configure.in: Moved to ...
32229 * configure.ac: ... here. Change reference to configure.in
32230 to configure.ac.
32231 * sysdeps/arm/preconfigure.ac: ... here.
32232 configure.in to configure.ac.
32233 * sysdeps/gnu/configure.in: Moved to ...
32234 * sysdeps/gnu/configure.ac: ... here.
32235 * sysdeps/i386/configure.in: Moved to ...
32236 * sysdeps/i386/configure.ac: ... here.
32237 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
32238 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
32239 * sysdeps/mach/configure.in: Moved to ...
32240 * sysdeps/mach/configure.ac: ... here.
32241 * sysdeps/mach/hurd/configure.in: Moved to ...
32242 * sysdeps/mach/hurd/configure.ac: ... here.
32243 * sysdeps/powerpc/configure.in: Moved to ...
32244 * sysdeps/powerpc/configure.ac: ... here.
32245 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
32246 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
32247 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
32248 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
32249 * sysdeps/s390/s390-32/configure.in: Moved to ...
32250 * sysdeps/s390/s390-32/configure.ac: ... here.
32251 * sysdeps/s390/s390-64/configure.in: Moved to ...
32252 * sysdeps/s390/s390-64/configure.ac: ... here.
32253 * sysdeps/sh/configure.in: Moved to ...
32254 * sysdeps/sh/configure.ac: ... here.
32255 * sysdeps/sparc/configure.in: Moved to ...
32256 * sysdeps/sparc/configure.ac: ... here.
32257 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
32258 * sysdeps/unix/sysv/linux/configure.ac: ... here.
32259 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
32260 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
32261 * sysdeps/x86_64/configure.in: Moved to ...
32262 * sysdeps/x86_64/configure.ac: ... here.
32263 * sysdeps/x86_64/preconfigure.in: Moved to ...
32264 * sysdeps/x86_64/preconfigure.ac: ... here.
32265 * aclocal.m4: Change reference to configure.in to configure.ac.
32266 * config.h.in: Likewise.
32267 * manual/install.texi: Likewise.
32268 * manual/maint.texi: Likewise.
32269 * Makefile: Likewise.
32270 * malloc/Makefile: Likewise.
32271 * nscd/Makefile: Likewise.
32272 * Makeconfig: Change reference to configure.in and
32273 preconfigure.in to configure.ac and preconfigure.ac
32274 respectively.
32275 * INSTALL: Regenerated.
32276 * configure: Likewise.
32277 * sysdeps/gnu/configure: Likewise.
32278 * sysdeps/i386/configure: Likewise.
32279 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
32280 * sysdeps/mach/configure: Likewise.
32281 * sysdeps/mach/hurd/configure: Likewise.
32282 * sysdeps/powerpc/configure: Likewise.
32283 * sysdeps/powerpc/powerpc32/configure: Likewise.
32284 * sysdeps/powerpc/powerpc64/configure: Likewise.
32285 * sysdeps/s390/s390-32/configure: Likewise.
32286 * sysdeps/s390/s390-64/configure: Likewise.
32287 * sysdeps/sh/configure: Likewise.
32288 * sysdeps/sparc/configure: Likewise.
32289 * sysdeps/unix/sysv/linux/configure: Likewise.
32290 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
32291 * sysdeps/x86_64/configure: Likewise.
32292 * sysdeps/x86_64/preconfigure: Likewise.
32293
32294 2013-10-29 Andreas Schwab <schwab@suse.de>
32295
32296 * stdio-common/Makefile (tst-swscanf-ENV): Define.
32297
32298 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32299
32300 * benchtests/pow-inputs: Add new inputs.
32301
32302 * benchtests/exp-inputs: Add new inputs.
32303
32304 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
32305 conditional check for return value.
32306 (__cos32): Likewise.
32307
32308 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32309
32310 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
32311 to provide a boost for large inputs with word alignment.
32312 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
32313 implementation based on optimized PPC64 strcpy.
32314 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
32315 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
32316 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
32317 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
32318
32319 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
32320
32321 [BZ #2801]
32322 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
32323
32324 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
32325
32326 [BZ #14876]
32327 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
32328 * time/tst-strptime.c (day_tests): Add testcase.
32329
32330 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
32331
32332 [BZ #14029]
32333 * manual/pattern.texi: Acknowledge that fnmatch can fail.
32334
32335 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
32336
32337 [BZ #16074]
32338 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
32339 MAP_FAILED on error.
32340
32341 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32342
32343 [BZ #16072]
32344 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
32345 heap for large requests.
32346
32347 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
32348
32349 [BZ #9954]
32350 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
32351 result if the result has no associated interface.
32352 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
32353 interface for all 127.X.Y.Z addresses.
32354
32355 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
32356
32357 * locale/iso-639.def: Add Ligurian (lij)
32358
32359 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
32360
32361 [BZ #15825]
32362 * sunrpc/rpc_main.c: Document rpcgen -5.
32363
32364 2013-10-19 Michael Stahl <mstahl@redhat.com>
32365
32366 * elf/rtld.c (do_preload): Print the reason why preloading failed.
32367
32368 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
32369
32370 [BZ #10278]
32371 * posix/glob.c: Match only directories when trailing slash is present.
32372 * posix/tst-gnuglob.c (my_opendir): Do not open files.
32373 (main): Add testcase.
32374
32375 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
32376
32377 [BZ #15670]
32378 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
32379
32380 2013-10-18 Carlos O'Donell <carlos@redhat.com>
32381
32382 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
32383 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
32384 AUTH_DES and cindex for FIPS 140-2.
32385 (DES Encryption): Add cindex FIPS 46-3.
32386
32387 * locale/locarchive.h (struct locarhandle): Add fname.
32388 * locale/programs/localedef.c (main): Pass ARGV[remaining]
32389 if an optional argument was specified to --list-archive,
32390 otherwise NULL.
32391 * locale/programs/locarchive.c (show_archive_content): Take new
32392 argument fname and pass it via ah.fname to open_archive.
32393 * locale/programs/localedef.h: Update decl.
32394 (open_archive): If AH->fname is non-null, open that file
32395 rather than the default file name, and don't ignore ENOENT.
32396 (create_archive): Set AH.fname to NULL.
32397 (delete_locales_from_archive): Likewise.
32398 (add_locales_to_archive): Likewise.
32399 * locale/programs/locfile.c (write_all_categories): Likewise.
32400
32401 2013-10-18 Joseph Myers <joseph@codesourcery.com>
32402 Aldy Hernandez <aldyh@redhat.com>
32403
32404 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
32405 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
32406 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
32407 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
32408 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
32409 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
32410 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
32411 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
32412 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
32413 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
32414 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
32415 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
32416 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
32417 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
32418 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
32419 Likewise.
32420 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
32421 Likewise.
32422 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
32423 Likewise.
32424 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
32425 Likewise.
32426 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
32427 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
32428 Likewise.
32429 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
32430 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
32431 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
32432 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
32433 Likewise.
32434 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
32435 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
32436 * sysdeps/powerpc/preconfigure: Likewise.
32437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
32438 Likewise.
32439 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
32440 Replace contents of file by #include of <fenv_libc.h>.
32441 * sysdeps/powerpc/soft-fp/sfp-machine.h
32442 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
32443 and <sys/prctl.h>.
32444 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
32445 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
32446 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
32447 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
32448 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
32449 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
32450 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
32451 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
32452 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
32453 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
32454 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
32455 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
32456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32457 Allow copysignl PLT reference to be missing.
32458
32459 2013-10-18 Richard Sandiford <richard@codesourcery.com>
32460 Joseph Myers <joseph@codesourcery.com
32461
32462 [BZ #15948]
32463 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
32464 single character.
32465 (add_to_tablewc): Assert sequence of wide characters is nonempty.
32466
32467 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32468
32469 * elf/tst-tls-dlinfo.c: Don't include tls.h.
32470 * elf/tst-tls1.c: Likewise.
32471 * elf/tst-tls10.h: Likewise.
32472 * elf/tst-tls14.c: Likewise.
32473 * elf/tst-tls2.c: Likewise.
32474 * elf/tst-tls3.c: Likewise.
32475 * elf/tst-tls4.c: Likewise.
32476 * elf/tst-tls5.c: Likewise.
32477 * elf/tst-tls6.c: Likewise.
32478 * elf/tst-tls7.c: Likewise.
32479 * elf/tst-tls8.c: Likewise.
32480 * elf/tst-tls9.c: Likewise.
32481 * elf/tst-tlsmod1.c: Likewise.
32482 * elf/tst-tlsmod13.c: Likewise.
32483 * elf/tst-tlsmod13a.c: Likewise.
32484 * elf/tst-tlsmod14a.c: Likewise.
32485 * elf/tst-tlsmod16a.c: Likewise.
32486 * elf/tst-tlsmod16b.c: Likewise.
32487 * elf/tst-tlsmod2.c: Likewise.
32488 * elf/tst-tlsmod3.c: Likewise.
32489 * elf/tst-tlsmod4.c: Likewise.
32490 * elf/tst-tlsmod5.c: Likewise.
32491 * elf/tst-tlsmod6.c: Likewise.
32492
32493 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
32494
32495 [BZ #12486]
32496 * malloc/malloc.c: remove checks for statistics.
32497
32498 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
32499
32500 [BZ #15277]
32501 * inet/inet_net.c (inet_network): Detect additional invalid strings.
32502 * inet/tst-network.c: Add testcase.
32503
32504 2013-10-17 Andreas Schwab <schwab@suse.de>
32505
32506 [BZ #15218]
32507 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
32508 to determine canonical name.
32509
32510 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
32511
32512 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
32513 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
32514 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32515 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
32516 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32517 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
32518 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
32519 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
32520 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
32521 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
32522 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
32523 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
32524 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
32525 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
32526 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
32527 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
32528 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32529 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32530 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
32531 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
32532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32534 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
32535 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
32536 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
32537 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32538 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32539 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
32540 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32541 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
32542 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
32543 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32544 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
32545 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
32546 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
32547 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
32548 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
32549 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
32550 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
32551 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
32552 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
32553 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
32554 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
32555 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
32556 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
32557 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
32558 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
32559 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
32560 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
32561 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
32562 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
32563 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
32564 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
32565 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
32566 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32567 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
32568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32569 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
32570
32571 2013-10-17 Joseph Myers <joseph@codesourcery.com>
32572
32573 [BZ #16041]
32574 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
32575 make result into a quiet NaN.
32576
32577 2013-10-16 Joseph Myers <joseph@codesourcery.com>
32578
32579 * soft-fp/adddf3.c: Fix horizontal whitespace.
32580 * soft-fp/addsf3.c: Likewise.
32581 * soft-fp/addtf3.c: Likewise.
32582 * soft-fp/divdf3.c: Likewise.
32583 * soft-fp/divsf3.c: Likewise.
32584 * soft-fp/divtf3.c: Likewise.
32585 * soft-fp/double.h: Likewise.
32586 * soft-fp/eqdf2.c: Likewise.
32587 * soft-fp/eqsf2.c: Likewise.
32588 * soft-fp/eqtf2.c: Likewise.
32589 * soft-fp/extenddftf2.c: Likewise.
32590 * soft-fp/extended.h: Likewise.
32591 * soft-fp/extendsfdf2.c: Likewise.
32592 * soft-fp/extendsftf2.c: Likewise.
32593 * soft-fp/extendxftf2.c: Likewise.
32594 * soft-fp/fixdfdi.c: Likewise.
32595 * soft-fp/fixdfsi.c: Likewise.
32596 * soft-fp/fixdfti.c: Likewise.
32597 * soft-fp/fixsfdi.c: Likewise.
32598 * soft-fp/fixsfsi.c: Likewise.
32599 * soft-fp/fixsfti.c: Likewise.
32600 * soft-fp/fixtfdi.c: Likewise.
32601 * soft-fp/fixtfsi.c: Likewise.
32602 * soft-fp/fixtfti.c: Likewise.
32603 * soft-fp/fixunsdfdi.c: Likewise.
32604 * soft-fp/fixunsdfsi.c: Likewise.
32605 * soft-fp/fixunsdfti.c: Likewise.
32606 * soft-fp/fixunssfdi.c: Likewise.
32607 * soft-fp/fixunssfsi.c: Likewise.
32608 * soft-fp/fixunssfti.c: Likewise.
32609 * soft-fp/fixunstfdi.c: Likewise.
32610 * soft-fp/fixunstfsi.c: Likewise.
32611 * soft-fp/fixunstfti.c: Likewise.
32612 * soft-fp/floatdidf.c: Likewise.
32613 * soft-fp/floatdisf.c: Likewise.
32614 * soft-fp/floatditf.c: Likewise.
32615 * soft-fp/floatsidf.c: Likewise.
32616 * soft-fp/floatsisf.c: Likewise.
32617 * soft-fp/floatsitf.c: Likewise.
32618 * soft-fp/floattidf.c: Likewise.
32619 * soft-fp/floattisf.c: Likewise.
32620 * soft-fp/floattitf.c: Likewise.
32621 * soft-fp/floatundidf.c: Likewise.
32622 * soft-fp/floatundisf.c: Likewise.
32623 * soft-fp/floatunditf.c: Likewise.
32624 * soft-fp/floatunsidf.c: Likewise.
32625 * soft-fp/floatunsisf.c: Likewise.
32626 * soft-fp/floatunsitf.c: Likewise.
32627 * soft-fp/floatuntidf.c: Likewise.
32628 * soft-fp/floatuntisf.c: Likewise.
32629 * soft-fp/floatuntitf.c: Likewise.
32630 * soft-fp/fmadf4.c: Likewise.
32631 * soft-fp/fmasf4.c: Likewise.
32632 * soft-fp/fmatf4.c: Likewise.
32633 * soft-fp/gedf2.c: Likewise.
32634 * soft-fp/gesf2.c: Likewise.
32635 * soft-fp/getf2.c: Likewise.
32636 * soft-fp/ledf2.c: Likewise.
32637 * soft-fp/lesf2.c: Likewise.
32638 * soft-fp/letf2.c: Likewise.
32639 * soft-fp/muldf3.c: Likewise.
32640 * soft-fp/mulsf3.c: Likewise.
32641 * soft-fp/multf3.c: Likewise.
32642 * soft-fp/negdf2.c: Likewise.
32643 * soft-fp/negsf2.c: Likewise.
32644 * soft-fp/negtf2.c: Likewise.
32645 * soft-fp/op-1.h: Likewise.
32646 * soft-fp/op-2.h: Likewise.
32647 * soft-fp/op-4.h: Likewise.
32648 * soft-fp/op-8.h: Likewise.
32649 * soft-fp/op-common.h: Likewise.
32650 * soft-fp/quad.h: Likewise.
32651 * soft-fp/single.h: Likewise.
32652 * soft-fp/soft-fp.h: Likewise.
32653 * soft-fp/sqrtdf2.c: Likewise.
32654 * soft-fp/sqrtsf2.c: Likewise.
32655 * soft-fp/sqrttf2.c: Likewise.
32656 * soft-fp/subdf3.c: Likewise.
32657 * soft-fp/subsf3.c: Likewise.
32658 * soft-fp/subtf3.c: Likewise.
32659 * soft-fp/truncdfsf2.c: Likewise.
32660 * soft-fp/trunctfdf2.c: Likewise.
32661 * soft-fp/trunctfsf2.c: Likewise.
32662 * soft-fp/trunctfxf2.c: Likewise.
32663 * soft-fp/unorddf2.c: Likewise.
32664 * soft-fp/unordsf2.c: Likewise.
32665 * soft-fp/unordtf2.c: Likewise.
32666
32667 2013-10-15 Joseph Myers <joseph@codesourcery.com>
32668
32669 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
32670 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
32671
32672 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
32673
32674 * elf/dl-libc.c: Clear initfini list after freeing.
32675
32676 2013-10-14 Joseph Myers <joseph@codesourcery.com>
32677
32678 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
32679 * soft-fp/addsf3.c: Likewise.
32680 * soft-fp/addtf3.c: Likewise.
32681 * soft-fp/divdf3.c: Likewise.
32682 * soft-fp/divsf3.c: Likewise.
32683 * soft-fp/divtf3.c: Likewise.
32684 * soft-fp/double.h: Likewise.
32685 * soft-fp/eqdf2.c: Likewise.
32686 * soft-fp/eqsf2.c: Likewise.
32687 * soft-fp/eqtf2.c: Likewise.
32688 * soft-fp/extenddftf2.c: Likewise.
32689 * soft-fp/extended.h: Likewise.
32690 * soft-fp/extendsfdf2.c: Likewise.
32691 * soft-fp/extendsftf2.c: Likewise.
32692 * soft-fp/extendxftf2.c: Likewise.
32693 * soft-fp/fixdfdi.c: Likewise.
32694 * soft-fp/fixdfsi.c: Likewise.
32695 * soft-fp/fixdfti.c: Likewise.
32696 * soft-fp/fixsfdi.c: Likewise.
32697 * soft-fp/fixsfsi.c: Likewise.
32698 * soft-fp/fixsfti.c: Likewise.
32699 * soft-fp/fixtfdi.c: Likewise.
32700 * soft-fp/fixtfsi.c: Likewise.
32701 * soft-fp/fixtfti.c: Likewise.
32702 * soft-fp/fixunsdfdi.c: Likewise.
32703 * soft-fp/fixunsdfsi.c: Likewise.
32704 * soft-fp/fixunsdfti.c: Likewise.
32705 * soft-fp/fixunssfdi.c: Likewise.
32706 * soft-fp/fixunssfsi.c: Likewise.
32707 * soft-fp/fixunssfti.c: Likewise.
32708 * soft-fp/fixunstfdi.c: Likewise.
32709 * soft-fp/fixunstfsi.c: Likewise.
32710 * soft-fp/fixunstfti.c: Likewise.
32711 * soft-fp/floatdidf.c: Likewise.
32712 * soft-fp/floatdisf.c: Likewise.
32713 * soft-fp/floatditf.c: Likewise.
32714 * soft-fp/floatsidf.c: Likewise.
32715 * soft-fp/floatsisf.c: Likewise.
32716 * soft-fp/floatsitf.c: Likewise.
32717 * soft-fp/floattidf.c: Likewise.
32718 * soft-fp/floattisf.c: Likewise.
32719 * soft-fp/floattitf.c: Likewise.
32720 * soft-fp/floatundidf.c: Likewise.
32721 * soft-fp/floatundisf.c: Likewise.
32722 * soft-fp/floatunsidf.c: Likewise.
32723 * soft-fp/floatunsisf.c: Likewise.
32724 * soft-fp/floatuntidf.c: Likewise.
32725 * soft-fp/floatuntisf.c: Likewise.
32726 * soft-fp/floatuntitf.c: Likewise.
32727 * soft-fp/fmadf4.c: Likewise.
32728 * soft-fp/fmasf4.c: Likewise.
32729 * soft-fp/fmatf4.c: Likewise.
32730 * soft-fp/gedf2.c: Likewise.
32731 * soft-fp/gesf2.c: Likewise.
32732 * soft-fp/getf2.c: Likewise.
32733 * soft-fp/ledf2.c: Likewise.
32734 * soft-fp/lesf2.c: Likewise.
32735 * soft-fp/letf2.c: Likewise.
32736 * soft-fp/muldf3.c: Likewise.
32737 * soft-fp/mulsf3.c: Likewise.
32738 * soft-fp/multf3.c: Likewise.
32739 * soft-fp/negdf2.c: Likewise.
32740 * soft-fp/negsf2.c: Likewise.
32741 * soft-fp/negtf2.c: Likewise.
32742 * soft-fp/op-1.h: Likewise.
32743 * soft-fp/op-2.h: Likewise.
32744 * soft-fp/op-4.h: Likewise.
32745 * soft-fp/op-8.h: Likewise.
32746 * soft-fp/op-common.h: Likewise.
32747 * soft-fp/quad.h: Likewise.
32748 * soft-fp/single.h: Likewise.
32749 * soft-fp/soft-fp.h: Likewise.
32750 * soft-fp/sqrtdf2.c: Likewise.
32751 * soft-fp/sqrtsf2.c: Likewise.
32752 * soft-fp/sqrttf2.c: Likewise.
32753 * soft-fp/subdf3.c: Likewise.
32754 * soft-fp/subsf3.c: Likewise.
32755 * soft-fp/subtf3.c: Likewise.
32756 * soft-fp/truncdfsf2.c: Likewise.
32757 * soft-fp/trunctfdf2.c: Likewise.
32758 * soft-fp/trunctfsf2.c: Likewise.
32759 * soft-fp/trunctfxf2.c: Likewise.
32760 * soft-fp/unorddf2.c: Likewise.
32761 * soft-fp/unordsf2.c: Likewise.
32762 * soft-fp/unordtf2.c: Likewise.
32763
32764 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
32765
32766 [BZ #15672]
32767 * misc/error.c (error_tail): Fix possible buffer overflow.
32768
32769 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
32770
32771 [BZ #13028]
32772 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
32773 address.
32774
32775 2013-10-14 P. J. McDermott <pj@pehjota.net>
32776
32777 [BZ #832]
32778 * elf/ldd.bash.in (try_trace): New function. Delete previous code
32779 testing pipefail option.
32780
32781 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32782
32783 * soft-fp/double.h: Indent preprocessor directives inside #if.
32784 * soft-fp/extended.h: Likewise.
32785 * soft-fp/op-2.h: Likewise.
32786 * soft-fp/op-4.h: Likewise.
32787 * soft-fp/op-common.h: Likewise.
32788 * soft-fp/quad.h: Likewise.
32789 * soft-fp/single.h: Likewise.
32790 * soft-fp/soft-fp.h: Likewise.
32791
32792 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
32793
32794 * iconv/iconv_prog.c: Fix typos.
32795 * stdio-common/psiginfo-data.h: Likewise.
32796
32797 2013-10-12 Reuben Thomas <rrt@sc3d.org>
32798
32799 [BZ #15764]
32800 * locale/setlocale.c: Fix typo.
32801
32802 2013-10-12 Joseph Myers <joseph@codesourcery.com>
32803
32804 [BZ #16036]
32805 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
32806 signaling NaN arguments.
32807 * soft-fp/unordsf2.c (__unordsf2): Likewise.
32808 * soft-fp/unordtf2.c (__unordtf2): Likewise.
32809
32810 [BZ #14910]
32811 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
32812 unordered operands.
32813 * soft-fp/gesf2.c (__gesf2): Likewise.
32814 * soft-fp/getf2.c (__getf2): Likewise.
32815 * soft-fp/ledf2.c (__ledf2): Likewise.
32816 * soft-fp/lesf2.c (__lesf2): Likewise.
32817 * soft-fp/letf2.c (__letf2): Likewise.
32818
32819 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
32820 * soft-fp/eqsf2.c (__eqsf2): Likewise.
32821 * soft-fp/eqtf2.c (__eqtf2): Likewise.
32822 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
32823 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
32824 * soft-fp/fixdfti.c (__fixdfti): Likewise.
32825 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
32826 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
32827 * soft-fp/fixsfti.c (__fixsfti): Likewise.
32828 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
32829 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
32830 * soft-fp/fixtfti.c (__fixtfti): Likewise.
32831 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
32832 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
32833 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
32834 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
32835 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
32836 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
32837 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
32838 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
32839 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
32840 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
32841 * soft-fp/floatdisf.c (__floatdisf): Likewise.
32842 * soft-fp/floatsisf.c (__floatsisf): Likewise.
32843 * soft-fp/floattidf.c (__floattidf): Likewise.
32844 * soft-fp/floattisf.c (__floattisf): Likewise.
32845 * soft-fp/floattitf.c (__floattitf): Likewise.
32846 * soft-fp/floatundidf.c (__floatundidf): Likewise.
32847 * soft-fp/floatundisf.c (__floatundisf): Likewise.
32848 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
32849 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
32850 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
32851 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
32852 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
32853 * soft-fp/gesf2.c (__gesf2): Likewise.
32854 * soft-fp/getf2.c (__getf2): Likewise.
32855 * soft-fp/ledf2.c (__ledf2): Likewise.
32856 * soft-fp/lesf2.c (__lesf2): Likewise.
32857 * soft-fp/letf2.c (__letf2): Likewise.
32858
32859 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
32860 Undefine and redefine.
32861 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
32862 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
32863 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
32864 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
32865 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32866 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
32867 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32868 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
32869 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32870 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
32871 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32872 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
32873 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32874 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
32875 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
32876
32877 [BZ #16032]
32878 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
32879 without decrementing exponent if mantissa >= that for the
32880 denominator, not >.
32881 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
32882 denominator, not >. Decrement exponent in < case instead of
32883 incrementing in >= case.
32884 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
32885 without decrementing exponent if mantissa >= that for the
32886 denominator, not >.
32887
32888 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
32889 computing saturated result for unsigned overflow.
32890
32891 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
32892 Jeff Law <law@redhat.com>
32893
32894 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
32895 (atan2Mp): Add systemtap probe marker.
32896 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
32897 (__ieee754_log): Add systemtap probe marker.
32898 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
32899 (atanMp): Add systemtap probe marker.
32900 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
32901 (tanMp): Add systemtap probe marker.
32902 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
32903 (__slowexp): Add systemtap probe marker.
32904 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
32905 (__slowpow): Add systemtap probe marker.
32906 * manual/probes.texi: Document probes.
32907
32908 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
32909
32910 [BZ #15362]
32911 * libio/fileops.c (_IO_new_file_write): Return count of bytes
32912 written.
32913 (_IO_new_file_xsputn): Don't return EOF if nothing has been
32914 written.
32915 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
32916 written to buffer but not flushed.
32917 * libio/iofwrite_u.c: Likewise.
32918 * libio/iopadn.c: Return bytes returned even if EOF was
32919 encountered.
32920 * libio/iowpadn.c: Likewise.
32921 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
32922 if _IO_padn does not write the whole buffer.
32923 [!COMPILE_WPRINTF] (PAD): Likewise.
32924
32925 2013-10-10 David S. Miller <davem@davemloft.net>
32926
32927 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
32928 directory block.
32929
32930 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32931
32932 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
32933 instead of FSF address.
32934 * soft-fp/fixdfti.c: Likewise.
32935 * soft-fp/fixsfti.c: Likewise.
32936 * soft-fp/fixtfti.c: Likewise.
32937 * soft-fp/fixunsdfti.c: Likewise.
32938 * soft-fp/fixunssfti.c: Likewise.
32939 * soft-fp/fixunstfti.c: Likewise.
32940 * soft-fp/floattidf.c: Likewise.
32941 * soft-fp/floattisf.c: Likewise.
32942 * soft-fp/floattitf.c: Likewise.
32943 * soft-fp/floatuntidf.c: Likewise.
32944 * soft-fp/floatuntisf.c: Likewise.
32945 * soft-fp/floatuntitf.c: Likewise.
32946 * soft-fp/trunctfxf2.c: Likewise.
32947
32948 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
32949 * soft-fp/fixdfti.c: Likewise.
32950 * soft-fp/fixsfti.c: Likewise.
32951 * soft-fp/fixtfti.c: Likewise.
32952 * soft-fp/fixunsdfti.c: Likewise.
32953 * soft-fp/fixunssfti.c: Likewise.
32954 * soft-fp/fixunstfti.c: Likewise.
32955 * soft-fp/floattidf.c: Likewise.
32956 * soft-fp/floattisf.c: Likewise.
32957 * soft-fp/floattitf.c: Likewise.
32958 * soft-fp/floatuntidf.c: Likewise.
32959 * soft-fp/floatuntisf.c: Likewise.
32960 * soft-fp/floatuntitf.c: Likewise.
32961 * soft-fp/trunctfxf2.c: Likewise.
32962
32963 2013-10-10 David S. Miller <davem@davemloft.net>
32964
32965 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32966
32967 2013-10-10 Joseph Myers <joseph@codsourcery.com>
32968
32969 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
32970 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
32971 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
32972 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
32973 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
32974 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
32975 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
32976
32977 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
32978 for NaNs before doing comparisons on argument.
32979 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
32980 Likewise.
32981
32982 2013-10-10 Will Newton <will.newton@linaro.org>
32983
32984 * malloc/hooks.c (memalign_check): Ensure the value of bytes
32985 passed to _int_memalign does not overflow.
32986
32987 2013-10-10 Torvald Riegel <triegel@redhat.com>
32988
32989 * scripts/bench.pl: Add include-sources directive.
32990 * benchtests/README: Update documentation.
32991
32992 2013-10-10 Joseph Myers <joseph@codesourcery.com>
32993
32994 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
32995 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
32996 instead of FP_INIT_ROUNDMODE.
32997 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
32998 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
32999
33000 [BZ #16034]
33001 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
33002 copy class of input value.
33003 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
33004 not handle exceptions.
33005 * soft-fp/negsf2.c (__negsf2): Likewise.
33006 * soft-fp/negtf2.c (__negtf2): Likewise.
33007 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
33008
33009 2013-10-09 Joseph Myers <joseph@codesourcery.com>
33010
33011 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
33012 semicolon. From Linux kernel.
33013
33014 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
33015
33016 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
33017
33018 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
33019
33020 [BZ #156]
33021 * manual/socket.texi: Added statement about buffer
33022 for gethostbyname2_r.
33023
33024 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
33025
33026 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
33027 Use .p2align directive instead, throughout.
33028 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33029 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33030 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
33031 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33032 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33033 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33034 * sysdeps/x86_64/strchr.S: Likewise.
33035 * sysdeps/x86_64/strrchr.S: Likewise.
33036
33037 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33038
33039 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
33040
33041 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
33042
33043 * sysdeps/generic/math_private.h (__mpsin1): Remove
33044 declaration.
33045 (__mpcos1): Likewise.
33046 (__mpsin): New argument __range_reduce.
33047 (__mpcos): Likewise.
33048 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33049 (slow): Use __mpsin and __mpcos.
33050 (slow1): Likewise.
33051 (slow2): Likewise.
33052 (sloww): Likewise.
33053 (sloww1): Likewise.
33054 (sloww2): Likewise.
33055 (bsloww): Likewise.
33056 (bsloww1): Likewise.
33057 (bsloww2): Likewise.
33058 (cslow2): Likewise.
33059 (csloww): Likewise.
33060 (csloww1): Likewise.
33061 (csloww2): Likewise.
33062 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
33063 range_reduce. Merge in __mpsin1.
33064 (__mpcos): Likewise.
33065 (__mpsin1): Remove.
33066 (__mpcos1): Likewise.
33067
33068 2013-10-07 Joseph Myers <joseph@codesourcery.com>
33069
33070 * locale/loadlocale.c (_nl_intern_locale_data): Use
33071 LOCFILE_ALIGNED_P.
33072 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
33073 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
33074 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
33075 obstack data is appropriately aligned.
33076 (obstack_int32_grow_fast): Likewise.
33077 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
33078 * locale/programs/locfile.c (add_locale_uint32): Likewise.
33079 (add_locale_uint32_array): Likewise.
33080
33081 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
33082
33083 * benchtests/Makefile: Remove ARGLIST and RET variables.
33084 ($(objpfx)bench-%.c): Pass only function name to the script.
33085 * benchtests/README: Update documentation.
33086 * benchtests/acos-inputs: Add new directives.
33087 * benchtests/acosh-inputs: Likewise.
33088 * benchtests/asin-inputs: Likewise.
33089 * benchtests/asinh-inputs: Likewise.
33090 * benchtests/atan-inputs: Likewise.
33091 * benchtests/atanh-inputs: Likewise.
33092 * benchtests/cos-inputs: Likewise.
33093 * benchtests/cosh-inputs: Likewise.
33094 * benchtests/exp-inputs: Likewise.
33095 * benchtests/log-inputs: Likewise.
33096 * benchtests/pow-inputs: Likewise.
33097 * benchtests/rint-inputs: Likewise.
33098 * benchtests/sin-inputs: Likewise.
33099 * benchtests/sinh-inputs: Likewise.
33100 * benchtests/tan-inputs: Likewise.
33101 * benchtests/tanh-inputs: Likewise.
33102 * scripts/bench.pl: Add support for new directives.
33103
33104 2013-10-07 Alan Modra <amodra@gmail.com>
33105
33106 * README: Fix careless merge.
33107
33108 2013-10-05 Alan Modra <amodra@gmail.com>
33109
33110 * NEWS: Mention powerpc64le support and bugs fixed.
33111 * README: Both big-endian and little-endian powerpc64 supported.
33112
33113 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33114
33115 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
33116 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
33117 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
33118 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
33119
33120 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
33121
33122 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
33123 match prototype.
33124
33125 2013-10-04 Joseph Myers <joseph@codesourcery.com>
33126
33127 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
33128 Move -mhard-float appending from
33129 ports/sysdeps/powerpc/powerpc32/Makefile.
33130 [$(with-fp) = yes] (ASFLAGS): Likewise.
33131 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
33132 * sysdeps/powerpc/nofpu: Move directory from
33133 ports/sysdeps/powerpc/nofpu.
33134 * sysdeps/powerpc/soft-fp: Move directory from
33135 ports/sysdeps/powerpc/soft-fp.
33136 * sysdeps/powerpc/powerpc32/405: Move directory from
33137 ports/sysdeps/powerpc/powerpc32/405.
33138 * sysdeps/powerpc/powerpc32/440: Move directory from
33139 ports/sysdeps/powerpc/powerpc32/440.
33140 * sysdeps/powerpc/powerpc32/464: Move directory from
33141 ports/sysdeps/powerpc/powerpc32/464.
33142 * sysdeps/powerpc/powerpc32/476: Move directory from
33143 ports/sysdeps/powerpc/powerpc32/476.
33144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
33145 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
33146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
33147 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
33148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
33149 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
33150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
33151 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
33152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
33153 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
33154 * README: Update for powerpc-*-linux-gnu software floating point
33155 support in libc.
33156
33157 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
33158 case to powerpc/powerpc32*.
33159 * sysdeps/unix/sysv/linux/configure: Regenerated.
33160
33161 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
33162 (_FPU_MASK_OM): Define as 0x04.
33163 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
33164 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
33165 0x00c10080.
33166 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
33167 0x0000003c.
33168 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
33169
33170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
33171 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33172 getcontext_e500.
33173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
33174 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
33175 setcontext_e500.
33176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
33177 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
33178 and setcontext_e500.
33179
33180 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
33181
33182 * locale/iso-3166.def: Update iso-1366.def and related occurrences
33183
33184 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33185
33186 * manual/threads.texi (Default Thread Attributes): Fix typo.
33187
33188 2013-10-04 Will Newton <will.newton@linaro.org>
33189
33190 * malloc/Makefile: Add tst-memalign.
33191 * malloc/tst-memalign.c: New file.
33192
33193 * malloc/tst-posix_memalign.c: Add comments.
33194 (do_test): Add comments and call free on all potentially
33195 allocated pointers. Add space after cast.
33196
33197 * malloc/tst-pvalloc.c: Add comments.
33198 (do_test): Add comments and call free on all potentially
33199 allocated pointers. Remove duplicate check for NULL pointer.
33200 Add space after cast.
33201
33202 * malloc/tst-valloc.c: Add comments.
33203 (do_test): Add comments and call free on all potentially
33204 allocated pointers. Remove duplicate check for NULL pointer.
33205 Add space after cast.
33206
33207 2013-10-04 Alan Modra <amodra@gmail.com>
33208
33209 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33210 Use stdint types in rather than __attribute__((mode())).
33211 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33212
33213 2013-10-04 Alan Modra <amodra@gmail.com>
33214
33215 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
33216 Correct handling of unaligned relocs for little-endian.
33217 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
33218
33219 2013-10-04 Alan Modra <amodra@gmail.com>
33220
33221 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
33222 * configure: Regenerate.
33223 * nptl/shlib-versions: Powerpc*le starts at 2.18.
33224 * shlib-versions: Likewise.
33225
33226 2013-10-04 Alan Modra <amodra@gmail.com>
33227
33228 * string/tester.c (test_memrchr): Increment reported test cycle.
33229
33230 2013-10-04 Alan Modra <amodra@gmail.com>
33231
33232 * string/test-memcpy.c (do_one_test): When reporting errors, print
33233 string address and don't overrun end of string.
33234
33235 2013-10-04 Alan Modra <amodra@gmail.com>
33236
33237 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
33238 insrdi. Make better use of reg selection to speed exit slightly.
33239 Schedule entry path a little better. Remove useless "are we done"
33240 checks on entry to main loop. Handle wrapping around zero address.
33241 Correct main loop count. Handle single left-over word from main
33242 loop inline rather than by using loop_small. Remove extra word
33243 case in loop_small caused by wrong loop count. Add little-endian
33244 support.
33245 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33246 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
33247 cache hint.
33248 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33249 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
33250 support. Avoid rlwimi.
33251 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
33252
33253 2013-10-04 Alan Modra <amodra@gmail.com>
33254
33255 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
33256 insrdi. Formatting.
33257 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
33258 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
33259 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
33260 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
33261 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33262 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
33263
33264 2013-10-04 Alan Modra <amodra@gmail.com>
33265
33266 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
33267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33268 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
33269 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
33270 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33271 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33272 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33273 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
33274 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
33275 use of regs. Use power7 mtocrf. Tidy function tails.
33276
33277 2013-10-04 Alan Modra <amodra@gmail.com>
33278
33279 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
33280 Formatting. Consistently use rXXX register defines or rN defines.
33281 Use early exit labels that avoid restoring unused non-volatile regs.
33282 Make cr field use more consistent with rWORDn compares. Rename
33283 regs used as shift registers for unaligned loop, using rN defines
33284 for short lifetime/multiple use regs.
33285 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33286 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
33287 addi 1,1,64 to pop stack frame. Simplify return value code.
33288 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33289
33290 2013-10-04 Alan Modra <amodra@gmail.com>
33291
33292 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
33293 support. Correct typos, formatting. Optimize tail. Use insrdi
33294 rather than rlwimi.
33295 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
33296 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
33297 little-endian support. Correct typos.
33298 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
33299 rather than rlwimi.
33300 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
33301 in loop and entry code to keep "and." results.
33302 (strchr): Add little-endian support. Comment. Move cntlzd
33303 earlier in tail.
33304 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
33305
33306 2013-10-04 Alan Modra <amodra@gmail.com>
33307
33308 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
33309 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
33310 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
33311 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
33312
33313 2013-10-04 Alan Modra <amodra@gmail.com>
33314
33315 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
33316 (rTMP): Define as r11.
33317 (strcmp): Add little-endian support. Optimise tail.
33318 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
33319 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33320 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33321 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33322 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33323 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33324 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33325
33326 2013-10-04 Alan Modra <amodra@gmail.com>
33327
33328 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
33329 little-endian support. Remove unnecessary "are we done" tests.
33330 Handle "s" wrapping around zero and extremely large "size".
33331 Correct main loop count. Handle single left-over word from main
33332 loop inline rather than by using small_loop. Correct comments.
33333 Delete "zero" tail, use "end_max" instead.
33334 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
33335
33336 2013-10-04 Alan Modra <amodra@gmail.com>
33337
33338 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
33339 support. Don't branch over align.
33340 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
33341 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
33342 support. Rearrange tmp reg use to suit. Comment.
33343 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
33344
33345 2013-10-04 Alan Modra <amodra@gmail.com>
33346
33347 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
33348
33349 2013-10-04 Alan Modra <amodra@gmail.com>
33350
33351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
33352 conditional form of branch and link when obtaining pc.
33353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
33354
33355 2013-10-04 Alan Modra <amodra@gmail.com>
33356
33357 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
33358 HIWORD/LOWORD.
33359 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
33360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
33361
33362 2013-10-04 Alan Modra <amodra@gmail.com>
33363
33364 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
33365 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
33366 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33367 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
33368 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33369 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33370 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
33371 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33372 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33373 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
33374
33375 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
33376 Alistair Popple <alistair@ozlabs.au.ibm.com>
33377 Alan Modra <amodra@gmail.com>
33378
33379 [BZ #15723]
33380 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
33381 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
33382 _dl_hwcap access for little-endian.
33383 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
33384 destroy vmx regs when saving unaligned.
33385 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
33386 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
33387 destroy vmx regs when saving unaligned.
33388
33389 2013-10-04 Alan Modra <amodra@gmail.com>
33390
33391 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
33392 Don't use a union to pack hi/low value.
33393
33394 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
33395
33396 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
33397 for little-endian.
33398 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
33399 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
33400 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
33401 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
33402 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
33403
33404 2013-10-04 Alan Modra <amodra@gmail.com>
33405
33406 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
33407 constants to usual value for .cst8 section, and remove redundant
33408 high address load.
33409 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
33410 constant for 0x1p52. Load little-endian words of double from
33411 correct stack offsets.
33412
33413 2013-10-04 Alan Modra <amodra@gmail.com>
33414
33415 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
33416 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
33417 words of double from correct stack offsets.
33418 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33419 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
33420 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
33421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
33422 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
33423 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
33424 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
33425 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33426 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33427 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
33428 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
33429 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
33430 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33431 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33432 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33433 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
33434 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33435
33436 2013-10-04 Alan Modra <amodra@gmail.com>
33437
33438 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
33439 64-bit int/double union.
33440 (_FPU_SETCW): Likewise.
33441 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
33442 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
33443
33444 2013-10-04 Alan Modra <amodra@gmail.com>
33445
33446 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
33447 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
33448
33449 2013-10-04 Alan Modra <amodra@gmail.com>
33450
33451 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
33452 use vector int constants.
33453 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
33454
33455 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
33456
33457 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
33458 array with long long.
33459 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
33460 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
33461 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
33462 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
33463 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
33464 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
33465 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
33466 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
33467 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
33468 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
33469 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
33470 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
33471 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
33472
33473 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
33474
33475 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
33476 (__signbit): Likewise. Correct for little-endian.
33477 (__signbitl): Call __signbit.
33478 (lrint): Correct for little-endian.
33479 (lrintf): Call lrint.
33480
33481 2013-10-04 Alan Modra <amodra@gmail.com>
33482
33483 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
33484 union 32-bit int array member with 64-bit int array.
33485 (t515, tm256): Double rather than long double.
33486 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
33487
33488 2013-10-04 Alan Modra <amodra@gmail.com>
33489
33490 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
33491 Delete.
33492 (IEEE854_LONG_DOUBLE_BIAS): Delete.
33493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
33494 version of math_ldbl.h.
33495
33496 2013-10-04 Alan Modra <amodra@gmail.com>
33497
33498 [BZ #15734], [BZ #15735]
33499 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
33500 all uses of ieee875 long double macros and unions. Simplify test
33501 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
33502 ldbl_extract_mantissa value for ix,iy exponents. Properly
33503 normalize after ldbl_extract_mantissa, and don't add hidden bit
33504 already handled. Don't treat low word of ieee854 mantissa like
33505 low word of IBM long double and mask off bit when testing for
33506 zero.
33507 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
33508 all uses of ieee875 long double macros and unions. Simplify tests
33509 for 0.0L and inf. Correct double adjustment of k. Delete dead code
33510 adjusting ha,hb. Simplify code setting kld. Delete two600 and
33511 two1022, instead use their values. Recognise that tests for large
33512 "a" and small "b" are mutually exclusive. Rename vars. Comment.
33513 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
33514 Rewrite all uses of ieee875 long double macros and unions. Simplify
33515 test for 0.0L and nan. Correct negation.
33516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
33517 ieee875 long double macros and unions. Correct output for large
33518 magnitude x. Correct absolute value calculation.
33519 (__erfcl): Likewise.
33520 * math/libm-test.inc: Add tests for errors discovered in IBM long
33521 double versions of fmodl, remainderl, erfl and erfcl.
33522
33523 2013-10-04 Alan Modra <amodra@gmail.com>
33524
33525 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
33526 all uses of ieee854 long double macros and unions. Simplify tests
33527 for long doubles that are fully specified by the high double.
33528 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
33529 Likewise.
33530 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
33531 Remove dead code too.
33532 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
33533 (__ieee754_ynl): Likewise.
33534 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
33535 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
33536 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
33537 Remove dead code too.
33538 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
33539 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
33540 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
33541 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
33542 Simplify.
33543 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
33544 Simplify.
33545 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
33546 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
33547 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
33548 Comment on variable precision.
33549 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
33550 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
33551 Likewise.
33552 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
33553 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
33554 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
33555 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
33556 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
33557
33558 2013-10-04 Alan Modra <amodra@gmail.com>
33559
33560 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
33561 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
33562 all uses of ieee854 long double macros and unions.
33563 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
33564 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33565 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
33566 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
33567 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
33568 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33569 Likewise.
33570 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
33571 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33572 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
33573 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33574 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
33575 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
33576 Simplify sign and nan test too.
33577 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
33578 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
33579 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
33580 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
33581 Likewise.
33582 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33583 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
33584 Likewise.
33585 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33586 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
33587 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
33588 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
33589 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
33590 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
33591
33592 2013-10-04 Alan Modra <amodra@gmail.com>
33593
33594 * stdio-common/printf_size.c (__printf_size): Don't use
33595 union ieee854_long_double in fpnum union.
33596 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
33597 signbit macro to retrieve sign from long double.
33598 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
33599 retrieve sign from long double.
33600 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
33601 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
33602 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
33603 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
33604 * math/test-misc.c (main): Don't use union ieee854_long_double.
33605
33606 2013-10-04 Alan Modra <amodra@gmail.com>
33607
33608 [BZ #15680]
33609 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
33610 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
33611 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
33612 calculation. Remove unnecessary test for denormal exponent.
33613 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
33614 Correct handling of denormals. Avoid undefined shift behaviour.
33615 Correct normalisation of low mantissa when low double is denormal.
33616 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
33617 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
33618 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
33619 Correct normalisation of low mantissa. Test for overflow of high
33620 mantissa and normalise.
33621 (ldbl_nearbyint): Use more readable constant for two52.
33622 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
33623 (__mpn_construct_long_double): Fix test for overflow of high
33624 mantissa and correct normalisation. Avoid undefined shift.
33625
33626 2013-10-04 Alan Modra <amodra@gmail.com>
33627
33628 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
33629 (union ibm_extended_long_double): Define as an array of ieee754_double.
33630 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
33631 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
33632 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
33633 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
33637 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33641
33642 2013-10-03 Joseph Myers <joseph@codesourcery.com>
33643
33644 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
33645 page size instead of calling getpagesize.
33646
33647 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
33648 (LOCFILE_ALIGN_MASK): Likewise.
33649 (LOCFILE_ALIGN_UP): Likewise.
33650 (LOCFILE_ALIGNED_P): Likewise.
33651 * locale/programs/ld-collate.c (collate_output): Use the new
33652 macros instead of __alignof__ (int32_t).
33653 * locale/weight.h (findidx): Likewise.
33654
33655 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
33656
33657 [BZ #431]
33658 * manual/string.texi: Fix strncat and wcsncat.
33659
33660 2013-10-03 Brooks Moses <bmoses@google.com>
33661
33662 [BZ #15915]
33663 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
33664 * Makerules: ...here, and adjust associated comments.
33665
33666 2013-10-02 Will Newton <will.newton@linaro.org>
33667
33668 * malloc/Makefile: Add tst-pvalloc.
33669 * malloc/tst-pvalloc.c: New file.
33670
33671 2013-10-02 Will Newton <will.newton@linaro.org>
33672
33673 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
33674 improve test coverage.
33675
33676 2013-10-02 Will Newton <will.newton@linaro.org>
33677
33678 * malloc/Makefile: Add tst-posix_memalign.
33679 * malloc/tst-posix_memalign.c: New file.
33680
33681 2013-10-01 Eric Blake <eblake@redhat.com>
33682
33683 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
33684 Use __THROWNL rather than __THROW on static functions.
33685
33686 2013-09-30 Petr Machata <pmachata@redhat.com>
33687
33688 * elf/elf.h (R_AARCH64_ABS16): New macro.
33689 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
33690 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
33691 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
33692 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
33693 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
33694 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
33695 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
33696 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
33697 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
33698 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
33699 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
33700 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
33701 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
33702 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
33703 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
33704 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
33705 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
33706 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
33707 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
33708 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
33709 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
33710 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
33711 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
33712 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
33713 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
33714 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
33715 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
33716 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
33717 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
33718 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
33719 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
33720 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
33721 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
33722 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
33723 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
33724 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
33725 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
33726 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
33727 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
33728 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
33729 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
33730 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
33731 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
33732 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
33733 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
33734 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
33735 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
33736 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
33737 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
33738 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
33739 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
33740 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
33741 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
33742 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
33743 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
33744 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
33745 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
33746 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
33747 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
33748 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
33749 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
33750 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
33751 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
33752 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
33753 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
33754 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
33755 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
33756 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
33757 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
33758 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
33759 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
33760 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
33761 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
33762 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
33763 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
33764 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
33765 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
33766 (R_AARCH64_TLSDESC_LDR): Likewise.
33767 (R_AARCH64_TLSDESC_ADD): Likewise.
33768 (R_AARCH64_TLSDESC_CALL): Likewise.
33769
33770 2013-09-30 Andreas Schwab <schwab@suse.de>
33771
33772 [BZ #15048]
33773 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
33774 the nss database lookup.
33775 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33776 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
33777
33778 2013-09-28 Mike Frysinger <vapier@gentoo.org>
33779
33780 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
33781
33782 2013-09-28 P. J. McDermott <pj@pehjota.net>
33783
33784 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
33785 ${Bash-specific parameter/pattern/string} parameter expansion.
33786 * sysdeps/unix/make-syscalls.sh: Likewise.
33787
33788 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
33789
33790 * sysdeps/sh/stackguard-macros.h: New file.
33791
33792 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
33793
33794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
33795 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
33796 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
33797 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
33798 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33799 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
33800
33801 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
33802
33803 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
33804 Fix thread ID register.
33805
33806 2013-09-25 Joseph Myers <joseph@codesourcery.com>
33807
33808 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
33809 [POSIX || UNIX98]: Require rather than permitting all symbols from
33810 <time.h>.
33811 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
33812 element of struct sched_param.
33813 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
33814 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
33815 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
33816 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
33817 constant.
33818
33819 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
33820
33821 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
33822 argument calculation.
33823
33824 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33825
33826 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
33827 Expect macro.
33828 [POSIX] (pthread_attr_t): Do not require type.
33829 [POSIX] (pthread_cond_t): Likewise.
33830 [POSIX] (pthread_condattr_t): Likewise.
33831 [POSIX] (pthread_key_t): Likewise.
33832 [POSIX] (pthread_mutex_t): Likewise.
33833 [POSIX] (pthread_mutexattr_t): Likewise.
33834 [POSIX] (pthread_once_t): Likewise.
33835 [POSIX] (pthread_t): Likewise.
33836 [POSIX-based standards] (pthread_atfork): Expect function.
33837
33838 2013-09-24 Joseph Myers <joseph@codesourcery.com>
33839 Richard Sandiford <richard@codesourcery.com>
33840
33841 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
33842 (swap_endianness_p): New extern variable.
33843 (set_big_endian): New inline function.
33844 (maybe_swap_uint32): Likewise.
33845 (maybe_swap_uint32_array): Likewise.
33846 (maybe_swap_uint32_obstack): Likewise.
33847 * locale/programs/locfile.c: Include <stdbool.h>.
33848 (swap_endianness_p): New variable.
33849 (add_locale_uint32): Call maybe_swap_uint32.
33850 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
33851 (write_locale_data): Call maybe_swap_uint32_array.
33852 * locale/programs/ld-collate.c (obstack_int32_grow): Call
33853 maybe_swap_uint32.
33854 (obstack_int32_grow_fast): Likewise.
33855 (output_weightwc): Call maybe_swap_uint32_obstack.
33856 (collate_output): Likewise.
33857 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
33858 (OPT_LITTLE_ENDIAN): Likewise.
33859 (options): Add --little-endian and --big-endian options.
33860 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
33861 * locale/programs/locarchive.c: Include "locfile.h".
33862 (GET): New macro.
33863 (SET): Likewise.
33864 (INC): Likewise.
33865 (create_archive): Use the new macros to access fields of
33866 structures directly mapped from or written to locale archives.
33867 (oldlocrecentcmp): Likewise.
33868 (enlarge_archive): Likewise.
33869 (insert_name): Likewise.
33870 (add_alias): Likewise.
33871 (add_locale): Likewise.
33872 (delete_locales_from_archive): Likewise.
33873 (show_archive_content): Likewise.
33874 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
33875 locale data.
33876
33877 2013-09-24 Roland McGrath <roland@hack.frob.com>
33878
33879 * manual/freemanuals.texi: Updated from (newly) canonical copy at
33880 http://www.gnu.org/doc/freemanuals.texi.
33881 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
33882
33883 2013-09-24 Will Newton <will.newton@linaro.org>
33884
33885 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
33886 macro.
33887
33888 2013-09-23 Joseph Myers <joseph@codesourcery.com>
33889
33890 * locale/hashval.h (compute_hashval): Interpret bytes of key as
33891 unsigned char.
33892
33893 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
33894
33895 * manual/threads.texi (POSIX Threads): Fix a typo.
33896
33897 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
33898
33899 [BZ #14547]
33900 * string/tst-strcoll-overflow.c: New test case.
33901 * string/Makefile (xtests): Add tst-strcoll-overflow.
33902 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
33903 cache if string sizes may cause integer overflow.
33904
33905 [BZ #14547]
33906 * string/strcoll_l.c (coll_seq): New members rule, idx,
33907 save_idx and back_us.
33908 (get_next_seq_nocache): New function.
33909 (do_compare_nocache): New function.
33910 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
33911 when malloc fails.
33912
33913 2013-09-23 Carlos O'Donell <carlos@redhat.com>
33914
33915 [BZ #15754]
33916 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
33917 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
33918 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
33919
33920 [BZ #15754]
33921 * elf/Makefile (tests): Add tst-ptrguard1.
33922 (tests-static): Add tst-ptrguard1-static.
33923 (tst-ptrguard1-ARGS): Define.
33924 (tst-ptrguard1-static-ARGS): Define.
33925 * elf/tst-ptrguard1.c: New file.
33926 * elf/tst-ptrguard1-static.c: New file.
33927 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
33928 * sysdeps/i386/stackguard-macros.h: Likewise.
33929 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33930 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33931 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33932 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33933 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33934 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33935
33936 2013-09-23 Hector Marco <hecmargi@upv.es>
33937 Ismael Ripoll <iripoll@disca.upv.es>
33938 Carlos O'Donell <carlos@redhat.com>
33939
33940 [BZ #15754]
33941 * sysdeps/generic/stackguard-macros.h: Define
33942 __pointer_chk_guard_local and POINTER_CHK_GUARD.
33943 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
33944 Define __pointer_chk_guard_local.
33945 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
33946 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
33947
33948 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
33949
33950 [BZ #15859]
33951 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
33952
33953 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
33954
33955 * include/string.h (__ffs): Declare as hidden.
33956 * string/ffs.c (__ffs): Define as hidden.
33957 * sysdeps/i386/ffs.c (__ffs): Likewise.
33958 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
33959 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
33960 * sysdeps/s390/ffs.c (__ffs): Likewise.
33961 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
33962
33963 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
33964
33965 * NEWS: Mention malloc probes.
33966
33967 * malloc/arena.c (new_heap): New memory_heap_new probe.
33968 (grow_heap): New memory_heap_more probe.
33969 (shrink_heap): New memory_heap_less probe.
33970 (heap_trim): New memory_heap_free probe.
33971 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
33972 (systrim): New memory_sbrk_less probe.
33973 * manual/probes.texi: Document them.
33974
33975 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
33976 * manual/probes.texi: Document it.
33977
33978 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
33979 (__libc_realloc): Add memory_realloc_retry probe.
33980 (__libc_memalign): Add memory_memalign_retry probe.
33981 (__libc_valloc): Add memory_valloc_retry probe.
33982 (__libc_pvalloc): Add memory_pvalloc_retry probe.
33983 (__libc_calloc): Add memory_calloc_retry probe.
33984 * manual/probes.texi: Document them.
33985
33986 * malloc/arena.c (get_free_list): Add probe
33987 memory_arena_reuse_free_list.
33988 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
33989 and memory_arena_reuse.
33990 (arena_get2) [!PER_THREAD]: Likewise.
33991 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
33992 memory_arena_reuse_realloc.
33993 * manual/probes.texi: Document them.
33994
33995 * malloc/malloc.c (__libc_free): Add
33996 memory_mallopt_free_dyn_thresholds probe.
33997 (__libc_mallopt): Add multiple memory_mallopt probes.
33998 * manual/probes.texi: Document them.
33999
34000 * malloc/malloc.c: Include stap-probe.h.
34001 (__libc_mallopt): Add memory_mallopt probe.
34002 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
34003 * manual/probes.texi: New.
34004 * manual/Makefile (chapters): Add probes.
34005 * manual/threads.texi: Set next node.
34006
34007 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
34008
34009 [BZ #15963, #13985]
34010 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
34011 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
34012 Add `Chinese' to `nan' entry name.
34013
34014 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34015
34016 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
34017 (POLYNOMIAL): Likewise.
34018 (TAYLOR_SINCOS): Likewise.
34019 (TAYLOR_SLOW): Likewise.
34020 (__sin): Use TAYLOR_SINCOS.
34021 (__cos): Likewise.
34022 (slow): Use TAYLOR_SLOW.
34023 (sloww): Likewise.
34024 (bsloww): Likewise.
34025 (csloww): Likewise.
34026
34027 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34028
34029 * stdlib/strtod_l.c: Fix buffer overrun.
34030
34031 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34032
34033 * benchtests/Makefile (bench): Add sincos.
34034 * benchtests/bench-sincos.c: New file.
34035
34036 * math/libm-test.inc (cos_test_data): New test inputs.
34037 (sin_test_data): Likewise.
34038
34039 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
34040 macro.
34041 (__sin): Use it.
34042 (__cos): Likewise.
34043 (slow1): Likewise.
34044 (slow2): Likewise.
34045 (sloww1): Likewise.
34046 (sloww2): Likewise.
34047 (bsloww1): Likewise.
34048 (bsloww2): Likewise.
34049 (cslow2): Likewise.
34050 (csloww1): Likewise.
34051 (csloww2): Likewise.
34052
34053 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
34054 function.
34055 (__sin): Use it.
34056 (__cos): Likewise.
34057
34058 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
34059 gotos.
34060 (__cos): Likewise.
34061
34062 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
34063
34064 * config.h.in (HAVE_MIPS_NAN2008): New macro.
34065 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
34066 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
34067 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
34068 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
34069 * elf/cache.c (print_entry): Handle the new cache flags.
34070
34071 2013-09-18 Joseph Myers <joseph@codesourcery.com>
34072 Aldy Hernandez <aldyh@redhat.com>
34073
34074 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
34075 Change condition to [_SOFT_FLOAT].
34076 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
34077 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
34078 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
34079 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
34080 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
34081 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
34082 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
34083 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
34084 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
34085 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
34086 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
34087 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
34088 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
34089 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
34090 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
34091 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
34092 declaration.
34093
34094 2013-09-18 Joseph Myers <joseph@codesourcery.com>
34095
34096 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
34097 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
34098 (__longjmp): Use LOAD_GP to load saved GPRs.
34099 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
34100 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
34101 (__sigsetjmp): Use SAVE_GP to save GPRs.
34102
34103 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
34104 Do not append -msoft-float.
34105 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
34106
34107 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34108
34109 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
34110
34111 2013-09-17 Joseph Myers <joseph@codesourcery.com>
34112
34113 [BZ #15966]
34114 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
34115 (_FPU_GETCW): Use initial "__" on variable and field names but not
34116 on macro parameter name.
34117 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
34118 parentheses around reference to macro parameter.
34119
34120 2013-09-13 Richard Sandiford <richard@codesourcery.com>
34121
34122 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
34123 prototype.
34124 (ctype_startup): Use uint32_t in cast and sizeof for
34125 ctype->charnames.
34126
34127 2013-09-11 Jia Liu <proljc@gmail.com>
34128
34129 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
34130 __daddr_t_defined.
34131 [__FreeBSD__]: Likewise.
34132
34133 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
34134
34135 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34136 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
34137 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
34138 (strchr): Remove __strchr_sse42 ifunc selection.
34139 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
34140 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
34141
34142 2013-09-11 Will Newton <will.newton@linaro.org>
34143
34144 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
34145 parameter to RES. Remove hardcoded 1000 value.
34146 * benchtests/bench-skeleton.c (main): Pass RES parameter
34147 to TIMING_INIT and multiply result by 1000.
34148
34149 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34150
34151 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34152
34153 2013-09-11 Andreas Schwab <schwab@suse.de>
34154
34155 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
34156 if not defined.
34157 (O_TMPFILE) [__USE_GNU]: Define.
34158 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
34159 Define.
34160
34161 2013-09-11 Will Newton <will.newton@linaro.org>
34162
34163 [BZ #15857]
34164 * malloc/malloc.c (__libc_memalign): Check the value of bytes
34165 does not overflow.
34166
34167 2013-09-11 Will Newton <will.newton@linaro.org>
34168
34169 [BZ #15856]
34170 * malloc/malloc.c (__libc_valloc): Check the value of bytes
34171 does not overflow.
34172
34173 2013-09-11 Will Newton <will.newton@linaro.org>
34174
34175 [BZ #15855]
34176 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
34177 does not overflow.
34178
34179 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
34180
34181 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
34182 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
34183 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
34184 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
34185 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
34186
34187 2013-09-10 Allan McRae <allan@archlinux.org>
34188
34189 [BZ #15748]
34190 * manual/arith.texi (Parsing of Floats): Clarify
34191 cross-reference.
34192
34193 [BZ #15849]
34194 * manual/install.texi (Running make install): Mention
34195 --enable-pt-chown.
34196 * INSTALL: Regenerated.
34197
34198 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
34199
34200 * csu/init-first.c (_init): Remove the !SHARED condition around
34201 FPU control word initialization.
34202 * elf/dl-support.c (_dl_fpu_control): New variable.
34203 (_dl_aux_init) <AT_FPUCW>: Initialize it.
34204 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
34205 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
34206 * math/test-fpucw-static.c: New file.
34207 * math/test-fpucw-ieee.c: New file.
34208 * math/test-fpucw-ieee-static.c: New file.
34209 * math/Makefile (tests): Add `test-fpucw-ieee' and
34210 `$(tests-static)'.
34211 (tests-static): New variable.
34212 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
34213 dependency to...
34214 [($(build-shared),yes)]
34215 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
34216 ... this.
34217 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
34218 New dependency.
34219
34220 2013-09-09 Allan McRae <allan@archlinux.org>
34221
34222 [BZ #15939]
34223 * manual/string.texi (Collation Functions): Fix typo in
34224 strcoll example.
34225 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
34226
34227 [BZ #15893]
34228 * stdlib/isomac.c (get_null_defines): Fix memory leak.
34229
34230 [BZ #15892]
34231 * libio/memstream.c (open_memstream): Fix memory leak.
34232 * libio/wmemstream.c (open_wmemstream): Likewise.
34233
34234 [BZ #15895]
34235 * nscd/netgroupcache.c: Fix nesting of ifdefs.
34236
34237 2013-09-09 Will Newton <will.newton@linaro.org>
34238
34239 * malloc/Makefile: Add tst-realloc to tests.
34240 * malloc/tst-realloc.c: New file.
34241
34242 2013-09-09 Allan McRae <allan@archlinux.org>
34243
34244 [BZ #15844]
34245 * COPYING: Update from GNU website to fix FSF address.
34246 * COPYING.LIB: Likewise.
34247
34248 2013-09-06 David S. Miller <davem@davemloft.net>
34249
34250 * po/zh_TW.po: Update Chinese (traditional) translation from
34251 translation project.
34252
34253 2013-09-06 Richard Sandiford <richard@codesourcery.com>
34254 Joseph Myers <joseph@codesourcery.com>
34255
34256 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
34257 "localeinfo.h".
34258 (obstack_chunk_alloc): New macro.
34259 (obstack_chunk_free): Likewise.
34260 (record_offset): New function.
34261 (init_locale_data): Likewise.
34262 (align_locale_data): Likewise.
34263 (add_locale_empty): Likewise.
34264 (add_locale_raw_data): Likewise.
34265 (add_locale_raw_obstack): Likewise.
34266 (add_locale_string): Likewise.
34267 (add_locale_wstring): Likewise.
34268 (add_locale_uint32): Likewise.
34269 (add_locale_uint32_array): Likewise.
34270 (add_locale_char): Likewise.
34271 (start_locale_structure): Likewise.
34272 (end_locale_structure): Likewise.
34273 (start_locale_prelude): Likewise.
34274 (end_locale_prelude): Likewise.
34275 (write_locale_data): Take locale_file structure rather than an
34276 iovec.
34277 * locale/programs/locfile.h: Include "obstack.h".
34278 (struct locale_file): Change to store locale file contents instead
34279 of header.
34280 (init_locale_data): New prototype.
34281 (align_locale_data): Likewise.
34282 (add_locale_empty): Likewise.
34283 (add_locale_raw_data): Likewise.
34284 (add_locale_raw_obstack): Likewise.
34285 (add_locale_string): Likewise.
34286 (add_locale_wstring): Likewise.
34287 (add_locale_uint32): Likewise.
34288 (add_locale_uint32_array): Likewise.
34289 (add_locale_char): Likewise.
34290 (start_locale_structure): Likewise.
34291 (end_locale_structure): Likewise.
34292 (start_locale_prelude): Likewise.
34293 (end_locale_prelude): Likewise.
34294 (write_locale_data): Update prototype.
34295 * locale/programs/3level.h (struct TABLE): Remove result field.
34296 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
34297 Use new locale_file interface.
34298 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
34299 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
34300 * locale/programs/ld-address.c (address_output): Use new
34301 locale_file interface.
34302 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
34303 NO_ADD_LOCALE.
34304 (collate_finish): Don't call collseq_table_finalize.
34305 (collate_output): Use new locale_file interface.
34306 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
34307 in file.
34308 (NO_FINALIZE): Change to NO_ADD_LOCALE.
34309 (TABLE): Move defines earlier in file.
34310 (ELEMENT): Likewise.
34311 (DEFAULT): Likewise.
34312 (wctrans_table_add): Move macro and inline function earlier in
34313 file.
34314 (struct wctype_table): Move type earlier in file.
34315 (add_locale_wctype_table): New static prototype.
34316 (struct locale_ctype_t): Use logical types instead of struct iovec
34317 pointers for members.
34318 (ctype_output): Use new locale_file interface.
34319 (wctype_table_finalize): Change to add_locale_wctype_table. Use
34320 new locale_file interface.
34321 (allocate_arrays): Update for use of new locale_file interface.
34322 * locale/programs/ld-identification.c (identification_output): Use
34323 new locale_file interface.
34324 * locale/programs/ld-measurement.c (measurement_output): Likewise.
34325 * locale/programs/ld-messages.c (messages_output): Likewise.
34326 * locale/programs/ld-monetary.c (monetary_output): Likewise.
34327 * locale/programs/ld-name.c (name_output): Likewise.
34328 * locale/programs/ld-numeric.c (numeric_output): Likewise.
34329 * locale/programs/ld-paper.c (paper_output): Likewise.
34330 * locale/programs/ld-telephone.c (telephone_output): Likewise.
34331 * locale/programs/ld-time.c (time_output): Likewise.
34332
34333 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34334
34335 * benchtests/Makefile: Add memrchr benchmark.
34336 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
34337 benchmark as memrchr.
34338 * benchtests/bench-memrchr-ifunc.c: New file.
34339 * benchtests/bench-memrchr.c: New file.
34340
34341 2013-09-06 Will Newton <will.newton@linaro.org>
34342
34343 * benchtests/Makefile (string-bench): Add memcpy.
34344
34345 2013-09-05 Carlos O'Donell <carlos@redhat.com>
34346 Cong Wang <amwang@redhat.com>
34347
34348 [BZ #15850]
34349 * sysdeps/unix/sysv/linux/bits/in.h
34350 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
34351 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
34352 before __USE_KERNEL_IPV6_DEFS uses.
34353 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
34354 IPPROTO_BEETPH.
34355 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
34356 sockaddr_in6, or ipv6_mreq.
34357
34358 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34359
34360 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
34361 memory access for final bytes in some large inputs.
34362 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
34363
34364 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34365
34366 * string/test-memrchr.c: New file.
34367 * string/test-memrchr-ifunc.c: New file.
34368 * string/Makefile: Add new memrchr testcase.
34369
34370 2013-09-05 Mike Frysinger <vapier@gentoo.org>
34371
34372 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
34373 fanotify_init returns EPERM.
34374
34375 2013-09-04 Joseph Myers <joseph@codesourcery.com>
34376
34377 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
34378 errors.
34379 (top level): Treat second token from macro or constant entries for
34380 allowed headers as allowed.
34381 * include/complex.h: Condition internal declarations on
34382 [!_ISOMAC].
34383 * include/fenv.h: Condition include of <stdbool.h> and internal
34384 declarations on [!_ISOMAC].
34385
34386 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
34387
34388 [BZ #15923]
34389 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
34390
34391 2013-09-04 Joseph Myers <joseph@codesourcery.com>
34392
34393 * configure.in (--enable-versioning): Remove configure option.
34394 (libc_cv_asm_symver_directive): Remove configure test.
34395 (libc_cv_ld_version_script_option): Likewise.
34396 (VERSIONING): Remove variable and AC_SUBST.
34397 (DO_VERSIONING): Remove AC_DEFINE.
34398 * configure: Regenerated.
34399 * config.h.in (DO_VERSIONING): Remove macro.
34400 * Makerules [$(versioning) = yes]: Change conditionals to
34401 [$(build-shared) = yes].
34402 * config.make.in (versioning): Remove variable.
34403 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
34404 [$(build-shared) = yes].
34405 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
34406 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
34407 * elf/Makefile [$(versioning) = yes]: Change conditionals to
34408 [$(build-shared) = yes].
34409 * extra-lib.mk [$(versioning) = yes]: Likewise.
34410 * hurd/Makefile [$(versioning) = yes]: Likewise.
34411 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
34412 [SHARED].
34413 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
34414 [SHARED].
34415 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34416 [SHARED && !NO_HIDDEN].
34417 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
34418 [SHARED].
34419 [SHARED && DO_VERSIONING]: Likewise..
34420 * libio/Makefile [$(versioning) = yes]: Change conditionals to
34421 [$(build-shared) = yes].
34422 * manual/install.texi (--disable-versioning): Remove
34423 documentation.
34424 * INSTALL: Regenerated.
34425 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
34426 to [SHARED].
34427 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
34428 [$(build-shared) = yes].
34429 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
34430 * sysdeps/i386/i686/multiarch/strstr-c.c
34431 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
34432 [SHARED && !NO_HIDDEN].
34433 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
34434 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
34435 * sysdeps/powerpc/powerpc32/dl-machine.c
34436 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
34437 * sysdeps/powerpc/powerpc32/sysdep.h
34438 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
34439 to [SHARED && PIC && !NO_HIDDEN].
34440 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
34441 conditional to [SHARED].
34442
34443 2013-09-04 Will Newton <will.newton@linaro.org>
34444
34445 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
34446 * benchtests/bench-string.h: Include bench-timing.h instead
34447 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
34448 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
34449 call to HP_TIMING_DIFF_INIT.
34450 * benchtests/bench-memccpy.c: Use bench-timing.h macros
34451 instead of hp-timing.h macros.
34452 * benchtests/bench-memchr.c: Likewise.
34453 * benchtests/bench-memcmp.c: Likewise.
34454 * benchtests/bench-memcpy.c: Likewise.
34455 * benchtests/bench-memmem.c: Likewise.
34456 * benchtests/bench-memmove.c: Likewise.
34457 * benchtests/bench-memset.c: Likewise.
34458 * benchtests/bench-rawmemchr.c: Likewise.
34459 * benchtests/bench-strcasecmp.c: Likewise.
34460 * benchtests/bench-strcasestr.c: Likewise.
34461 * benchtests/bench-strcat.c: Likewise.
34462 * benchtests/bench-strchr.c: Likewise.
34463 * benchtests/bench-strcmp.c: Likewise.
34464 * benchtests/bench-strcpy.c: Likewise.
34465 * benchtests/bench-strcpy_chk.c: Likewise.
34466 * benchtests/bench-strlen.c: Likewise.
34467 * benchtests/bench-strncasecmp.c: Likewise.
34468 * benchtests/bench-strncat.c: Likewise.
34469 * benchtests/bench-strncmp.c: Likewise.
34470 * benchtests/bench-strncpy.c: Likewise.
34471 * benchtests/bench-strnlen.c: Likewise.
34472 * benchtests/bench-strpbrk.c: Likewise.
34473 * benchtests/bench-strrchr.c: Likewise.
34474 * benchtests/bench-strspn.c: Likewise.
34475 * benchtests/bench-strstr.c: Likewise.
34476
34477 2013-09-04 Will Newton <will.newton@linaro.org>
34478
34479 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
34480
34481 2013-09-03 Joseph Myers <joseph@codesourcery.com>
34482
34483 [BZ #15427]
34484 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34485 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
34486 * math/libm-test.inc (lgamma_test_data): Add more tests.
34487 * sysdeps/i386/fpu/libm-test-ulps: Update.
34488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34489
34490 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
34491
34492 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
34493 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
34494 Add ifunc.
34495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
34496 Add strcmp-sse2-unaligned
34497 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
34498
34499 2013-09-02 Mike Frysinger <vapier@gentoo.org>
34500
34501 * Versions.def (libc): Add GLIBC_2.19.
34502
34503 2013-09-02 Mike Frysinger <vapier@gentoo.org>
34504
34505 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
34506 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
34507
34508 2013-09-02 Joseph Myers <joseph@codesourcery.com>
34509
34510 [BZ #14155]
34511 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
34512 intermediate calculations in recurrence.
34513 (__ieee754_ynf): Likewise.
34514 * math/libm-test.inc (jn_test_data): Do not allow spurious
34515 underflow exception. Add more tests.
34516 (yn_test_data): Add more tests.
34517 * sysdeps/i386/fpu/libm-test-ulps: Update.
34518 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34519
34520 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
34521
34522 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
34523
34524 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34525
34526 * csu/init-first.c: Fix then/than typos.
34527 * locale/programs/ld-collate.c: Likewise.
34528 * locale/programs/linereader.h: Likewise.
34529 * manual/charset.texi: Likewise.
34530 * manual/filesys.texi: Likewise.
34531 * manual/stdio.texi: Likewise.
34532 * manual/string.texi: Likewise.
34533 * stdlib/fmtmsg.c: Likewise.
34534 * sysdeps/i386/stpncpy.S: Likewise.
34535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34536 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
34537 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34538 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
34539
34540 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34541
34542 * elf/dl-open.c: Fix typos.
34543 * iconvdata/gbbig5.c: Likewise.
34544 * iconvdata/iso-2022-jp.c: Likewise.
34545 * iconv/gconv_int.h: Likewise.
34546 * iconv/loop.c: Likewise.
34547 * nis/rpcsvc/nis.h: Likewise.
34548 * resolv/ns_name.c: Likewise.
34549 * stdio-common/vfscanf.c: Likewise.
34550 * streams/stropts.h: Likewise.
34551 * sunrpc/rpc_thread.c: Likewise.
34552 * sysdeps/i386/strpbrk.S: Likewise.
34553 * sysdeps/ieee754/k_standard.c: Likewise.
34554 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
34555 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
34556 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
34557 * sysdeps/mach/hurd/profil.c: Likewise.
34558 * sysdeps/s390/dl-procinfo.h: Likewise.
34559 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
34560 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
34561 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
34562 * sysdeps/x86_64/dl-trampoline.S: Likewise.
34563 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
34564
34565 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
34566
34567 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
34568 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
34569
34570 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34571
34572 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
34573 aix specific files.
34574 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
34575 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
34576 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
34577 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
34578 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
34579 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
34580 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
34581 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
34582
34583 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34584 Roland McGrath <roland@hack.frob.com>
34585
34586 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
34587 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
34588
34589 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
34590
34591 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
34592 __executable_start symbol instead of _start.
34593
34594 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
34595
34596 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
34597 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
34598 Move macros to...
34599 * sysdeps/gnu/ldsodefs.h: ... this new file.
34600
34601 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
34602 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
34603 instead of ELFOSABI_LINUX.
34604
34605 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
34606 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
34607 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
34608 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
34609 Likewise.
34610 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
34611 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
34612 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
34613 Likewise.
34614 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
34615 (ibm_extended_long_double): Add ieee_nan member.
34616 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
34617 (do_test): New function.
34618
34619 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
34620 TEST_TRUNC.
34621 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
34622 functions, renamed from truncdfsf_test, trunctfsf_test,
34623 trunctfdf_test.
34624 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
34625 functions.
34626 (do_test): Run all these.
34627
34628 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
34629
34630 * argp/argp-help.c: Fix typos.
34631 * argp/argp-parse.c: Likewise.
34632 * debug/backtracesyms.c: Likewise.
34633 * elf/elf.h: Likewise.
34634 * malloc/malloc.c: Likewise.
34635 * nis/nis_print.c: Likewise.
34636 * resolv/res_comp.c: Likewise.
34637 * stdlib/stdlib.h: Likewise.
34638 * sunrpc/clnt_tcp.c: Likewise.
34639 * sunrpc/clnt_udp.c: Likewise.
34640 * sunrpc/clnt_unix.c: Likewise.
34641 * sysdeps/unix/bsd/ptsname.c: Likewise.
34642 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34643 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
34644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
34645 Likewise.
34646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
34647 Likewise.
34648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
34649 Likewise.
34650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34651
34652 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
34653
34654 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
34655 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
34656
34657 2013-08-27 Mike Frysinger <vapier@gentoo.org>
34658
34659 [BZ #15897]
34660 * dlfcn/Makefile (tests): Add bug-dl-leaf.
34661 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
34662 ($(objpfx)bug-dl-leaf): New rule.
34663 ($(objpfx)bug-dl-leaf.so): Likewise.
34664 ($(objpfx)bug-dl-leaf.out): Likewise.
34665 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
34666 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
34667 * dlfcn/bug-dl-leaf.c: New test.
34668 * dlfcn/bug-dl-leaf-lib.c: Likewise.
34669 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
34670 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
34671 (dlclose): Likewise.
34672 (dlmopen): Likewise.
34673
34674 2013-08-27 Roland McGrath <roland@hack.frob.com>
34675
34676 * include/netdb.h [!_ISOMAC]:
34677 Don't include <tls.h>.
34678 (h_errno, __libc_h_errno): Move declaration and macros out of
34679 [_LIBC_REENTRANT].
34680
34681 * include/resolv.h [_RESOLV_H_]:
34682 Don't include <tls.h>.
34683 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
34684 * resolv/res_libc.c: Don't include <tls.h>.
34685 (_res): Use __attribute__ ((nocommon)) in place of
34686 __attribute__ ((section (".bss"))).
34687
34688 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
34689 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
34690
34691 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
34692
34693 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
34694 only under [SIOCGIFCONF && SIOCGIFNETMASK].
34695
34696 * resolv/res_mkquery.c: Include <sys/time.h>.
34697
34698 * inet/ifreq.c: Moved to ...
34699 * sysdeps/unix/ifreq.c: ... here.
34700 * inet/ifreq.c: New file, true stub version.
34701
34702 * socket/sa_len.c: New file.
34703 * socket/Makefile (aux): Add it.
34704 * sysdeps/unix/sysv/linux/Makefile
34705 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
34706 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
34707 and #include <socket/sa_len.c>.
34708 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
34709 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
34710
34711 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
34712 * bits/socket.h: ... here.
34713
34714 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
34715 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
34716 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
34717
34718 2013-08-27 Andreas Schwab <schwab@suse.de>
34719
34720 [BZ #15736]
34721 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
34722 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
34723 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
34724 * string/test-strcasecmp.c (test_main): Run tests in several
34725 locales.
34726 * string/test-strncasecmp.c (test_main): Likewise.
34727
34728 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
34729 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
34730 to __strcasecmp_nonascii and __strncasecmp_nonascii.
34731 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
34732 (__strncasecmp_ssse3) [PIC]: Likewise.
34733
34734 2013-08-26 Roland McGrath <roland@hack.frob.com>
34735
34736 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
34737
34738 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
34739 instead of explicitly declaring xdecrypt.
34740 * nis/nss_nis/nis-publickey.c: Likewise.
34741
34742 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34743
34744 [BZ #15890]
34745 * nscd/aicache.c: Include res_hconf.h.
34746 (addhstaiX): Initialize res_hconf.
34747
34748 2013-08-26 Andreas Schwab <schwab@suse.de>
34749
34750 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
34751 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
34752
34753 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
34754
34755 * nscd/aicache.c (addhstaiX): Fix indentation.
34756
34757 2013-08-25 Mike Frysinger <vapier@gentoo.org>
34758
34759 * configure.ac: Quote $build_pt_chown test.
34760 * configure: Regenerated.
34761
34762 2013-08-23 Joseph Myers <joseph@codesourcery.com>
34763
34764 [BZ #15532]
34765 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
34766 * math/s_cexpf.c (__cexpf): Likewise.
34767 * math/s_cexpl.c (__cexpl): Likewise.
34768 * math/libm-test.inc (cexp_test_data): Correct expected return
34769 value for NaN + i0. Add another test.
34770
34771 2013-08-22 David S. Miller <davem@davemloft.net>
34772
34773 * po/ca.po: Update Catalan translation from translation project.
34774 * po/uk.po: Add Ukrainian translations from translation project.
34775
34776 2013-08-21 Joseph Myers <joseph@codesourcery.com>
34777
34778 [BZ #15797]
34779 * math/s_fdim.c (__fdim): Check for infinite arguments if result
34780 is infinite, not alongside NaN test.
34781 * math/s_fdimf.c (__fdimf): Likewise.
34782 * math/s_fdiml.c (__fdiml): Likewise.
34783 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
34784 errno is unchanged.
34785
34786 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
34787
34788 * argp/argp-help.c: Fix typos.
34789 * crypt/speeds.c: Likewise.
34790 * csu/check_fds.c: Likewise.
34791 * elf/dl-load.c: Likewise.
34792 * elf/dl-open.c: Likewise.
34793 * elf/reldep3.c: Likewise.
34794 * elf/reldep.c: Likewise.
34795 * elf/sprof.c: Likewise.
34796 * iconv/iconv_charmap.c: Likewise.
34797 * iconv/skeleton.c: Likewise.
34798 * iconv/strtab.c: Likewise.
34799 * io/lockf64.c: Likewise.
34800 * libio/libioP.h: Likewise.
34801 * resolv/gai_notify.c: Likewise.
34802 * resolv/ns_name.c: Likewise.
34803 * resolv/ns_samedomain.c: Likewise.
34804 * resolv/res_send.c: Likewise.
34805 * stdlib/random.c: Likewise.
34806 * sunrpc/rpc/xdr.h: Likewise.
34807 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
34808 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
34809 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
34810 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
34811 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
34812 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
34813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
34814 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
34815 * sysdeps/mach/hurd/check_fds.c: Likewise.
34816 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
34818 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34820 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
34821 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34822 * sysdeps/pthread/aio_notify.c: Likewise.
34823 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
34824 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
34825 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
34826 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
34827 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
34828
34829 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
34830
34831 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
34832 version if bit_Slow_SSE4_2 is set.
34833 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34834 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34835
34836 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34837
34838 [BZ #15867]
34839 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
34840 trampoline stack frame information.
34841 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
34842 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
34843 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
34844 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
34845 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
34846 * sysdeps/unix/sysv/linux/powerpc/init-first.c
34847 (_libc_vdso_platform_setup): Initialize the signal trampolines.
34848 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
34849 sa_flags value.
34850 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
34851 interrupting a syscall and set with option SA_SIGINFO.
34852
34853 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34854
34855 [BZ #15531]
34856 * math/s_cproj.c (__cproj): Only return an infinity if one part of
34857 argument is infinite.
34858 * math/s_cprojf.c (__cprojf): Likewise.
34859 * math/s_cprojl.c (__cprojl): Likewise.
34860 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
34861 * math/libm-test.inc (cproj_test_data): Add more tests.
34862
34863 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
34864
34865 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
34866 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
34867 size. Use __ffs to determine corresponding shift.
34868
34869 2013-08-20 Joseph Myers <joseph@codesourcery.com>
34870 Roland McGrath <roland@hack.frob.com>
34871
34872 * Makefile (INSTALL): Remove trailing blank lines from output of
34873 makeinfo.
34874
34875 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34876
34877 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
34878 Align 32 bit compat elf_greg to 8 bytes.
34879
34880 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
34881
34882 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
34883
34884 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34885
34886 * string/strcoll_l.c (coll_seq): New structure.
34887 (get_next_seq_cached): New function.
34888 (get_next_seq): New function.
34889 (do_compare): New function.
34890 (STRCOLL): Use GNU style definition. Simplify implementation
34891 by using get_next_seq, get_next_seq_cached and do_compare.
34892
34893 2013-08-16 Florian Weimer <fweimer@redhat.com>
34894
34895 [BZ #14699]
34896 CVE-2013-4237
34897 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
34898 member.
34899 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
34900 member.
34901 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
34902 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
34903 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
34904 conditional.
34905 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
34906 GETDENTS_64BIT_ALIGNED.
34907 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
34908 * manual/filesys.texi (Reading/Closing Directory): Document
34909 ENAMETOOLONG return value of readdir_r. Recommend readdir more
34910 strongly.
34911 * manual/conf.texi (Limits for Files): Add portability note to
34912 NAME_MAX, PATH_MAX.
34913 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
34914
34915 2013-08-13 Andreas Schwab <schwab@suse.de>
34916
34917 [BZ #15749]
34918 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
34919 of fabs.
34920 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
34921 LDBL_MAX_EXP >= 16384]: Add tests for it.
34922
34923 2013-08-12 David S. Miller <davem@davemloft.net>
34924
34925 * version.h (RELEASE): Set to "development".
34926 (VERSION): Set to "2.18.90".
34927 * NEWS: Add 2.19 section.
34928
34929 2013-08-03 David S. Miller <davem@davemloft.net>
34930
34931 * po/ko.po: Update Korean translation from translation project.
34932
34933 2013-08-01 David S. Miller <davem@davemloft.net>
34934
34935 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
34936 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
34937 Bilka.
34938
34939 2013-07-30 David S. Miller <davem@davemloft.net>
34940
34941 * po/fr.po: Update French translation from translation project.
34942
34943 2013-07-28 David S. Miller <davem@davemloft.net>
34944
34945 * po/cs.po: Update Czech translation from translation project.
34946
34947 * po/sv.po: Update Swedish translation from translation project.
34948
34949 2013-07-27 David S. Miller <davem@davemloft.net>
34950
34951 * po/eo.po: Update Esperanto translation from translation project.
34952
34953 * po/vi.po: Update Vietnamese translation from translation project.
34954
34955 * po/de.po: Update German translation from translation project.
34956
34957 2013-07-26 David S. Miller <davem@davemloft.net>
34958
34959 * po/bg.po: Update Bulgarian translation from translation project.
34960
34961 * po/nl.po: Update Dutch translation from translation project.
34962 * po/pl.po: Update Polish translation from translation project.
34963 * po/ru.po: Update Russian translation from translation project.
34964
34965 2013-07-24 David S. Miller <davem@davemloft.net>
34966
34967 * po/libc.pot: Update.
34968
34969 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34970
34971 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
34972 variable page size.
34973 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
34974 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
34975 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
34976
34977 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34978
34979 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
34980
34981 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
34982 Andreas Schwab <schwab@suse.de>
34983 Roland McGrath <roland@hack.frob.com>
34984 Joseph Myers <joseph@codesourcery.com>
34985 Carlos O'Donell <carlos@redhat.com>
34986
34987 [BZ #15755]
34988 * config.h.in: Define HAVE_PT_CHOWN.
34989 * config.make.in (build-pt-chown): New variable.
34990 * configure.in (--enable-pt_chown): New configure option.
34991 * configure: Regenerate.
34992 * login/Makefile: Include Makeconfig. Build pt_chown only if
34993 build-pt-chown is enabled.
34994 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
34995 pt_chown to fix pty ownership.
34996 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
34997 CLOSE_ALL_FDS.
34998 * manual/install.texi (Configuring and compiling): Mention
34999 --enable-pt_chown. Add @findex for grantpt.
35000 * INSTALL: Regenerate.
35001
35002 2013-07-20 David S. Miller <davem@davemloft.net>
35003
35004 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
35005 difference between 32-bit and 64-bit.
35006
35007 2013-07-15 Carlos O'Donell <carlos@redhat.com>
35008
35009 [BZ #15711]
35010 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
35011 Avoid system header dependency with -ffreestanding.
35012 ($(objpfx)bits/syscall%d): Likewise.
35013
35014 2013-07-13 David S. Miller <davem@davemloft.net>
35015
35016 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
35017 underflows from atanl/atan2l due to bug 15319.
35018 (casinh_test_data): Likewise.
35019
35020 2013-07-07 David S. Miller <davem@davemloft.net>
35021
35022 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35023
35024 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
35025
35026 * sysdeps/i386/fpu/libm-test-ulps: Update.
35027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35028
35029 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
35030
35031 * configure.in (--enable-lock-elision): Fix message text.
35032 * INSTALL: Regenerate.
35033 * configure: Regenerate.
35034
35035 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35036
35037 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35038
35039 2013-07-03 Andreas Jaeger <aj@suse.de>
35040
35041 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
35042 define.
35043 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
35044 (ptrace_peeksiginfo_args): Add.
35045 (__ptrace_peeksiginfo_flags): Add.
35046 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
35047 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
35048 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
35049
35050 2013-07-03 Allan McRae <allan@archlinux.org>
35051
35052 * sysdeps/i386/fpu/libm-test-ulps: Update.
35053
35054 2013-07-02 David S. Miller <davem@davemloft.net>
35055
35056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35057
35058 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
35059
35060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35061
35062 2013-07-02 Joseph Myers <joseph@codesourcery.com>
35063
35064 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35066
35067 2013-07-02 Andi Kleen <ak@linux.intel.com>
35068
35069 * config.h.in (ENABLE_LOCK_ELISION): Add.
35070 * configure.in (--enable-lock-elision): Add option.
35071 * manual/install.texi: Document --enable lock elision.
35072 * configure: Regenerate
35073 * INSTALL: Regenerate.
35074
35075 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
35076
35077 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
35078 SSE4.2 strcasecmp for libc.a.
35079 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35080
35081 2013-07-02 Joseph Myers <joseph@codesourcery.com>
35082
35083 [BZ #13304]
35084 * soft-fp/op-common.h (_FP_FMA): New macro.
35085 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
35086 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
35087 (_FP_MUL_MEAT_1_imm): ... here.
35088 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
35089 (_FP_MUL_MEAT_1_wide): ... here.
35090 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
35091 (_FP_MUL_MEAT_1_hard): ... here.
35092 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
35093 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
35094 (_FP_MUL_MEAT_2_wide): ... here.
35095 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
35096 (_FP_MUL_MEAT_2_wide_3mul): ... here.
35097 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
35098 (_FP_MUL_MEAT_2_gmp): ... here.
35099 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
35100 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
35101 (_FP_MUL_MEAT_4_wide): ... here.
35102 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
35103 (_FP_MUL_MEAT_4_gmp): ... here.
35104 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
35105 (_FP_WFRACBITS_DW_S): Likewise.
35106 (_FP_WFRACXBITS_DW_S): Likewise.
35107 (_FP_HIGHBIT_DW_S): Likewise.
35108 (FP_FMA_S): Likewise.
35109 (_FP_FRAC_HIGH_DW_S): Likewise.
35110 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
35111 (_FP_WFRACBITS_DW_D): Likewise.
35112 (_FP_WFRACXBITS_DW_D): Likewise.
35113 (_FP_HIGHBIT_DW_D): Likewise.
35114 (FP_FMA_D): Likewise.
35115 (_FP_FRAC_HIGH_DW_D): Likewise.
35116 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
35117 (_FP_WFRACBITS_DW_E): Likewise.
35118 (_FP_WFRACXBITS_DW_E): Likewise.
35119 (_FP_HIGHBIT_DW_E): Likewise.
35120 (FP_FMA_E): Likewise.
35121 (_FP_FRAC_HIGH_DW_E): Likewise.
35122 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
35123 (_FP_WFRACBITS_DW_Q): Likewise.
35124 (_FP_WFRACXBITS_DW_Q): Likewise.
35125 (_FP_HIGHBIT_DW_Q): Likewise.
35126 (FP_FMA_Q): Likewise.
35127 (_FP_FRAC_HIGH_DW_Q): Likewise.
35128 * soft-fp/fmasf4.c: New file.
35129 * soft-fp/fmadf4.c: Likewise.
35130 * soft-fp/fmatf4.c: Likewise.
35131
35132 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35133
35134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35135 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
35136 Silvermont.
35137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
35138 macro.
35139 (index_Slow_SSE4_2): Likewise.
35140 (index_Prefer_PMINUB_for_stringop): Likewise.
35141 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
35142 bit_Slow_SSE4_2 is set.
35143 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
35144 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
35145
35146 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35147
35148 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
35149 rtld_global._dl_hwcap2.
35150 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
35151 POWER8.
35152 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
35153 POWER8 feature descriptions defined in _dl_hwcap2.
35154 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
35155 string handling for POWER8 feature bits.
35156 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
35157 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
35158 _dl_powerpc_cap_flags.
35159 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
35160 * sysdeps/powerpc/rtld-global-offsets.sym
35161 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
35162 _dl_hwcap2 in the rtld_global_ro structure.
35163
35164 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35165
35166 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
35167 hardware capabilities in support of AT_HWCAP2.
35168 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
35169 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
35170 GLRO(dl_hwcap2).
35171 (_dl_show_auxv): Add support for calling _dl_procinfo to display
35172 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
35173 explicitly the unknown a_type display mechanism is used.
35174 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
35175 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
35176 struct member.
35177 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
35178 to macro prototype for AT_HWCAP2 support.
35179 * sysdeps/i386/dl-procinfo.h: Likewise.
35180 * sysdeps/s390/dl-procinfo.h: Likewise.
35181 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
35182 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
35183 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
35184 return -1 for unknown a_type display fallback.
35185 * sysdeps/sparc/dl-procinfo.h: Likewise.
35186 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
35187 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
35188
35189 2013-06-28 Joseph Myers <joseph@codesourcery.com>
35190
35191 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
35192 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
35193
35194 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
35195
35196 [BZ #12492]
35197 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
35198 mprotect making __stack_prot writable.
35199
35200 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
35201 Joseph Myers <joseph@codesourcery.com>
35202
35203 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
35204 as being properly aligned.
35205
35206 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
35207
35208 * dlfcn/modstatic5.c: New file.
35209 * dlfcn/tststatic5.c: New file.
35210 * dlfcn/Makefile (tests): Add tststatic5.
35211 (tests-static): Likewise.
35212 (modules-names): Add modstatic5.
35213 (tststatic5-ENV): New variable.
35214 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
35215
35216 [BZ #15022]
35217 * elf/dl-support.c (_dl_main_map): New variable.
35218 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
35219 (_dl_nns, _dl_load_adds): Set to 1.
35220 (_dl_initial_searchlist): Refer to _dl_main_map.
35221 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
35222 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
35223 call to _dl_get_origin.
35224 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
35225 around call_map.
35226 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
35227 * dlfcn/modstatic3.c: New file.
35228 * dlfcn/tststatic3.c: New file.
35229 * dlfcn/tststatic4.c: New file.
35230 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
35231 (tests-static): Likewise.
35232 (modules-names): Add modstatic3.
35233 (tststatic3-ENV, tststatic4-ENV): New variables.
35234 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
35235 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
35236
35237 2013-06-26 Joseph Myers <joseph@codesourcery.com>
35238
35239 * configure.in (CC): Require GCC version 4.4 or later.
35240 * configure: Regenerated.
35241 * manual/install.texi (Tools for Compilation): Update GCC version
35242 requirement.
35243 * INSTALL: Regenerated.
35244
35245 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35246
35247 [BZ #15674]
35248 * string/test-memcmp.c (check2): New.
35249 (main): Call check2.
35250
35251 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
35252
35253 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
35254
35255 [BZ #15022]
35256 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
35257 over to...
35258 (dl_open_worker) [!SHARED]: ... here.
35259
35260 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35261
35262 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
35263
35264 2013-06-25 Richard Henderson <rth@redhat.com>
35265
35266 * locale/programs/locarchive.c: Include <libc-internal.h>
35267
35268 2013-06-25 Joseph Myers <joseph@codesourcery.com>
35269
35270 * manual/texinfo.tex: Update to version 2013-06-21.17, with
35271 trailing whitespace removed.
35272
35273 2013-06-24 Mike Frysinger <vapier@gentoo.org>
35274
35275 [BZ #10283]
35276 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
35277 * locale/programs/locarchive.c: Include libc-mmap.h.
35278 (prepare_address_space): Take two new outputs (the mmap base and len).
35279 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
35280 values.
35281 (create_archive): Declare new mmap base and len values for
35282 prepare_address_space, and store the result in ah.
35283 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
35284 (enlarge_archive): If ah->mmap_base is not NULL, use that and
35285 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35286 Declare new mmap base and len values for
35287 prepare_address_space, and store the result in new_ah.
35288 (open_archive): Declare new mmap base and len values for
35289 prepare_address_space, and store the result in ah.
35290 (close_archive): If ah->mmap_base is not NULL, use that and
35291 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
35292 * sysdeps/generic/libc-mmap.h: New file.
35293
35294 2013-06-24 Mike Frysinger <vapier@gentoo.org>
35295
35296 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
35297 (ALIGN_UP): Likewise.
35298 (PTR_ALIGN_DOWN): Likewise.
35299 (PTR_ALIGN_UP): Likewise.
35300
35301 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35302
35303 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
35304 entry mapped to PPC_PLATFORM_POWER8.
35305 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
35306 POWER8.
35307 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
35308 (_dl_string_platform): Add case for exporting platform position for
35309 POWER8.
35310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
35311 search path to sysdeps/powerpc/powerpc32/power8 directory.
35312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
35313 search path to sysdeps/powerpc/powerpc64/power8 directory.
35314 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
35315 power7 directories.
35316 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
35317 power7 directories.
35318
35319 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
35320
35321 * INSTALL: Regenerate.
35322
35323 * nscd/connections.c (nscd_init): Fix comment.
35324
35325 2013-06-22 Joseph Myers <joseph@codesourcery.com>
35326
35327 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
35328
35329 [BZ #15667]
35330 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
35331 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
35332
35333 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
35334
35335 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
35336 DL_DST_REQ_STATIC.
35337 (DL_DST_REQ_STATIC): Remove macro.
35338
35339 2013-06-21 Joseph Myers <joseph@codesourcery.com>
35340
35341 [BZ #7006]
35342 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
35343 with a shift of 0 bits.
35344
35345 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
35346
35347 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
35348 $(tststatic-ENV).
35349
35350 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35351
35352 [BZ #15655]
35353 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
35354
35355 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35356
35357 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
35358 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
35359 accepts -fno-tree-loop-distribute-patterns.
35360 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
35361 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
35362 recursive call.
35363 * string/memset.c (memset): Likewise.
35364 * string/test-memmove.c (simple_memmove): Disable loop transformation
35365 to library calls.
35366 * string/test-memset.c (simple_memset): Likewise.
35367 * benchtests/bench-memmove.c (simple_memmove): Likewise.
35368 * benchtests/bench-memset.c (simple_memset): Likewise.
35369 * configure: Regenerated.
35370
35371 2013-06-20 Joseph Myers <joseph@codesourcery.com>
35372
35373 * math/test-misc.c (main): Ignore fesetround failure when failures
35374 of subsequent rounding tests would be ignored.
35375
35376 [BZ #15654]
35377 * math/fedisblxcpt.c (fedisableexcept): Return 0.
35378 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
35379 * math/fegetenv.c (__fegetenv): Return 0.
35380 * math/fegetexcept.c (fegetexcept): Return 0.
35381 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
35382 FE_TONEAREST.
35383 * math/feholdexcpt.c (feholdexcept): Return 0.
35384 * math/fesetenv.c (__fesetenv): Return 0.
35385 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
35386 argument FE_TONEAREST.
35387 * math/feupdateenv.c (__feupdateenv): Return 0.
35388 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
35389
35390 2013-06-18 Roland McGrath <roland@hack.frob.com>
35391
35392 * elf/rtld-Rules (rtld-compile-command.S): New variable.
35393 (rtld-compile-command.s, rtld-compile-command.c): New variables.
35394 ($(objpfx)rtld-%.os rules): Use them.
35395
35396 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35397
35398 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
35399 fields.
35400
35401 2013-06-17 Roland McGrath <roland@hack.frob.com>
35402
35403 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
35404 length of target pattern, then descending length of dependency pattern.
35405 * configure.in (AWK): Require gawk 3.1.2 or newer.
35406 * manual/install.texi (Tools for Compilation): Say that we do.
35407 * configure: Regenerated.
35408
35409 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
35410 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
35411 * scripts/sysd-rules.awk: ... this new script.
35412 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
35413 than a glob-style pattern.
35414
35415 2013-06-17 Joseph Myers <joseph@codesourcery.com>
35416
35417 * math/test-misc.c (main): Do not treat incorrectly rounded
35418 conversions as failure unless ROUNDING_TESTS passes.
35419
35420 2013-06-15 Joseph Myers <joseph@codesourcery.com>
35421
35422 [BZ #15631]
35423 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
35424 restore exception state around main square root computation, then
35425 check for inexactness explicitly.
35426
35427 * math/libm-test.inc (fma_test_data): Add another test.
35428
35429 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
35430
35431 * manual/threads.texi (Non-POSIX Extensions): New document
35432 node. Document pthread_getattr_default_np and
35433 pthread_setattr_default_np.
35434
35435 * Versions.def (libpthread): Add GLIBC_2.18.
35436 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
35437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35438 Likewise.
35439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35440 Likewise.
35441 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35442 Likewise.
35443 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35444 Likewise.
35445 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
35446 Likewise.
35447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
35448 Likewise.
35449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
35450 Likewise.
35451 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35452 Likewise.
35453 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
35454 Likewise.
35455
35456 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
35457
35458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35459 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
35460
35461 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
35462 H.J. Lu <hjl.tools@gmail.com>
35463
35464 [BZ #15627]
35465 * sysdeps/x86_64/rtld-memset.c: Remove file.
35466 * sysdeps/x86_64/rtld-memset.S: New file.
35467
35468 2013-06-14 Joseph Myers <joseph@codesourcery.com>
35469
35470 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
35471 (test_in_one_mode): Take arguments for whether the rounding mode
35472 is supported for each floating-point type.
35473 (do_test): Pass new arguments to test_in_one_mode using
35474 ROUNDING_TESTS.
35475
35476 2013-06-13 Roland McGrath <roland@hack.frob.com>
35477
35478 * posix/tst-waitid.c (do_test): Distinguish different instances of
35479 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
35480 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
35481 before entering the kernel for waitpid.
35482
35483 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35484
35485 * NEWS: Fix note on clock function precision. Text by Roland
35486 McGrath.
35487
35488 2013-06-13 Roland McGrath <roland@hack.frob.com>
35489
35490 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
35491 it into place only when and if the sanity check passes.
35492
35493 2013-06-13 Joseph Myers <joseph@codesourcery.com>
35494
35495 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
35496 output for whether conversion result is exact. Take argument
35497 indicating whether type is IBM long double.
35498 (round_for_all): Change need_exact field to ibm_ld.
35499 * stdlib/tst-strtod-round.c (struct exactness): New type.
35500 (struct test): Change bool ld_ok field to struct exactness exact.
35501 (TEST): Update all definitions for change to field.
35502 (tests): Regenerate array contents.
35503 (test_in_one_mode): Take pointer to new field instead of old ld_ok
35504 field value. Check for IBM long double here.
35505 (do_test): Update calls to test_in_one_mode.
35506
35507 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
35508
35509 [BZ #12515]
35510 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
35511 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
35512
35513 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35514
35515 [BZ #15605]
35516 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
35517 generated by the compiler on loop optimizations.
35518 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
35519 general definitions.
35520
35521 2013-06-12 Joseph Myers <joseph@codesourcery.com>
35522
35523 * math/bug-nextafter.c: Include <math-tests.h>.
35524 (main): Only test for exceptions if EXCEPTION_TESTS is true for
35525 the relevant type.
35526 * math/bug-nexttoward.c: Include <math-tests.h>.
35527 (main): Only test for exceptions if EXCEPTION_TESTS is true for
35528 the relevant type.
35529 * math/test-misc.c: Include <math-tests.h>.
35530 (main): Only test for exceptions if EXCEPTION_TESTS is true for
35531 the relevant type.
35532
35533 2013-06-12 Andreas Jaeger <aj@suse.de>
35534
35535 * po/ia.po: Update Interlingua translation from translation
35536 project.
35537
35538 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
35539
35540 * include/fenv.h: Include stdbool.h.
35541 (struct rm_ctx): New structure.
35542 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
35543 Define macro.
35544 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
35545 (SET_RESTORE_ROUNDF): Likewise.
35546 (SET_RESTORE_ROUNDL): Likewise.
35547 (SET_RESTORE_ROUND_NOEX): Likewise.
35548 (SET_RESTORE_ROUND_NOEXF): Likewise.
35549 (SET_RESTORE_ROUND_NOEXL): Likewise.
35550 (SET_RESTORE_ROUND_53BIT): Likewise.
35551 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
35552 (libc_feresetround_noexf_ctx): Likewise.
35553 (libc_feresetround_noexl_ctx): Likewise.
35554 (libc_feholdsetround_53bit_ctx): Likewise.
35555 (libc_feresetround_53bit_ctx): Likewise.
35556 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
35557 (libc_feholdexcept_setround_sse_ctx): New function.
35558 (libc_fesetenv_sse_ctx): Likewise.
35559 (libc_feupdateenv_sse_ctx): Likewise.
35560 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
35561 (libc_feholdexcept_setround_387_ctx): Likewise.
35562 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
35563 (libc_feholdsetround_387_prec_ctx): Likewise.
35564 (libc_feholdsetround_387_ctx): Likewise.
35565 (libc_feholdsetround_387_53bit_ctx): Likewise.
35566 (libc_feholdsetround_sse_ctx): Likewise.
35567 (libc_feresetround_sse_ctx): Likewise.
35568 (libc_feresetround_387_ctx): Likewise.
35569 (libc_feupdateenv_387_ctx): Likewise.
35570 (libc_feholdexcept_setroundf_ctx): Define macro.
35571 (libc_fesetenvf_ctx): Likewise.
35572 (libc_feupdateenvf_ctx): Likewise.
35573 (libc_feholdsetroundf_ctx): Likewise.
35574 (libc_feresetroundf_ctx): Likewise.
35575 (libc_feholdexcept_setround_ctx): Likewise.
35576 (libc_fesetenv_ctx): Likewise.
35577 (libc_feupdateenv_ctx): Likewise.
35578 (libc_feholdsetround_ctx): Likewise.
35579 (libc_feresetround_ctx): Likewise.
35580 (libc_feholdexcept_setroundl_ctx): Likewise.
35581 (libc_feupdateenvl_ctx): Likewise.
35582 (libc_feholdsetroundl_ctx): Likewise.
35583 (libc_feresetroundl_ctx): Likewise.
35584 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
35585 (libc_feresetround_53bit_ctx): Likewise.
35586
35587 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35588
35589 * locale/iso-639.def: Convert to UTF-8.
35590
35591 2013-06-11 Joseph Myers <joseph@codesourcery.com>
35592
35593 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
35594 (EXCEPTION_TESTS_double): Likewise.
35595 (EXCEPTION_TESTS_long_double): Likewise.
35596 (EXCEPTION_TESTS): Likewise.
35597 * math/libm-test.inc (test_exceptions): Only test exceptions if
35598 EXCEPTION_TESTS (FLOAT).
35599
35600 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35601
35602 * benchtests/Makefile (string-bench): Add strcpy_chk and
35603 stpcpy_chk.
35604 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
35605 * benchtests/bench-stpcpy_chk.c: New file.
35606 * benchtests/bench-strcpy_chk-ifunc.c: New file.
35607 * benchtests/bench-strcpy_chk.c: New file.
35608 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
35609 code.
35610 (do_test): Likewise.
35611
35612 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
35613
35614 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
35615 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
35616 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
35617 with tabs where appropriate.
35618 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
35619 dl-procinfo.h.
35620 [PPC_PLATFORM_PPC440]: Likewise.
35621 [PPC_PLATFORM_PPC464]: Likewise.
35622 [PPC_PLATFORM_PPC476]: Likewise.
35623 (_dl_string_platform): Add support for detecting ppc405, ppc440,
35624 ppc464, and ppc476 platform strings merging from ports/
35625 dl-procinfo.h.
35626
35627 2013-06-11 Andreas Schwab <schwab@suse.de>
35628
35629 [BZ #14991]
35630 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
35631 (from_ucs4_idx): Regenerate.
35632 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
35633 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
35634 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
35635 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
35636 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
35637 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
35638 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
35639 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
35640 from FROM_LOOP and TO_LOOP specific macros.
35641 (BODY): Handle combining characters.
35642 * iconvdata/BIG5HKSCS.irreversible: Update.
35643 * iconvdata/BIG5HKSCS.precomposed: New file.
35644 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
35645 characters.
35646 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
35647
35648 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35649
35650 * include/sys/time.h: Fix indentation and add copyright header.
35651
35652 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
35653 (do_test): Likewise.
35654 * string/test-memchr.c (do_one_test): Likewise.
35655 (do_test): Likewise.
35656 * string/test-memcmp.c (do_one_test): Likewise.
35657 (do_test): Likewise.
35658 * string/test-memcpy.c (do_one_test): Likewise.
35659 (do_test): Likewise.
35660 * string/test-memmem.c (do_one_test): Likewise.
35661 (do_test): Likewise.
35662 (do_random_tests): Likewise.
35663 * string/test-memmove.c (do_one_test): Likewise.
35664 (do_test): Likewise.
35665 * string/test-memset.c (do_one_test): Likewise.
35666 (do_test): Likewise.
35667 * string/test-rawmemchr.c (do_one_test): Likewise.
35668 (do_test): Likewise.
35669 * string/test-strcasecmp.c (do_one_test): Likewise.
35670 (do_test): Likewise.
35671 * string/test-strcasestr.c (do_one_test): Likewise.
35672 (do_test): Likewise.
35673 * string/test-strcat.c (do_one_test): Likewise.
35674 (do_test): Likewise.
35675 * string/test-strchr.c (do_one_test): Likewise.
35676 (do_test): Likewise.
35677 * string/test-strcmp.c (do_one_test): Likewise.
35678 (do_test): Likewise.
35679 * string/test-strcpy.c (do_one_test): Likewise.
35680 (do_test): Likewise.
35681 * string/test-string.h: Likewise.
35682 (test_init): Likewise.
35683 * string/test-strlen.c (do_one_test): Likewise.
35684 (do_test): Likewise.
35685 * string/test-strncasecmp.c (do_one_test): Likewise.
35686 (do_test): Likewise.
35687 * string/test-strncat.c (do_one_test): Likewise.
35688 (do_test): Likewise.
35689 * string/test-strncmp.c (do_one_test): Likewise.
35690 (do_test_limit): Likewise.
35691 (do_test): Likewise.
35692 * string/test-strncpy.c (do_one_test): Likewise.
35693 (do_test): Likewise.
35694 * string/test-strnlen.c (do_one_test): Likewise.
35695 (do_test): Likewise.
35696 * string/test-strpbrk.c (do_one_test): Likewise.
35697 (do_test): Likewise.
35698 * string/test-strrchr.c (do_one_test): Likewise.
35699 (do_test): Likewise.
35700 * string/test-strspn.c (do_one_test): Likewise.
35701 (do_test): Likewise.
35702 * string/test-strstr.c (do_one_test): Likewise.
35703 (do_test): Likewise.
35704
35705 * benchtests/Makefile (string-bench): Add string benchmarks.
35706 * benchtests/bench-bcopy-ifunc.c: New file.
35707 * benchtests/bench-bcopy.c: New file.
35708 * benchtests/bench-bzero-ifunc.c: New file.
35709 * benchtests/bench-bzero.c: New file.
35710 * benchtests/bench-memccpy-ifunc.c: New file.
35711 * benchtests/bench-memccpy.c: New file.
35712 * benchtests/bench-memchr-ifunc.c: New file.
35713 * benchtests/bench-memchr.c: New file.
35714 * benchtests/bench-memcmp-ifunc.c: New file.
35715 * benchtests/bench-memcmp.c: New file.
35716 * benchtests/bench-memmem-ifunc.c: New file.
35717 * benchtests/bench-memmem.c: New file.
35718 * benchtests/bench-memmove-ifunc.c: New file.
35719 * benchtests/bench-memmove.c: New file.
35720 * benchtests/bench-mempcpy-ifunc.c: New file.
35721 * benchtests/bench-mempcpy.c: New file.
35722 * benchtests/bench-memset-ifunc.c: New file.
35723 * benchtests/bench-memset.c: New file.
35724 * benchtests/bench-rawmemchr-ifunc.c: New file.
35725 * benchtests/bench-rawmemchr.c: New file.
35726 * benchtests/bench-stpcpy-ifunc.c: New file.
35727 * benchtests/bench-stpcpy.c: New file.
35728 * benchtests/bench-stpncpy-ifunc.c: New file.
35729 * benchtests/bench-stpncpy.c: New file.
35730 * benchtests/bench-strcasecmp-ifunc.c: New file.
35731 * benchtests/bench-strcasecmp.c: New file.
35732 * benchtests/bench-strcasestr-ifunc.c: New file.
35733 * benchtests/bench-strcasestr.c: New file.
35734 * benchtests/bench-strcat-ifunc.c: New file.
35735 * benchtests/bench-strcat.c: New file.
35736 * benchtests/bench-strchr-ifunc.c: New file.
35737 * benchtests/bench-strchr.c: New file.
35738 * benchtests/bench-strchrnul-ifunc.c: New file.
35739 * benchtests/bench-strchrnul.c: New file.
35740 * benchtests/bench-strcmp-ifunc.c: New file.
35741 * benchtests/bench-strcmp.c: New file.
35742 * benchtests/bench-strcpy-ifunc.c: New file.
35743 * benchtests/bench-strcpy.c: New file.
35744 * benchtests/bench-strcspn-ifunc.c: New file.
35745 * benchtests/bench-strcspn.c: New file.
35746 * benchtests/bench-strlen-ifunc.c: New file.
35747 * benchtests/bench-strlen.c: New file.
35748 * benchtests/bench-strncasecmp-ifunc.c: New file.
35749 * benchtests/bench-strncasecmp.c: New file.
35750 * benchtests/bench-strncat-ifunc.c: New file.
35751 * benchtests/bench-strncat.c: New file.
35752 * benchtests/bench-strncmp-ifunc.c: New file.
35753 * benchtests/bench-strncmp.c: New file.
35754 * benchtests/bench-strncpy-ifunc.c: New file.
35755 * benchtests/bench-strncpy.c: New file.
35756 * benchtests/bench-strnlen-ifunc.c: New file.
35757 * benchtests/bench-strnlen.c: New file.
35758 * benchtests/bench-strpbrk-ifunc.c: New file.
35759 * benchtests/bench-strpbrk.c: New file.
35760 * benchtests/bench-strrchr-ifunc.c: New file.
35761 * benchtests/bench-strrchr.c: New file.
35762 * benchtests/bench-strspn-ifunc.c: New file.
35763 * benchtests/bench-strspn.c: New file.
35764 * benchtests/bench-strstr-ifunc.c: New file.
35765 * benchtests/bench-strstr.c: New file.
35766
35767 * benchtests/Makefile: Disable parallel execution of targets.
35768 (string-bench): Add memcpy.
35769 (benchset): New variable to store a list of benchmark sets.
35770 (bench-func): Renamed from bench.
35771 (bench-set): New target.
35772 (bench): Depend on bench-func and bench-set.
35773 * benchtests/README: Add section on benchmark sets.
35774 * benchtests/bench-memcpy-ifunc.c: New file.
35775 * benchtests/bench-memcpy.c: New file.
35776 * benchtests/bench-string.h: New file.
35777
35778 2013-06-11 Andreas Schwab <schwab@suse.de>
35779
35780 [BZ #15577]
35781 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
35782 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
35783 values in the triple.
35784 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
35785 terminator in the group key.
35786
35787 2013-06-11 Andreas Jaeger <aj@suse.de>
35788
35789 * po/zh_TW.po: Update Chinese (traditional) translation from
35790 translation project.
35791
35792 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35793
35794 * include/time.h (__clock_gettime): Add libc_hidden_proto.
35795 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
35796 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
35797 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35798 (clock_getcpuclockid): Likewise.
35799 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
35800 Add weak_alias and libc_hidden_def.
35801 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
35802 * rt/clock_gettime.c (clock_gettime): Rename to
35803 __clock_gettime. Add weak_alias and libc_hidden_def.
35804 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
35805 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
35806 __clock_nanosleep. Add weak_alias and libc_hidden_def.
35807 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
35808 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
35809 Likewise.
35810 * rt/clock_settime.c (clock_settime): Rename to
35811 __clock_settime. Add weak_alias and libc_hidden_def.
35812 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
35813
35814 2013-06-10 Joseph Myers <joseph@codesourcery.com>
35815
35816 * mach/err_boot.sub: Remove trailing whitespace.
35817 * mach/err_ipc.sub: Likewise.
35818 * mach/err_mach.sub: Likewise.
35819
35820 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
35821 (ROUNDING_TESTS_double): Likewise.
35822 (ROUNDING_TESTS_long_double): Likewise.
35823 (ROUNDING_TESTS): Likewise.
35824 * math/libm-test.inc: Include <math-tests.h>.
35825 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
35826 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
35827 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
35828 (IF_ROUND_INIT_FE_UPWARD): Likewise.
35829
35830 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
35831
35832 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
35833 of assigning.
35834
35835 2013-06-08 Joseph Myers <joseph@codesourcery.com>
35836
35837 * sysdeps/gnu/errlist.awk: Do not generate space at end of
35838 otherwise empty TRANS lines.
35839 * sysdeps/gnu/errlist.c: Regenerated.
35840
35841 * catgets/gencat.c (error_print): Use (void) in function
35842 definition.
35843 * crypt/crypt_util.c (__init_des): Likewise.
35844 * crypt/speeds.c (Stop): Likewise.
35845 (main): Likewise.
35846 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
35847 * inet/ruserpass.c (token): Likewise.
35848 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
35849 * intl/localealias.c (extend_alias_table): Likewise.
35850 * intl/plural-exp.c (init_germanic_plural): Likewise.
35851 * libio/fcloseall.c (__fcloseall): Likewise.
35852 * libio/genops.c (_IO_flush_all): Likewise.
35853 (_IO_flush_all_linebuffered): Likewise.
35854 (_IO_cleanup): Likewise.
35855 (_IO_iter_begin): Likewise.
35856 (_IO_iter_end): Likewise.
35857 (_IO_list_lock): Likewise.
35858 (_IO_list_unlock): Likewise.
35859 (_IO_list_resetlock): Likewise.
35860 * libio/getchar.c (getchar): Likewise.
35861 * libio/getchar_u.c (getchar_unlocked): Likewise.
35862 * libio/getwchar.c (getwchar): Likewise.
35863 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
35864 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
35865 * login/getpt.c (__getpt): Likewise.
35866 * login/tst-utmp.c (main): Likewise.
35867 * malloc/hooks.c (__malloc_check_init): Likewise.
35868 * malloc/malloc.c (__malloc_stats): Likewise.
35869 * malloc/mtrace.c (tr_break): Likewise.
35870 (mtrace): Likewise.
35871 (muntrace): Likewise.
35872 * misc/fstab.c (endfsent): Likewise.
35873 * misc/getclktck.c (__getclktck): Likewise.
35874 * misc/getdtsz.c (__getdtablesize): Likewise.
35875 * misc/gethostid.c (gethostid): Likewise.
35876 * misc/getpagesize.c (__getpagesize): Likewise.
35877 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
35878 (__get_nprocs): Likewise.
35879 (__get_phys_pages): Likewise.
35880 (__get_avphys_pages): Likewise.
35881 * misc/getttyent.c (getttyent): Likewise.
35882 (setttyent): Likewise.
35883 (endttyent): Likewise.
35884 * misc/getusershell.c (getusershell): Likewise.
35885 (endusershell): Likewise.
35886 (setusershell): Likewise.
35887 (initshells): Likewise.
35888 * misc/hsearch.c (__hdestroy): Likewise.
35889 * misc/sync.c (sync): Likewise.
35890 * misc/syslog.c (closelog_internal): Likewise.
35891 (closelog): Likewise.
35892 * misc/ttyslot.c (ttyslot): Likewise.
35893 * misc/vhangup.c (vhangup): Likewise.
35894 * posix/fork.c (__fork): Likewise.
35895 * posix/getegid.c (__getegid): Likewise.
35896 * posix/geteuid.c (__geteuid): Likewise.
35897 * posix/getgid.c (__getgid): Likewise.
35898 * posix/getpid.c (__getpid): Likewise.
35899 * posix/getppid.c (__getppid): Likewise.
35900 * posix/getuid.c (__getuid): Likewise.
35901 * posix/pause.c (pause): Likewise.
35902 * posix/setpgrp.c (setpgrp): Likewise.
35903 * posix/setsid.c (__setsid): Likewise.
35904 * posix/test-vfork.c (noop): Likewise.
35905 * resolv/gethnamaddr.c (_endhtent): Likewise.
35906 (_gethtent): Likewise.
35907 (ht_endhostent): Likewise.
35908 (gethostent): Likewise.
35909 (dns_service): Likewise.
35910 * stdlib/drand48.c (drand48): Likewise.
35911 * stdlib/lrand48.c (lrand48): Likewise.
35912 * stdlib/mrand48.c (mrand48): Likewise.
35913 * stdlib/rand.c (rand): Likewise.
35914 * stdlib/random.c (__random): Likewise.
35915 * stdlib/setenv.c (clearenv): Likewise.
35916 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
35917 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
35918 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
35919 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
35920 (__get_nprocs): Likewise.
35921 (__get_phys_pages): Likewise.
35922 (__get_avphys_pages): Likewise.
35923 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
35924 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
35925 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
35926 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
35927 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
35928 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
35929 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
35930 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
35931 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
35932 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
35933 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
35934 * sysdeps/mach/hurd/sync.c (sync): Likewise.
35935 * sysdeps/posix/clock.c (clock): Likewise.
35936 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
35937 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
35938 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
35939 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
35940 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
35941 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
35942 (__get_nprocs_conf): Likewise.
35943 (__get_phys_pages): Likewise.
35944 (__get_avphys_pages): Likewise.
35945 * time/clock.c (clock): Likewise.
35946 * time/tzset.c (__tzname_max): Likewise.
35947
35948 2013-06-07 Joseph Myers <joseph@codesourcery.com>
35949
35950 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
35951 (__bswap_32): Do not use "register".
35952 * crypt/crypt.c (_ufc_doit_r): Likewise.
35953 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
35954 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
35955 * gmon/gmon.c (__monstartup): Likewise.
35956 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
35957 * hurd/hurdmalloc.c (more_memory): Likewise.
35958 (malloc): Likewise.
35959 (free): Likewise.
35960 (realloc): Likewise.
35961 (malloc_fork_prepare): Likewise.
35962 (malloc_fork_parent): Likewise.
35963 (malloc_fork_child): Likewise.
35964 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
35965 (_svcauth_des): Likewise.
35966 * inet/inet_lnaof.c (inet_lnaof): Likewise.
35967 * inet/inet_net.c (inet_network): Likewise.
35968 * inet/inet_netof.c (inet_netof): Likewise.
35969 * inet/rcmd.c (__validuser2_sa): Likewise.
35970 * io/fts.c (fts_open): Likewise.
35971 (fts_load): Likewise.
35972 (fts_close): Likewise.
35973 (fts_read): Likewise.
35974 (fts_children): Likewise.
35975 (fts_build): Likewise.
35976 (fts_stat): Likewise.
35977 (fts_sort): Likewise.
35978 (fts_alloc): Likewise.
35979 (fts_lfree): Likewise.
35980 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
35981 (_IO_file_xsgetn): Likewise.
35982 (_IO_file_xsgetn_mmap): Likewise.
35983 * libio/iofopncook.c (_IO_cookie_read): Likewise.
35984 (_IO_cookie_write): Likewise.
35985 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
35986 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
35987 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
35988 * malloc/obstack.c (_obstack_begin): Likewise.
35989 (_obstack_begin_1): Likewise.
35990 (_obstack_newchunk): Likewise.
35991 (_obstack_allocated_p): Likewise.
35992 (obstack_free): Likewise.
35993 (_obstack_memory_used): Likewise.
35994 * misc/getttyent.c (getttynam): Likewise.
35995 (getttyent): Likewise.
35996 (skip): Likewise.
35997 (value): Likewise.
35998 * misc/getusershell.c (initshells): Likewise.
35999 * misc/syslog.c (__vsyslog_chk): Likewise.
36000 * misc/ttyslot.c (ttyslot): Likewise.
36001 * nis/nis_hash.c (__nis_hash): Likewise.
36002 * posix/fnmatch_loop.c (FCT): Likewise.
36003 * posix/getconf.c (print_all): Likewise.
36004 (main): Likewise.
36005 * posix/getopt.c (exchange): Likewise.
36006 * posix/glob.c (globfree): Likewise.
36007 (prefix_array): Likewise.
36008 (__glob_pattern_type): Likewise.
36009 * resolv/arpa/nameser.h (NS_GET16): Likewise.
36010 (NS_GET32): Likewise.
36011 (NS_PUT16): Likewise.
36012 (NS_PUT32): Likewise.
36013 * resolv/gethnamaddr.c (getanswer): Likewise.
36014 (gethostbyname2): Likewise.
36015 (gethostbyaddr): Likewise.
36016 (_gethtent): Likewise.
36017 (_gethtbyname2): Likewise.
36018 (_gethtbyaddr): Likewise.
36019 * resolv/ns_print.c (dst_s_get_int16): Likewise.
36020 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36021 * resolv/res_init.c (__res_vinit): Likewise.
36022 (net_mask): Likewise.
36023 * resolv/res_mkquery.c (outchar): Likewise.
36024 (PRINT): Likewise.
36025 * stdio-common/printf_fp.c (outchar): Likewise.
36026 (PRINT): Likewise.
36027 * stdio-common/printf_fphex.c (outchar): Likewise.
36028 (PRINT): Likewise.
36029 * stdio-common/printf_size.c (outchar): Likewise.
36030 (PRINT): Likewise.
36031 * stdio-common/test_rdwr.c (main): Likewise.
36032 * stdio-common/tfformat.c (matches): Likewise.
36033 * stdio-common/vfprintf.c (outchar): Likewise.
36034 (printf_unknown): Likewise.
36035 (buffered_vfprintf): Likewise.
36036 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
36037 * stdio-common/xbug.c (AppendToBuffer): Likewise.
36038 (ReadFile): Likewise.
36039 * stdlib/qsort.c (SWAP): Likewise.
36040 (_quicksort): Likewise.
36041 * stdlib/setenv.c (__add_to_environ): Likewise.
36042 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
36043 * stdlib/strtol_l.c (__strtol_l): Likewise.
36044 * stdlib/tst-strtod.c (main): Likewise.
36045 * stdlib/tst-strtol.c (main): Likewise.
36046 * stdlib/tst-strtoll.c (main): Likewise.
36047 * string/bits/string2.h (__strcmp_cc): Likewise.
36048 (__strcmp_cg): Likewise.
36049 (__strcspn_c1): Likewise.
36050 (__strcspn_c2): Likewise.
36051 (__strcspn_c3): Likewise.
36052 (__strspn_c1): Likewise.
36053 (__strspn_c2): Likewise.
36054 (__strspn_c3): Likewise.
36055 (__strsep_1c): Likewise.
36056 (__strsep_2c): Likewise.
36057 (__strsep_3c): Likewise.
36058 * string/memccpy.c (__memccpy): Likewise.
36059 * string/stpcpy.c (__stpcpy): Likewise.
36060 * string/strcmp.c (strcmp): Likewise.
36061 * string/strrchr.c (strrchr): Likewise.
36062 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
36063 Likewise.
36064 * sysdeps/mach/hurd/getcwd.c
36065 (_hurd_canonicalize_directory_name_internal): Likewise.
36066 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
36067 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
36068 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
36069 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
36070 Likewise, in both definitions.
36071 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
36072 definitions.
36073 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
36074 64] (__bswap_64): Likewise.
36075 * time/test_time.c (main): Likewise.
36076 * time/tzfile.c (__tzfile_read): Likewise.
36077 (__tzfile_compute): Likewise.
36078 * time/tzset.c (__tzset_parse_tz): Likewise.
36079 (tzset_internal): Likewise.
36080 (compute_change): Likewise.
36081 * wcsmbs/wcscat.c (__wcscat): Likewise.
36082 * wcsmbs/wcschr.c (wcschr): Likewise.
36083 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
36084 * wcsmbs/wcscspn.c (wcscspn): Likewise.
36085 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
36086 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
36087 * wcsmbs/wcsspn.c (wcsspn): Likewise.
36088 * wcsmbs/wcsstr.c (wcsstr): Likewise.
36089 * wcsmbs/wmemchr.c (wmemchr): Likewise.
36090 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
36091 * wcsmbs/wmemset.c (wmemset): Likewise.
36092
36093 2013-06-06 Joseph Myers <joseph@codesourcery.com>
36094
36095 * scripts/config.guess: Update to version 2013-05-16.
36096 * scripts/config.sub: Update to version 2013-04-24.
36097 * scripts/install-sh: Update to version 2011-11-20.07.
36098 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
36099 * scripts/move-if-change: Update to version 2012-01-06 07:23.
36100
36101 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
36102
36103 * debug/fgetws_u_chk.c: Fix leading whitespaces.
36104 * elf/sln.c: Likewise.
36105 * hurd/hurd/ioctl.h: Likewise.
36106 * hurd/hurdmalloc.c: Likewise.
36107 * hurd/xattr.c: Likewise.
36108 * include/shlib-compat.h: Likewise.
36109 * inet/ruserpass.c: Likewise.
36110 * libio/iofgets_u.c: Likewise.
36111 * libio/iofgetws_u.c: Likewise.
36112 * locale/programs/ld-identification.c: Likewise.
36113 * locale/programs/ld-time.c: Likewise.
36114 * mach/msg-destroy.c: Likewise.
36115 * nss/nss_files/files-netgrp.c: Likewise.
36116 * resolv/res_data.c: Likewise.
36117 * soft-fp/op-1.h: Likewise.
36118 * soft-fp/op-2.h: Likewise.
36119 * soft-fp/op-4.h: Likewise.
36120 * soft-fp/op-common.h: Likewise.
36121 * stdio-common/printf_fphex.c: Likewise.
36122 * stdlib/strtod_l.c: Likewise.
36123 * sunrpc/rpc/clnt.h: Likewise.
36124 * sysdeps/generic/framestate.c: Likewise.
36125 * sysdeps/i386/bsd-_setjmp.S: Likewise.
36126 * sysdeps/i386/bsd-setjmp.S: Likewise.
36127 * sysdeps/i386/__longjmp.S: Likewise.
36128 * sysdeps/i386/setjmp.S: Likewise.
36129 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
36130 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
36131 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36132 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36133 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36134 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
36135 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
36136 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
36137 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
36138 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
36139 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
36140 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
36141 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
36142 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
36143 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
36144 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
36145 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
36146 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
36147 * sysdeps/ieee754/support.c: Likewise.
36148 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36149 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
36150 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
36151 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
36152 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
36153 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
36154 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
36155 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
36156 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
36157 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
36158 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
36159 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
36160 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
36161 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
36162 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
36163 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
36164 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
36166
36167 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
36168
36169 * posix/transbug.c: Remove executable mode.
36170
36171 2013-06-05 Joseph Myers <joseph@codesourcery.com>
36172
36173 * crypt/speeds.c: Remove trailing whitespace.
36174 * dlfcn/default.c: Likewise.
36175 * elf/ifuncdep2.c: Likewise.
36176 * elf/ifuncmain1.c: Likewise.
36177 * elf/ifuncmain1vis.c: Likewise.
36178 * elf/testobj.h: Likewise.
36179 * elf/tst-stackguard1.c: Likewise.
36180 * gmon/sys/gmon.h: Likewise.
36181 * hurd/hurdmsg.c: Likewise.
36182 * hurd/new-fd.c: Likewise.
36183 * hurd/ports-get.c: Likewise.
36184 * iconvdata/ibm1008_420.c: Likewise.
36185 * inet/tst-getni1.c: Likewise.
36186 * inet/tst-getni2.c: Likewise.
36187 * libio/ioungetc.c: Likewise.
36188 * libio/wfiledoalloc.c: Likewise.
36189 * manual/libm-err-tab.pl: Likewise.
36190 * math/w_dremf.c: Likewise.
36191 * misc/ftruncate.c: Likewise.
36192 * posix/bug-glob2.c: Likewise.
36193 * posix/tst-pcre.c: Likewise.
36194 * posix/wait4.c: Likewise.
36195 * resolv/README: Likewise.
36196 * resolv/res_debug.h: Likewise.
36197 * resolv/tst-inet_ntop.c: Likewise.
36198 * setjmp/bug269-setjmp.c: Likewise.
36199 * soft-fp/extended.h: Likewise.
36200 * soft-fp/op-1.h: Likewise.
36201 * soft-fp/op-2.h: Likewise.
36202 * soft-fp/op-4.h: Likewise.
36203 * soft-fp/op-8.h: Likewise.
36204 * soft-fp/testit.c: Likewise.
36205 * stdio-common/bug16.c: Likewise.
36206 * stdlib/random.c: Likewise.
36207 * sunrpc/rpcsvc/rquota.x: Likewise.
36208 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
36209 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
36210 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
36211 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
36212 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
36213 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
36214 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
36215 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
36216 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
36217 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
36218 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
36219 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
36220 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
36221 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
36222 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
36223 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
36224 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
36225 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
36226 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
36227 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
36228 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
36229 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
36230 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
36231 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
36232 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
36233 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
36234 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
36235 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
36236 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
36237 * sysdeps/ieee754/s_lib_version.c: Likewise.
36238 * sysdeps/mach/hurd/check_fds.c: Likewise.
36239 * sysdeps/mach/hurd/getsockname.c: Likewise.
36240 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
36241 * sysdeps/mach/hurd/recvfrom.c: Likewise.
36242 * sysdeps/powerpc/bits/link.h: Likewise.
36243 * sysdeps/powerpc/dl-procinfo.c: Likewise.
36244 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
36245 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
36246 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
36247 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
36248 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
36249 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
36250 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
36251 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
36252 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36253 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
36254 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
36255 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
36256 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36257 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36258 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36259 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
36260 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
36261 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36262 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36263 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36264 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
36265 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
36266 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
36267 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
36268 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
36269 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
36270 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36271 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36272 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
36273 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
36274 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
36275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
36276 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36277 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
36278 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
36279 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
36280 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
36281 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
36282 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
36283 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
36284 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
36285 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
36286 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
36287 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
36288 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
36289 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
36290 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
36291 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
36292 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
36293 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
36294 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
36295 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
36296 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
36297 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
36298 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
36299 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
36300 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
36301 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
36302 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
36303 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
36304 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
36305 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
36306 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
36307 * sysdeps/powerpc/sysdep.h: Likewise.
36308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36309 * sysdeps/s390/s390-64/sub_n.S: Likewise.
36310 * sysdeps/sh/dl-trampoline.S: Likewise.
36311 * sysdeps/sh/memset.S: Likewise.
36312 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
36313 * sysdeps/sh/strlen.S: Likewise.
36314 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
36315 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
36316 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
36317 * sysdeps/sparc/sparc32/rem.S: Likewise.
36318 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
36319 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
36320 * sysdeps/sparc/sparc32/strchr.S: Likewise.
36321 * sysdeps/sparc/sparc32/udiv.S: Likewise.
36322 * sysdeps/sparc/sparc32/urem.S: Likewise.
36323 * sysdeps/sparc/sparc64/add_n.S: Likewise.
36324 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36325 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
36326 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
36327 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
36328 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
36329 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
36330 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
36331 * sysdeps/unix/bsd/times.c: Likewise.
36332 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
36333 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
36334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
36335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
36336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36337 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
36338 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
36339 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
36340 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
36341 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
36342 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
36343 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
36344 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
36345 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36346 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
36347 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36348 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
36349 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
36350 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
36351 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
36352 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
36353 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
36354 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36355 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
36356 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
36357 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
36358 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
36359 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36360 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
36361 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
36362 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
36363 * sysdeps/x86_64/strcspn.S: Likewise.
36364
36365 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
36366
36367 * locale/C-translit.h: Revert #include <stdint.h> because this is a
36368 generated file. Regenerate properly from gen-translit.pl.
36369 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
36370 locale/C-translit.h.
36371
36372 2013-06-05 Andreas Schwab <schwab@suse.de>
36373
36374 [BZ #15100]
36375 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
36376 week as 6 instead of -1.
36377 * time/tst-strptime.c (day_tests): Add test case.
36378
36379 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
36380
36381 * sysdeps/generic/math_private.h
36382 (libc_feholdexcept_setround_53bit): Replace with
36383 libc_feholdsetround_53bit.
36384 (libc_feupdateenv_53bit): Replace with
36385 libc_feresetround_53bit.
36386 (SET_RESTORE_ROUND_53BIT): Adjust.
36387
36388 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
36389
36390 * string/test-strchrnul.c: Add copyright header.
36391
36392 * posix/tst-getaddrinfo4.c: Increase test timeout.
36393
36394 2013-06-03 Carlos O'Donell <carlos@redhat.com>
36395
36396 [BZ #15536]
36397 * math/libm-test.inc (MAX_EXP): Remove
36398 (MIN_EXP): Define.
36399 (ulp): Use MIN_EXP - MANT_DIG.
36400 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
36401
36402 2013-05-31 Carlos O'Donell <carlos@redhat.com>
36403
36404 * po/be.po: Revert last change.
36405 * po/zh_CN.po: Likewise.
36406 * po/header.pot: Likewise.
36407
36408 2013-05-31 Joseph Myers <joseph@codesourcery.com>
36409
36410 * Makefile ($(common-objpfx)linkobj/libc.so): Define
36411 link-libc-deps to empty as target-specific variable.
36412 * Makerules (link-libc-args): New variable.
36413 (libc-for-link): Likewise.
36414 (link-libc-deps): Likewise.
36415 (lib%.so): Depend on $(link-libc-deps). Link with
36416 $(link-libc-args).
36417 (build-module): Link with $(link-libc-args).
36418 (build-module-asneeded): Likewise.
36419 (build-module-helper-objlist): Filter out $(link-libc-deps) from
36420 list of objects.
36421 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
36422 target-specific variable.
36423 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
36424 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
36425 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
36426 libc.
36427 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
36428 libc and ld.so.
36429 ($(objpfx)libpcprofile.so): Likewise.
36430 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
36431 libc_nonshared.a.
36432 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
36433 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
36434 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
36435 $(link-libc-deps).
36436 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
36437 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
36438 * login/Makefile ($(objpfx)libutil.so): Likewise.
36439 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
36440 * math/Makefile ($(objpfx)libm.so): Likewise.
36441 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
36442 $(objpfx)libnsl.so): Define libc-for-link as target-specific
36443 variable instead of depending directly on libc.
36444 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
36445 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
36446 $(link-libc-deps).
36447 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
36448 libc.
36449 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
36450 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
36451 ($(objpfx)libanl.so): Likewise.
36452 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
36453 ld.so.
36454 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
36455 $(link-libc-deps).
36456 * sysdeps/i386/fpu/Makefile: Remove file.
36457 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
36458 ($(objpfx)libm.so): Remove dependency on ld.so.
36459
36460 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
36461
36462 [BZ # 15553]
36463 * nis/yp_xdr.c (XDRMAXNAME): Define.
36464 (XDRMAXRECORD): Define.
36465 (xdr_domainname): Use XDRMAXNAME.
36466 (xdr_mapname): Likewise.
36467 (xdr_peername): Likewise.
36468 (xdr_keydat): Use XDRMAXRECORD.
36469 (xdr_valdat): Likewise.
36470
36471 2013-05-30 Jeff Law <law@redhat.com>
36472
36473 [BZ #14256]
36474 * manual/errno.texi (ESTALE): Update to account for more than
36475 just NFS file systems.
36476 * sysdeps/gnu/errlist.c: Regenerated.
36477
36478 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36479
36480 [BZ #15465]
36481 * elf/Makefile (tests): Add tst-null-argv.
36482 (modules-names): Add tst-null-argv-lib.
36483 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
36484 (tst-null-argv-ENV): Set environment for tst-null-argv.
36485 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
36486 (RTLD_PROGNAME): New macro.
36487 * elf/tst-null-argv.c: New test case.
36488 * elf/tst-null-argv-lib.c: Library for test case.
36489 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
36490 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
36491 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
36492 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
36493 * elf/dl-init.c (call_init): Likewise.
36494 (_dl_init): Likewise.
36495 * elf/dl-load.c (print_search_path): Likewise.
36496 (_dl_map_object): Likewise.
36497 * elf/dl-lookup.c (do_lookup_x): Likewise.
36498 (add_dependency): Likewise.
36499 (_dl_lookup_symbol_x): Likewise.
36500 (_dl_debug_bindings): Likewise.
36501 * elf/dl-open.c (_dl_show_scope): Likewise.
36502 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
36503 * elf/dl-version.c (match_symbol): Likewise.
36504 (_dl_check_map_versions): Likewise.
36505 * elf/rtld.c (dl_main): Likewise.
36506 (print_unresolved): Use RTLD_PROGNAME.
36507 (print_missing_version): Likewise.
36508 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
36509 (elf_machine_rela): Likewise.
36510 * sysdeps/powerpc/powerpc32/dl-machine.c
36511 (__process_machine_rela): Likewise.
36512 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36513 Likewise.
36514 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36515 Likewise.
36516 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
36517 Likewise.
36518 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
36519 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
36520 Likewise.
36521 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
36522 Likewise.
36523 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
36524
36525 2013-05-28 Carlos O'Donell <carlos@redhat.com>
36526
36527 * po/be.po: Add descriptive title.
36528 * po/zh_CN.po: Likewise.
36529 * po/header.pot: Likewise.
36530
36531 2013-05-28 Mike Frysinger <vapier@gentoo.org>
36532
36533 * locale/programs/locarchive.c (create_archive): Inlucde fname in
36534 error message.
36535 (enlarge_archive): Likewise.
36536
36537 2013-05-28 Ben North <ben@redfrontdoor.org>
36538
36539 * manual/arith.texi (frexp): It is the magnitude of the return
36540 value which lies in [0.5, 1), not the return value itself.
36541
36542 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36543
36544 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36545
36546 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
36547
36548 * stdio-common/bug26.c (main): Correct fscanf template.
36549
36550 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
36551 declare _dl_skip_args.
36552
36553 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
36554 Don't declare.
36555
36556 * manual/platform.texi: Add missing @end deftypefun.
36557
36558 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36559
36560 [BZ #15529]
36561 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
36562 bit of mantissa of 2^16382.
36563 * math/libm-test.inc (hypot_test_data): Add more tests.
36564
36565 * math/libm-test.inc: Add drem and pow10 to list of tested
36566 functions.
36567 (pow10_test): New function.
36568 (drem_test): Likewise.
36569 (drem_test_tonearest): Likewise.
36570 (drem_test_towardzero): Likewise.
36571 (drem_test_downward): Likewise.
36572 (drem_test_upward): Likewise.
36573 (main): Call the new functions.
36574
36575 * math/libm-test.inc (finite_test_data): Remove.
36576 (finite_test): Run tests from isfinite_test_data.
36577 (gamma_test_data): Remove.
36578 (gamma_test): Run tests from lgamma_test_data.
36579 * sysdeps/i386/fpu/libm-test-ulps: Update.
36580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36581
36582 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36583
36584 * manual/platform.texi: Add PowerPC PPR function set documentation.
36585 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
36586 implementation.
36587
36588 2013-05-24 Carlos O'Donell <carlos@redhat.com>
36589
36590 * math/libm-test.inc (MAX_EXP): Define.
36591 (ULPDIFF): Define.
36592 (ulp): New function.
36593 (check_float_internal): Use ULPDIFF.
36594 (cpow_test): Disable failing test.
36595 (check_ulp): Test ulp() implemetnation.
36596 (main): Call check_ulp before starting tests.
36597
36598 2013-05-24 Joseph Myers <joseph@codesourcery.com>
36599
36600 * math/gen-libm-test.pl (generate_testfile): Do not handle
36601 START_DATA and END_DATA.
36602 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
36603 END_DATA.
36604 (acos_tonearest_test_data): Likewise.
36605 (acos_towardzero_test_data): Likewise.
36606 (acos_downward_test_data): Likewise.
36607 (acos_upward_test_data): Likewise.
36608 (acosh_test_data): Likewise.
36609 (asin_test_data): Likewise.
36610 (asin_tonearest_test_data): Likewise.
36611 (asin_towardzero_test_data): Likewise.
36612 (asin_downward_test_data): Likewise.
36613 (asin_upward_test_data): Likewise.
36614 (asinh_test_data): Likewise.
36615 (atan_test_data): Likewise.
36616 (atanh_test_data): Likewise.
36617 (atan2_test_data): Likewise.
36618 (cabs_test_data): Likewise.
36619 (cacos_test_data): Likewise.
36620 (cacosh_test_data): Likewise.
36621 (carg_test_data): Likewise.
36622 (casin_test_data): Likewise.
36623 (casinh_test_data): Likewise.
36624 (catan_test_data): Likewise.
36625 (catanh_test_data): Likewise.
36626 (cbrt_test_data): Likewise.
36627 (ccos_test_data): Likewise.
36628 (ccosh_test_data): Likewise.
36629 (ceil_test_data): Likewise.
36630 (cexp_test_data): Likewise.
36631 (cimag_test_data): Likewise.
36632 (clog_test_data): Likewise.
36633 (clog10_test_data): Likewise.
36634 (conj_test_data): Likewise.
36635 (copysign_test_data): Likewise.
36636 (cos_test_data): Likewise.
36637 (cos_tonearest_test_data): Likewise.
36638 (cos_towardzero_test_data): Likewise.
36639 (cos_downward_test_data): Likewise.
36640 (cos_upward_test_data): Likewise.
36641 (cosh_test_data): Likewise.
36642 (cosh_tonearest_test_data): Likewise.
36643 (cosh_towardzero_test_data): Likewise.
36644 (cosh_downward_test_data): Likewise.
36645 (cosh_upward_test_data): Likewise.
36646 (cpow_test_data): Likewise.
36647 (cproj_test_data): Likewise.
36648 (creal_test_data): Likewise.
36649 (csin_test_data): Likewise.
36650 (csinh_test_data): Likewise.
36651 (csqrt_test_data): Likewise.
36652 (ctan_test_data): Likewise.
36653 (ctan_tonearest_test_data): Likewise.
36654 (ctan_towardzero_test_data): Likewise.
36655 (ctan_downward_test_data): Likewise.
36656 (ctan_upward_test_data): Likewise.
36657 (ctanh_test_data): Likewise.
36658 (ctanh_tonearest_test_data): Likewise.
36659 (ctanh_towardzero_test_data): Likewise.
36660 (ctanh_downward_test_data): Likewise.
36661 (ctanh_upward_test_data): Likewise.
36662 (erf_test_data): Likewise.
36663 (erfc_test_data): Likewise.
36664 (exp_test_data): Likewise.
36665 (exp_tonearest_test_data): Likewise.
36666 (exp_towardzero_test_data): Likewise.
36667 (exp_downward_test_data): Likewise.
36668 (exp_upward_test_data): Likewise.
36669 (exp10_test_data): Likewise.
36670 (exp2_test_data): Likewise.
36671 (expm1_test_data): Likewise.
36672 (fabs_test_data): Likewise.
36673 (fdim_test_data): Likewise.
36674 (finite_test_data): Likewise.
36675 (floor_test_data): Likewise.
36676 (fma_test_data): Likewise.
36677 (fma_towardzero_test_data): Likewise.
36678 (fma_downward_test_data): Likewise.
36679 (fma_upward_test_data): Likewise.
36680 (fmax_test_data): Likewise.
36681 (fmin_test_data): Likewise.
36682 (fmod_test_data): Likewise.
36683 (fpclassify_test_data): Likewise.
36684 (frexp_test_data): Likewise.
36685 (gamma_test_data): Likewise.
36686 (hypot_test_data): Likewise.
36687 (ilogb_test_data): Likewise.
36688 (isfinite_test_data): Likewise.
36689 (isgreater_test_data): Likewise.
36690 (isgreaterequal_test_data): Likewise.
36691 (isinf_test_data): Likewise.
36692 (isless_test_data): Likewise.
36693 (islessequal_test_data): Likewise.
36694 (islessgreater_test_data): Likewise.
36695 (isnan_test_data): Likewise.
36696 (isnormal_test_data): Likewise.
36697 (issignaling_test_data): Likewise.
36698 (isunordered_test_data): Likewise.
36699 (j0_test_data): Likewise.
36700 (j1_test_data): Likewise.
36701 (jn_test_data): Likewise.
36702 (ldexp_test_data): Likewise.
36703 (lgamma_test_data): Likewise.
36704 (lrint_test_data): Likewise.
36705 (lrint_tonearest_test_data): Likewise.
36706 (lrint_towardzero_test_data): Likewise.
36707 (lrint_downward_test_data): Likewise.
36708 (lrint_upward_test_data): Likewise.
36709 (llrint_test_data): Likewise.
36710 (llrint_tonearest_test_data): Likewise.
36711 (llrint_towardzero_test_data): Likewise.
36712 (llrint_downward_test_data): Likewise.
36713 (llrint_upward_test_data): Likewise.
36714 (log_test_data): Likewise.
36715 (log10_test_data): Likewise.
36716 (log1p_test_data): Likewise.
36717 (log2_test_data): Likewise.
36718 (logb_test_data): Likewise.
36719 (logb_downward_test_data): Likewise.
36720 (lround_test_data): Likewise.
36721 (llround_test_data): Likewise.
36722 (modf_test_data): Likewise.
36723 (nearbyint_test_data): Likewise.
36724 (nextafter_test_data): Likewise.
36725 (nexttoward_test_data): Likewise.
36726 (pow_test_data): Likewise.
36727 (pow_tonearest_test_data): Likewise.
36728 (pow_towardzero_test_data): Likewise.
36729 (pow_downward_test_data): Likewise.
36730 (pow_upward_test_data): Likewise.
36731 (remainder_test_data): Likewise.
36732 (remainder_tonearest_test_data): Likewise.
36733 (remainder_towardzero_test_data): Likewise.
36734 (remainder_downward_test_data): Likewise.
36735 (remainder_upward_test_data): Likewise.
36736 (remquo_test_data): Likewise.
36737 (rint_test_data): Likewise.
36738 (rint_tonearest_test_data): Likewise.
36739 (rint_towardzero_test_data): Likewise.
36740 (rint_downward_test_data): Likewise.
36741 (rint_upward_test_data): Likewise.
36742 (round_test_data): Likewise.
36743 (scalb_test_data): Likewise.
36744 (scalbn_test_data): Likewise.
36745 (scalbln_test_data): Likewise.
36746 (signbit_test_data): Likewise.
36747 (sin_test_data): Likewise.
36748 (sin_tonearest_test_data): Likewise.
36749 (sin_towardzero_test_data): Likewise.
36750 (sin_downward_test_data): Likewise.
36751 (sin_upward_test_data): Likewise.
36752 (sincos_test_data): Likewise.
36753 (sinh_test_data): Likewise.
36754 (sinh_tonearest_test_data): Likewise.
36755 (sinh_towardzero_test_data): Likewise.
36756 (sinh_downward_test_data): Likewise.
36757 (sinh_upward_test_data): Likewise.
36758 (sqrt_test_data): Likewise.
36759 (tan_test_data): Likewise.
36760 (tan_tonearest_test_data): Likewise.
36761 (tan_towardzero_test_data): Likewise.
36762 (tan_downward_test_data): Likewise.
36763 (tan_upward_test_data): Likewise.
36764 (tanh_test_data): Likewise.
36765 (tgamma_test_data): Likewise.
36766 (trunc_test_data): Likewise.
36767 (y0_test_data): Likewise.
36768 (y1_test_data): Likewise.
36769 (yn_test_data): Likewise.
36770 (significand_test_data): Likewise.
36771
36772 * math/gen-libm-test.pl (@functions): Remove variable.
36773 (generate_testfile): Don't handle START and END lines.
36774 * math/libm-test.inc (START): New macro.
36775 (END): Likewise.
36776 (END_COMPLEX): Likewise.
36777 (acos_test): Use END macro without arguments.
36778 (acos_test_tonearest): Likewise.
36779 (acos_test_towardzero): Likewise.
36780 (acos_test_downward): Likewise.
36781 (acos_test_upward): Likewise.
36782 (acosh_test): Likewise.
36783 (asin_test): Likewise.
36784 (asin_test_tonearest): Likewise.
36785 (asin_test_towardzero): Likewise.
36786 (asin_test_downward): Likewise.
36787 (asin_test_upward): Likewise.
36788 (asinh_test): Likewise.
36789 (atan_test): Likewise.
36790 (atanh_test): Likewise.
36791 (atan2_test): Likewise.
36792 (cabs_test): Likewise.
36793 (cacos_test): Use END_COMPLEX macro without arguments.
36794 (cacosh_test): Likewise.
36795 (carg_test): Use END macro without arguments.
36796 (casin_test): Use END_COMPLEX macro without arguments.
36797 (casinh_test): Likewise.
36798 (catan_test): Likewise.
36799 (catanh_test): Likewise.
36800 (cbrt_test): Use END macro without arguments.
36801 (ccos_test): Use END_COMPLEX macro without arguments.
36802 (ccosh_test): Likewise.
36803 (ceil_test): Use END macro without arguments.
36804 (cexp_test): Use END_COMPLEX macro without arguments.
36805 (cimag_test): Use END macro without arguments.
36806 (clog_test): Use END_COMPLEX macro without arguments.
36807 (clog10_test): Likewise.
36808 (conj_test): Likewise.
36809 (copysign_test): Use END macro without arguments.
36810 (cos_test): Likewise.
36811 (cos_test_tonearest): Likewise.
36812 (cos_test_towardzero): Likewise.
36813 (cos_test_downward): Likewise.
36814 (cos_test_upward): Likewise.
36815 (cosh_test): Likewise.
36816 (cosh_test_tonearest): Likewise.
36817 (cosh_test_towardzero): Likewise.
36818 (cosh_test_downward): Likewise.
36819 (cosh_test_upward): Likewise.
36820 (cpow_test): Use END_COMPLEX macro without arguments.
36821 (cproj_test): Likewise.
36822 (creal_test): Use END macro without arguments.
36823 (csin_test): Use END_COMPLEX macro without arguments.
36824 (csinh_test): Likewise.
36825 (csqrt_test): Likewise.
36826 (ctan_test): Likewise.
36827 (ctan_test_tonearest): Likewise.
36828 (ctan_test_towardzero): Likewise.
36829 (ctan_test_downward): Likewise.
36830 (ctan_test_upward): Likewise.
36831 (ctanh_test): Likewise.
36832 (ctanh_test_tonearest): Likewise.
36833 (ctanh_test_towardzero): Likewise.
36834 (ctanh_test_downward): Likewise.
36835 (ctanh_test_upward): Likewise.
36836 (erf_test): Use END macro without arguments.
36837 (erfc_test): Likewise.
36838 (exp_test): Likewise.
36839 (exp_test_tonearest): Likewise.
36840 (exp_test_towardzero): Likewise.
36841 (exp_test_downward): Likewise.
36842 (exp_test_upward): Likewise.
36843 (exp10_test): Likewise.
36844 (exp2_test): Likewise.
36845 (expm1_test): Likewise.
36846 (fabs_test): Likewise.
36847 (fdim_test): Likewise.
36848 (finite_test): Likewise.
36849 (floor_test): Likewise.
36850 (fma_test): Likewise.
36851 (fma_test_towardzero): Likewise.
36852 (fma_test_downward): Likewise.
36853 (fma_test_upward): Likewise.
36854 (fmax_test): Likewise.
36855 (fmin_test): Likewise.
36856 (fmod_test): Likewise.
36857 (fpclassify_test): Likewise.
36858 (frexp_test): Likewise.
36859 (gamma_test): Likewise.
36860 (hypot_test): Likewise.
36861 (ilogb_test): Likewise.
36862 (isfinite_test): Likewise.
36863 (isgreater_test): Likewise.
36864 (isgreaterequal_test): Likewise.
36865 (isinf_test): Likewise.
36866 (isless_test): Likewise.
36867 (islessequal_test): Likewise.
36868 (islessgreater_test): Likewise.
36869 (isnan_test): Likewise.
36870 (isnormal_test): Likewise.
36871 (issignaling_test): Likewise.
36872 (isunordered_test): Likewise.
36873 (j0_test): Likewise.
36874 (j1_test): Likewise.
36875 (jn_test): Likewise.
36876 (ldexp_test): Likewise.
36877 (lgamma_test): Likewise.
36878 (lrint_test): Likewise.
36879 (lrint_test_tonearest): Likewise.
36880 (lrint_test_towardzero): Likewise.
36881 (lrint_test_downward): Likewise.
36882 (lrint_test_upward): Likewise.
36883 (llrint_test): Likewise.
36884 (llrint_test_tonearest): Likewise.
36885 (llrint_test_towardzero): Likewise.
36886 (llrint_test_downward): Likewise.
36887 (llrint_test_upward): Likewise.
36888 (log_test): Likewise.
36889 (log10_test): Likewise.
36890 (log1p_test): Likewise.
36891 (log2_test): Likewise.
36892 (logb_test): Likewise.
36893 (logb_test_downward): Likewise.
36894 (lround_test): Likewise.
36895 (llround_test): Likewise.
36896 (modf_test): Likewise.
36897 (nearbyint_test): Likewise.
36898 (nextafter_test): Likewise.
36899 (nexttoward_test): Likewise.
36900 (pow_test): Likewise.
36901 (pow_test_tonearest): Likewise.
36902 (pow_test_towardzero): Likewise.
36903 (pow_test_downward): Likewise.
36904 (pow_test_upward): Likewise.
36905 (remainder_test): Likewise.
36906 (remainder_test_tonearest): Likewise.
36907 (remainder_test_towardzero): Likewise.
36908 (remainder_test_downward): Likewise.
36909 (remainder_test_upward): Likewise.
36910 (remquo_test): Likewise.
36911 (rint_test): Likewise.
36912 (rint_test_tonearest): Likewise.
36913 (rint_test_towardzero): Likewise.
36914 (rint_test_downward): Likewise.
36915 (rint_test_upward): Likewise.
36916 (round_test): Likewise.
36917 (scalb_test): Likewise.
36918 (scalbn_test): Likewise.
36919 (scalbln_test): Likewise.
36920 (signbit_test): Likewise.
36921 (sin_test): Likewise.
36922 (sin_test_tonearest): Likewise.
36923 (sin_test_towardzero): Likewise.
36924 (sin_test_downward): Likewise.
36925 (sin_test_upward): Likewise.
36926 (sincos_test): Likewise.
36927 (sinh_test): Likewise.
36928 (sinh_test_tonearest): Likewise.
36929 (sinh_test_towardzero): Likewise.
36930 (sinh_test_downward): Likewise.
36931 (sinh_test_upward): Likewise.
36932 (sqrt_test): Likewise.
36933 (tan_test): Likewise.
36934 (tan_test_tonearest): Likewise.
36935 (tan_test_towardzero): Likewise.
36936 (tan_test_downward): Likewise.
36937 (tan_test_upward): Likewise.
36938 (tanh_test): Likewise.
36939 (tgamma_test): Likewise.
36940 (trunc_test): Likewise.
36941 (y0_test): Likewise.
36942 (y1_test): Likewise.
36943 (yn_test): Likewise.
36944 (significand_test): Likewise.
36945
36946 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
36947
36948 [BZ #15381]
36949 * libio/genops.c (_IO_no_init): Initialize wide struct info.
36950
36951 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
36952
36953 [BZ #14894]
36954 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
36955 __ppc_mdoio and __ppc_mdoom.
36956 * manual/platform.texi: Document new functions __ppc_yield,
36957 __ppc_mdoio and __ppc_mdoom.
36958
36959 2013-05-22 Carlos O'Donell <carlos@redhat.com>
36960
36961 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
36962 (main): Mention "tls" pseudo-hwcap is legacy.
36963 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
36964
36965 2013-05-22 Joseph Myers <joseph@codesourcery.com>
36966
36967 * math/gen-libm-test.pl (parse_args): Output only string of
36968 arguments as text for test name, not full call or descriptions of
36969 tests for extra outputs.
36970 (generate_testfile): Do not pass function name to parse_args.
36971 Generate this_func variable from START.
36972 * math/libm-test.inc (struct test_f_f_data): Rename test_name
36973 field to arg_str.
36974 (struct test_ff_f_data): Likewise.
36975 (test_ff_f_data_nexttoward): Likewise.
36976 (struct test_fi_f_data): Likewise.
36977 (struct test_fl_f_data): Likewise.
36978 (struct test_if_f_data): Likewise.
36979 (struct test_fff_f_data): Likewise.
36980 (struct test_c_f_data): Likewise.
36981 (struct test_f_f1_data): Likewise. Remove field extra_name.
36982 (struct test_fF_f1_data): Likewise.
36983 (struct test_ffI_f1_data): Likewise.
36984 (struct test_c_c_data): Rename test_name field to arg_str.
36985 (struct test_cc_c_data): Likewise.
36986 (struct test_f_i_data): Likewise.
36987 (struct test_ff_i_data): Likewise.
36988 (struct test_f_l_data): Likewise.
36989 (struct test_f_L_data): Likewise.
36990 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
36991 and extra2_name.
36992 (COMMON_TEST_SETUP): New macro.
36993 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
36994 (COMMON_TEST_CLEANUP): Likewise.
36995 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
36996 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
36997 macros.
36998 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
36999 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
37000 macros.
37001 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
37002 (RUN_TEST_fff_f): Take argument string. Call new setup and
37003 cleanup macros.
37004 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
37005 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
37006 macros.
37007 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
37008 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
37009 macros.
37010 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37011 (RUN_TEST_fF_f1): Take argument string. Call new setup and
37012 cleanup macros.
37013 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37014 (RUN_TEST_fI_f1): Take argument string. Call new setup and
37015 cleanup macros.
37016 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37017 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
37018 cleanup macros.
37019 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37020 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
37021 macros.
37022 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
37023 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
37024 macros.
37025 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
37026 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
37027 macros.
37028 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
37029 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
37030 cleanup macros.
37031 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
37032 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
37033 cleanup macros.
37034 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
37035 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
37036 macros.
37037 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
37038 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
37039 cleanup macros.
37040 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
37041 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
37042 macros.
37043 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
37044 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
37045 macros.
37046 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
37047 (RUN_TEST_fFF_11): Take argument string. Call new setup and
37048 cleanup macros.
37049 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
37050
37051 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
37052
37053 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
37054 to _sifields.sigfault.
37055 (si_addr_lsb): Define new macro.
37056 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37057 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
37058 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
37059
37060 2013-05-03 Carlos O'Donell <carlos at redhat.com>
37061
37062 [BZ #15441]
37063 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
37064 returns -1.
37065 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
37066 null return -1.
37067 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
37068 loading the domain.
37069
37070 2013-05-22 Joseph Myers <joseph@codesourcery.com>
37071
37072 * math/gen-libm-test.pl (parse_args): Do not include expected
37073 result in test name.
37074 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
37075 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37076 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37077 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37078 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37080
37081 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
37082
37083 * benchtests/Makefile: Sort function entries.
37084
37085 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
37086 tanh, asinh, acosh, atanh.
37087 * benchtests/acos-inputs: New file.
37088 * benchtests/acosh-inputs: New file.
37089 * benchtests/asin-inputs: New file.
37090 * benchtests/asinh-inputs: New file.
37091 * benchtests/atanh-inputs: New file.
37092 * benchtests/cosh-inputs: New file.
37093 * benchtests/log-inputs: New file.
37094 * benchtests/sinh-inputs: New file.
37095 * benchtests/tanh-inputs: New file.
37096
37097 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
37098
37099 [BZ #15339]
37100 * posix/tst-getaddrinfo4.c: New test.
37101 * posix/Makefile (tests): Add it.
37102
37103 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37104
37105 [BZ #15339]
37106 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
37107 when no services were used.
37108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
37109 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
37110
37111 2013-05-21 Andreas Schwab <schwab@suse.de>
37112
37113 [BZ #15014]
37114 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
37115 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
37116 successful.
37117 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
37118 redundant variable declarations and reallocation of buffer when
37119 parsing as IPv6 address. Always set NSS status when called from
37120 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
37121 buffer too small. Correct computation of needed size.
37122 * nss/Makefile (tests): Add test-digits-dots.
37123 * nss/test-digits-dots.c: New test.
37124
37125 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
37126
37127 * benchtests/Makefile: Remove instructions for adding
37128 benchmark tests.
37129 * benchtests/README: New file to explain how to execute and
37130 enhance the benchmark tests.
37131
37132 2013-05-21 Andreas Schwab <schwab@suse.de>
37133
37134 [BZ #15493]
37135 * setjmp/Makefile (tests): Add tst-sigsetjmp.
37136 * setjmp/tst-sigsetjmp.c: New test.
37137
37138 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
37139
37140 * sysdeps/x86_64/memset.S (memset): New implementation.
37141 (__bzero): Likewise.
37142 (__memset_tail): New function.
37143
37144 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
37145
37146 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
37147 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
37148 __memcpy_sse2_unaligned ifunc selection.
37149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
37150 Add memcpy-sse2-unaligned.S.
37151 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37152 Add: __memcpy_sse2_unaligned.
37153
37154 2013-05-19 Joseph Myers <joseph@codesourcery.com>
37155
37156 [BZ #15490]
37157 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
37158 math_force_eval before restoring floating-point envrionment.
37159 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
37160 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
37161 Likewise.
37162 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
37163 <math_private.h>.
37164 (__nearbyintl): Use math_force_eval before restoring
37165 floating-point environment.
37166 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
37167
37168 * math/gen-libm-test.pl (special_functions): Remove.
37169 (parse_args): Don't handle TEST_extra. Handle functions with no
37170 return value.
37171 * math/libm-test.inc (struct test_sincos_data): Replace with
37172 struct test_fFF_11_data.
37173 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
37174 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
37175 (sincos_test_data): Change element type to struct
37176 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
37177 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
37178 RUN_TEST_LOOP_sincos.
37179 * math/README.libm-test: Don't mention special handling of
37180 individual functions.
37181 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
37182 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37183 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
37184 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
37185 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
37186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37187
37188 * math/gen-libm-test.pl (get_variable): Remove function.
37189 (parse_args): Don't show pointer parameters to call in test
37190 names. Use "extra output N" in test names for extra outputs
37191 rather than naming variables.
37192
37193 2013-05-18 Joseph Myers <joseph@codesourcery.com>
37194
37195 [BZ #15488]
37196 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
37197 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
37198 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
37199 double tests.
37200 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
37201 disable.
37202 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
37203 check_long_double.
37204
37205 * math/gen-libm-test.pl (@tests): Remove variable.
37206 ($count): Likewise.
37207 (new_test): Remove function.
37208 (show_exceptions): New function.
37209 (special_functions): Use show_exceptions instead of new_test.
37210 (parse_args): Likewise.
37211 (generate_testfile): Pass only function name in generated call to
37212 print_max_error or print_complex_max_error.
37213 (get_ulps): Do not handle complex tests specially.
37214 (output_test): Rename to ...
37215 (get_all_ulps_for_test): ... this. Return a string rather than
37216 printing to a file. Require ulps to be present.
37217 (output_ulps): Generate arrays rather than #defines.
37218 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
37219 (struct ulp_data): New type.
37220 (BUILD_COMPLEX_ULP): Remove macro.
37221 (compare_ulp_data): New function.
37222 (find_ulps): Likewise.
37223 (find_test_ulps): Likewise.
37224 (find_function_ulps): Likewise.
37225 (find_complex_function_ulps): Likewise.
37226 (print_max_error): Determine allowed ulps using
37227 find_function_ulps.
37228 (print_complex_max_error): Determine allowed ulps using
37229 find_complex_function_ulps.
37230 (check_float_internal): Determine max ulps using find_test_ulps.
37231 (check_float): Do not take max_ulp parameter. Update call to
37232 check_float_internal.
37233 (check_complex): Likewise.
37234 (check_int): Do not take max_ulp parameter.
37235 (check_long): Likewise.
37236 (check_bool): Likewise.
37237 (check_longlong): Likewise.
37238 (struct test_f_f_data): Remove max_ulp field.
37239 (struct test_ff_f_data): Likewise.
37240 (struct test_ff_f_data_nexttoward): Likewise.
37241 (struct test_fi_f_data): Likewise.
37242 (struct test_fl_f_data): Likewise.
37243 (struct test_if_f_data): Likewise.
37244 (struct test_fff_f_data): Likewise.
37245 (struct test_c_f_data): Likewise.
37246 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
37247 (struct test_fF_f1_data): Likewise.
37248 (struct test_ffI_f1_data): Likewise.
37249 (struct test_c_c_data): Remove max_ulp field.
37250 (struct test_cc_c_data): Likewise.
37251 (struct test_f_i_data): Likewise.
37252 (struct test_ff_i_data): Likewise.
37253 (struct test_f_l_data): Likewise.
37254 (struct test_f_L_data): Likewise.
37255 (struct test_sincos_data): Likewise.
37256 (RUN_TEST_f_f): Do not handle ulps.
37257 (RUN_TEST_LOOP_f_f): Likewise.
37258 (RUN_TEST_2_f): Likewise.
37259 (RUN_TEST_LOOP_2_f): Likewise.
37260 (RUN_TEST_fff_f): Likewise.
37261 (RUN_TEST_LOOP_fff_f): Likewise.
37262 (RUN_TEST_c_f): Likewise.
37263 (RUN_TEST_LOOP_c_f): Likewise.
37264 (RUN_TEST_f_f1): Likewise.
37265 (RUN_TEST_LOOP_f_f1): Likewise.
37266 (RUN_TEST_fF_f1): Likewise.
37267 (RUN_TEST_LOOP_fF_f1): Likewise.
37268 (RUN_TEST_fI_f1): Likewise.
37269 (RUN_TEST_LOOP_fI_f1): Likewise.
37270 (RUN_TEST_ffI_f1): Likewise.
37271 (RUN_TEST_LOOP_ffI_f1): Likewise.
37272 (RUN_TEST_c_c): Likewise.
37273 (RUN_TEST_LOOP_c_c): Likewise.
37274 (RUN_TEST_cc_c): Likewise.
37275 (RUN_TEST_LOOP_cc_c): Likewise.
37276 (RUN_TEST_f_i): Likewise.
37277 (RUN_TEST_LOOP_f_i): Likewise.
37278 (RUN_TEST_f_i_tg): Likewise.
37279 (RUN_TEST_LOOP_f_i_tg): Likewise.
37280 (RUN_TEST_ff_i_tg): Likewise.
37281 (RUN_TEST_LOOP_ff_i_tg): Likewise.
37282 (RUN_TEST_f_b): Likewise.
37283 (RUN_TEST_LOOP_f_b): Likewise.
37284 (RUN_TEST_f_b_tg): Likewise.
37285 (RUN_TEST_LOOP_f_b_tg): Likewise.
37286 (RUN_TEST_f_l): Likewise.
37287 (RUN_TEST_LOOP_f_l): Likewise.
37288 (RUN_TEST_f_L): Likewise.
37289 (RUN_TEST_LOOP_f_L): Likewise.
37290 (RUN_TEST_sincos): Likewise.
37291 (RUN_TEST_LOOP_sincos): Likewise.
37292
37293 2013-05-17 Joseph Myers <joseph@codesourcery.com>
37294
37295 [BZ #15480]
37296 [BZ #15485]
37297 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
37298 main case of finite arguments, set rounding mode to FE_TONEAREST
37299 and discard exceptions.
37300 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
37301 exceptions.
37302 (remainder_tonearest_test_data): New variable.
37303 (remainder_test_tonearest): New function.
37304 (remainder_towardzero_test_data): New variable.
37305 (remainder_test_towardzero): New function.
37306 (remainder_downward_test_data): New variable.
37307 (remainder_test_downward): New function.
37308 (remainder_upward_test_data): New variable.
37309 (remainder_test_upward): New function.
37310 (main): Call the new test functions.
37311
37312 * math/libm-test.inc (struct test_f_f1_data): Remove field
37313 extra_init.
37314 (struct test_fF_f1_data): Likewise.
37315 (struct test_ffI_f1_data): Likewise.
37316 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
37317 based on value of EXTRA_EXPECTED.
37318 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
37319 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
37320 EXTRA_VAR based on value of EXTRA_EXPECTED.
37321 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
37322 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
37323 EXTRA_VAR based on value of EXTRA_EXPECTED.
37324 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
37325 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
37326 EXTRA_VAR based on value of EXTRA_EXPECTED.
37327 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
37328 * math/gen-libm-test.pl (parse_args): Don't output initializers
37329 for extra output values.
37330
37331 * math/libm-test.inc (check_int): Expect result to be exactly
37332 equal to expected value and do not handle ulps.
37333 (check_long): Likewise.
37334 (check_longlong): Likewise.
37335
37336 * math/libm-test.inc (ceil_test_data): Test for "inexact"
37337 exceptions.
37338 (cimag_test_data): Likewise.
37339 (conj_test_data): Likewise.
37340 (copysign_test_data): Likewise.
37341 (cproj_test_data): Likewise.
37342 (creal_test_data): Likewise.
37343 (fabs_test_data): Likewise.
37344 (fdim_test_data): Likewise.
37345 (finite_test_data): Likewise.
37346 (floor_test_data): Likewise.
37347 (fmax_test_data): Likewise.
37348 (fmin_test_data): Likewise.
37349 (fmod_test_data): Likewise.
37350 (fpclassify_test_data): Likewise.
37351 (frexp_test_data): Likewise.
37352 (ilogb_test_data): Likewise.
37353 (isfinite_test_data): Likewise.
37354 (isgreater_test_data): Likewise.
37355 (isgreaterequal_test_data): Likewise.
37356 (isinf_test_data): Likewise.
37357 (isless_test_data): Likewise.
37358 (islessequal_test_data): Likewise.
37359 (islessgreater_test_data): Likewise.
37360 (isnan_test_data): Likewise.
37361 (isnormal_test_data): Likewise.
37362 (issignaling_test_data): Likewise.
37363 (isunordered_test_data): Likewise.
37364 (ldexp_test_data): Likewise.
37365 (lrint_test_data): Likewise.
37366 (lrint_test_data) [TEST_FLOAT]: Disable one test.
37367 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
37368 (lrint_tonearest_test_data): Test for "inexact" exceptions.
37369 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37370 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
37371 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37372 test input.
37373 (lrint_towardzero_test_data): Test for "inexact" exceptions.
37374 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37375 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
37376 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
37377 that test input.
37378 (lrint_downward_test_data): Test for "inexact" exceptions.
37379 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37380 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
37381 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
37382 test input.
37383 (lrint_upward_test_data): Test for "inexact" exceptions.
37384 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
37385 test input.
37386 (llrint_test_data): Test for "inexact" exceptions.
37387 (llrint_test_data) [TEST_FLOAT]: Disable one test.
37388 (llrint_tonearest_test_data): Test for "inexact" exceptions.
37389 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
37390 (llrint_towardzero_test_data): Test for "inexact" exceptions.
37391 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
37392 (llrint_downward_test_data): Test for "inexact" exceptions.
37393 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
37394 (llrint_upward_test_data): Test for "inexact" exceptions.
37395 (logb_test_data): Likewise.
37396 (logb_downward_test_data): Likewise.
37397 (nextafter_test_data): Likewise.
37398 (nexttoward_test_data): Likewise.
37399 (remainder_test_data): Likewise.
37400 (remquo_test_data): Likewise.
37401 (scalbn_test_data): Likewise.
37402 (scalbln_test_data): Likewise.
37403 (signbit_test_data): Likewise.
37404 (sqrt_test_data): Likewise.
37405 (significand_test_data): Likewise.
37406
37407 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
37408
37409 [BZ #15424]
37410 * benchtests/bench-modf.c (struct args): Mark arg0 as
37411 volatile.
37412 * scripts/bench.pl: Mark members of struct args as volatile.
37413
37414 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37415
37416 [BZ # 15497]
37417 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
37418 negative infinity on POWER6 or lower.
37419 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
37420
37421 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
37422
37423 [BZ #15442]
37424 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
37425 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
37426 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
37427 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
37428 (_FP_SETQNAN): New macro.
37429 (_FP_SETQNAN_SEMIRAW): Likewise.
37430 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
37431 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
37432 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
37433 (FP_EXTEND): Use _FP_FRAC_SNANP.
37434 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
37435 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
37436 into account.
37437 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37438 New macro.
37439 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
37440 Likewise.
37441
37442 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37443
37444 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
37445 with DIVIDE_BY_ZERO_EXCEPTION.
37446 (gamma_test_data): Likewise.
37447 (lgamma_test_data): Likewise.
37448 (log_test_data): Likewise.
37449 (log10_test_data): Likewise.
37450 (log2_test_data): Likewise.
37451 (tgamma_test_data): Likewise.
37452
37453 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
37454 (acos_test_tonearest): Likewise.
37455 (acos_test_towardzero): Likewise.
37456 (acos_test_downward): Likewise.
37457 (acos_test_upward): Likewise.
37458 (acosh_test): Likewise.
37459 (asin_test): Likewise.
37460 (asin_test_tonearest): Likewise.
37461 (asin_test_towardzero): Likewise.
37462 (asin_test_downward): Likewise.
37463 (asin_test_upward): Likewise.
37464 (asinh_test): Likewise.
37465 (atan_test): Likewise.
37466 (atanh_test): Likewise.
37467 (atan2_test): Likewise.
37468 (cabs_test): Likewise.
37469 (cacos_test): Likewise.
37470 (cacosh_test): Likewise.
37471 (casin_test): Likewise.
37472 (casinh_test): Likewise.
37473 (catan_test): Likewise.
37474 (catanh_test): Likewise.
37475 (cbrt_test): Likewise.
37476 (ccos_test): Likewise.
37477 (ccosh_test): Likewise.
37478 (cexp_test): Likewise.
37479 (clog_test): Likewise.
37480 (clog10_test): Likewise.
37481 (cos_test): Likewise.
37482 (cos_test_tonearest): Likewise.
37483 (cos_test_towardzero): Likewise.
37484 (cos_test_downward): Likewise.
37485 (cos_test_upward): Likewise.
37486 (cosh_test): Likewise.
37487 (cosh_test_tonearest): Likewise.
37488 (cosh_test_towardzero): Likewise.
37489 (cosh_test_downward): Likewise.
37490 (cosh_test_upward): Likewise.
37491 (cpow_test): Likewise.
37492 (csin_test): Likewise.
37493 (csinh_test): Likewise.
37494 (csqrt_test): Likewise.
37495 (ctan_test): Likewise.
37496 (ctan_test_tonearest): Likewise.
37497 (ctan_test_towardzero): Likewise.
37498 (ctan_test_downward): Likewise.
37499 (ctan_test_upward): Likewise.
37500 (ctanh_test): Likewise.
37501 (ctanh_test_tonearest): Likewise.
37502 (ctanh_test_towardzero): Likewise.
37503 (ctanh_test_downward): Likewise.
37504 (ctanh_test_upward): Likewise.
37505 (erf_test): Likewise.
37506 (erfc_test): Likewise.
37507 (exp_test): Likewise.
37508 (exp_test_tonearest): Likewise.
37509 (exp_test_towardzero): Likewise.
37510 (exp_test_downward): Likewise.
37511 (exp_test_upward): Likewise.
37512 (exp10_test): Likewise.
37513 (exp2_test): Likewise.
37514 (expm1_test): Likewise.
37515 (fmod_test): Likewise.
37516 (gamma_test): Likewise.
37517 (hypot_test): Likewise.
37518 (j0_test): Likewise.
37519 (j1_test): Likewise.
37520 (jn_test): Likewise.
37521 (lgamma_test): Likewise.
37522 (log_test): Likewise.
37523 (log10_test): Likewise.
37524 (log1p_test): Likewise.
37525 (log2_test): Likewise.
37526 (logb_test_downward): Likewise.
37527 (pow_test): Likewise.
37528 (pow_test_tonearest): Likewise.
37529 (pow_test_towardzero): Likewise.
37530 (pow_test_downward): Likewise.
37531 (pow_test_upward): Likewise.
37532 (remainder_test): Likewise.
37533 (remquo_test): Likewise.
37534 (sin_test): Likewise.
37535 (sin_test_tonearest): Likewise.
37536 (sin_test_towardzero): Likewise.
37537 (sin_test_downward): Likewise.
37538 (sin_test_upward): Likewise.
37539 (sincos_test): Likewise.
37540 (sinh_test): Likewise.
37541 (sinh_test_tonearest): Likewise.
37542 (sinh_test_towardzero): Likewise.
37543 (sinh_test_downward): Likewise.
37544 (sinh_test_upward): Likewise.
37545 (sqrt_test): Likewise.
37546 (tan_test): Likewise.
37547 (tan_test_tonearest): Likewise.
37548 (tan_test_towardzero): Likewise.
37549 (tan_test_downward): Likewise.
37550 (tan_test_upward): Likewise.
37551 (tanh_test): Likewise.
37552 (tgamma_test): Likewise.
37553 (y0_test): Likewise.
37554 (y1_test): Likewise.
37555 (yn_test): Likewise.
37556
37557 * math/gen-libm-test.pl (adjust_arg): Remove function.
37558 (special_function): Remove argument $in_func. Only handle
37559 generating output for tables of tests, not inside functions.
37560 (parse_args): Likewise.
37561 (generate_testfile): Remove variable $in_func. Update call to
37562 parse_args.
37563 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
37564 (MINUS_ZERO_INIT): Rename macro to minus_zero.
37565 (PLUS_INFTY_INIT): Rename macro to plus_infty.
37566 (MINUS_INFTY_INIT): Rename macro to minus_infty.
37567 (QNAN_VALUE_INIT): Rename macro to qnan_value.
37568 (MAX_VALUE_INIT): Rename macro to max_value.
37569 (MIN_VALUE_INIT): Rename macro to min_value.
37570 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
37571 (plus_zero): Remove variable.
37572 (minus_zero): Likewise.
37573 (plus_infty): Likewise.
37574 (minus_infty): Likewise.
37575 (qnan_value): Likewise.
37576 (max_value): Likewise.
37577 (min_value): Likewise.
37578 (min_subnorm_value): Likewise.
37579
37580 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
37581
37582 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
37583 uint64_t or uint32_t usage.
37584 * crypt/sha256-block.c: Likewise.
37585 * crypt/sha256-crypt.c: Likewise.
37586 * crypt/sha256.c: Likewise.
37587 * crypt/sha512-block.c: Likewise.
37588 * crypt/sha512-crypt.c: Likewise.
37589 * crypt/sha512.c: Likewise.
37590 * debug/backtrace-tst.c: Likewise.
37591 * debug/pcprofiledump.c: Likewise.
37592 * elf/cache.c: Likewise.
37593 * elf/dl-cache.c: Likewise.
37594 * elf/dl-misc.c: Likewise.
37595 * elf/dl-profile.c: Likewise.
37596 * elf/dl-support.c: Likewise.
37597 * elf/ldconfig.c: Likewise.
37598 * elf/sprof.c: Likewise.
37599 * iconv/dummy-repertoire.c: Likewise.
37600 * iconv/iconv_charmap.c: Likewise.
37601 * iconv/skeleton.c: Likewise.
37602 * iconvdata/8bit-generic.c: Likewise.
37603 * iconvdata/cp737.h: Likewise.
37604 * iconvdata/cp775.h: Likewise.
37605 * iconvdata/ibm1008.h: Likewise.
37606 * iconvdata/ibm1025.h: Likewise.
37607 * iconvdata/ibm1046.h: Likewise.
37608 * iconvdata/ibm1097.h: Likewise.
37609 * iconvdata/ibm1112.h: Likewise.
37610 * iconvdata/ibm1122.h: Likewise.
37611 * iconvdata/ibm1123.h: Likewise.
37612 * iconvdata/ibm1124.h: Likewise.
37613 * iconvdata/ibm1129.h: Likewise.
37614 * iconvdata/ibm1130.h: Likewise.
37615 * iconvdata/ibm1132.h: Likewise.
37616 * iconvdata/ibm1133.h: Likewise.
37617 * iconvdata/ibm1137.h: Likewise.
37618 * iconvdata/ibm1140.h: Likewise.
37619 * iconvdata/ibm1141.h: Likewise.
37620 * iconvdata/ibm1142.h: Likewise.
37621 * iconvdata/ibm1143.h: Likewise.
37622 * iconvdata/ibm1144.h: Likewise.
37623 * iconvdata/ibm1145.h: Likewise.
37624 * iconvdata/ibm1146.h: Likewise.
37625 * iconvdata/ibm1147.h: Likewise.
37626 * iconvdata/ibm1148.h: Likewise.
37627 * iconvdata/ibm1149.h: Likewise.
37628 * iconvdata/ibm1153.h: Likewise.
37629 * iconvdata/ibm1154.h: Likewise.
37630 * iconvdata/ibm1155.h: Likewise.
37631 * iconvdata/ibm1156.h: Likewise.
37632 * iconvdata/ibm1157.h: Likewise.
37633 * iconvdata/ibm1158.h: Likewise.
37634 * iconvdata/ibm1160.h: Likewise.
37635 * iconvdata/ibm1161.h: Likewise.
37636 * iconvdata/ibm1162.h: Likewise.
37637 * iconvdata/ibm1163.h: Likewise.
37638 * iconvdata/ibm1164.h: Likewise.
37639 * iconvdata/ibm1166.h: Likewise.
37640 * iconvdata/ibm1167.h: Likewise.
37641 * iconvdata/ibm12712.h: Likewise.
37642 * iconvdata/ibm1390.h: Likewise.
37643 * iconvdata/ibm1399.h: Likewise.
37644 * iconvdata/ibm16804.h: Likewise.
37645 * iconvdata/ibm4517.h: Likewise.
37646 * iconvdata/ibm4899.h: Likewise.
37647 * iconvdata/ibm4909.h: Likewise.
37648 * iconvdata/ibm4971.h: Likewise.
37649 * iconvdata/ibm5347.h: Likewise.
37650 * iconvdata/ibm803.h: Likewise.
37651 * iconvdata/ibm856.h: Likewise.
37652 * iconvdata/ibm901.h: Likewise.
37653 * iconvdata/ibm902.h: Likewise.
37654 * iconvdata/ibm9030.h: Likewise.
37655 * iconvdata/ibm9066.h: Likewise.
37656 * iconvdata/ibm921.h: Likewise.
37657 * iconvdata/ibm922.h: Likewise.
37658 * iconvdata/ibm9448.h: Likewise.
37659 * iconvdata/isiri-3342.h: Likewise.
37660 * iconvdata/jis0201.h: Likewise.
37661 * include/link.h: Likewise.
37662 * include/netdb.h: Likewise.
37663 * inet/check_native.c: Likewise.
37664 * inet/check_pf.c: Likewise.
37665 * inet/getipv4sourcefilter.c: Likewise.
37666 * inet/getnameinfo.c: Likewise.
37667 * inet/getsourcefilter.c: Likewise.
37668 * inet/htonl.c: Likewise.
37669 * inet/setipv4sourcefilter.c: Likewise.
37670 * inet/setsourcefilter.c: Likewise.
37671 * inet/test-inet6_opt.c: Likewise.
37672 * inet/tst-network.c: Likewise.
37673 * locale/C-collate.c: Likewise.
37674 * locale/C-ctype.c: Likewise.
37675 * locale/C-time.c: Likewise.
37676 * locale/C-translit.h: Likewise.
37677 * locale/loadarchive.c: Likewise.
37678 * locale/programs/3level.h: Likewise.
37679 * locale/programs/charmap.c: Likewise.
37680 * locale/programs/charmap.h: Likewise.
37681 * locale/programs/ld-address.c: Likewise.
37682 * locale/programs/ld-collate.c: Likewise.
37683 * locale/programs/ld-ctype.c: Likewise.
37684 * locale/programs/ld-identification.c: Likewise.
37685 * locale/programs/ld-measurement.c: Likewise.
37686 * locale/programs/ld-messages.c: Likewise.
37687 * locale/programs/ld-monetary.c: Likewise.
37688 * locale/programs/ld-name.c: Likewise.
37689 * locale/programs/ld-numeric.c: Likewise.
37690 * locale/programs/ld-paper.c: Likewise.
37691 * locale/programs/ld-telephone.c: Likewise.
37692 * locale/programs/ld-time.c: Likewise.
37693 * locale/programs/linereader.c: Likewise.
37694 * locale/programs/locale.c: Likewise.
37695 * locale/programs/locarchive.c: Likewise.
37696 * locale/programs/locfile.h: Likewise.
37697 * locale/programs/repertoire.c: Likewise.
37698 * locale/programs/simple-hash.c: Likewise.
37699 * locale/programs/simple-hash.h: Likewise.
37700 * malloc/memusage.c: Likewise.
37701 * malloc/memusagestat.c: Likewise.
37702 * nis/nis_defaults.c: Likewise.
37703 * nis/nis_hash.c: Likewise.
37704 * nis/nis_print.c: Likewise.
37705 * nis/nis_xdr.c: Likewise.
37706 * nscd/connections.c: Likewise.
37707 * nscd/hstcache.c: Likewise.
37708 * nscd/nscd_gethst_r.c: Likewise.
37709 * nscd/nscd_getserv_r.c: Likewise.
37710 * nscd/nscd_helper.c: Likewise.
37711 * nscd/servicescache.c: Likewise.
37712 * nss/makedb.c: Likewise.
37713 * nss/nss_db/db-XXX.c: Likewise.
37714 * nss/nss_db/db-initgroups.c: Likewise.
37715 * nss/nss_db/db-netgrp.c: Likewise.
37716 * nss/nss_files/files-network.c: Likewise.
37717 * nss/nss_files/files-parse.c: Likewise.
37718 * posix/bug-regex5.c: Likewise.
37719 * posix/fnmatch_loop.c: Likewise.
37720 * posix/regcomp.c: Likewise.
37721 * posix/regexec.c: Likewise.
37722 * posix/tst-rfc3484-2.c: Likewise.
37723 * posix/tst-rfc3484-3.c: Likewise.
37724 * posix/tst-rfc3484.c: Likewise.
37725 * resolv/nss_dns/dns-canon.c: Likewise.
37726 * resolv/nss_dns/dns-network.c: Likewise.
37727 * resolv/res_init.c: Likewise.
37728 * resolv/res_mkquery.c: Likewise.
37729 * resolv/tst-aton.c: Likewise.
37730 * stdlib/cxa_atexit.c: Likewise.
37731 * stdlib/cxa_finalize.c: Likewise.
37732 * stdlib/gen-fpioconst.c: Likewise.
37733 * stdlib/strtol_l.c: Likewise.
37734 * string/tst-endian.c: Likewise.
37735 * sunrpc/auth_des.c: Likewise.
37736 * sunrpc/clnt_udp.c: Likewise.
37737 * sunrpc/rtime.c: Likewise.
37738 * sunrpc/svcauth_des.c: Likewise.
37739 * sunrpc/xdr.c: Likewise.
37740 * sunrpc/xdr_intXX_t.c: Likewise.
37741 * sunrpc/xdr_rec.c: Likewise.
37742 * sysdeps/generic/ldconfig.h: Likewise.
37743 * sysdeps/generic/ldsodefs.h: Likewise.
37744 * sysdeps/generic/memusage.h: Likewise.
37745 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37746 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
37747 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
37748 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37750 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37751 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37752 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
37755 * sysdeps/posix/getaddrinfo.c: Likewise.
37756 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37757 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37758 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
37759 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37760 * sysdeps/powerpc/test-gettimebase.c: Likewise.
37761 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
37762 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
37763 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
37764 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
37765 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
37766 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37767 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37768 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
37769 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
37770 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
37771 * sysdeps/x86_64/dl-tls.h: Likewise.
37772 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
37773 * time/alt_digit.c: Likewise.
37774 * time/era.c: Likewise.
37775 * wcsmbs/tst-c16c32-1.c: Likewise.
37776
37777 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37778
37779 * math/libm-test.inc (struct test_sincos_data): New type.
37780 (RUN_TEST_LOOP_sincos): New macro.
37781 (sincos_test_data): New variable.
37782 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
37783
37784 2013-05-16 Richard Henderson <rth@redhat.com>
37785
37786 * math/atest-exp2.c (LIMB64): New macro.
37787 (CONSTSZ): New macro.
37788 (mp_exp1, mp_exp_m1, mp_log2): New variables.
37789 (hexdig): Move ...
37790 (print_mpn_fp): ... to function scope.
37791 (read_mpn_hex): Remove.
37792 (get_log2): Remove.
37793 (exp2_mpn): Use mp_log2.
37794 (main): Use mp_exp1.
37795
37796 2013-05-16 Joseph Myers <joseph@codesourcery.com>
37797
37798 * math/libm-test.inc: Remove comment about not testing "inexact"
37799 exceptions.
37800 (INEXACT_EXCEPTION): New macro.
37801 (NO_INEXACT_EXCEPTION): Likewise.
37802 (INVALID_EXCEPTION_OK): Update value.
37803 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37804 (OVERFLOW_EXCEPTION_OK): Likewise.
37805 (UNDERFLOW_EXCEPTION_OK): Likewise.
37806 (IGNORE_ZERO_INF_SIGN): Likewise.
37807 (ERRNO_UNCHANGED): Likewise.
37808 (ERRNO_EDOM): Likewise.
37809 (ERRNO_ERANGE): Likewise.
37810 (test_exceptions): Handle testing "inexact" exceptions.
37811 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
37812 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
37813 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
37814 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
37815 INEXACT_EXCEPTION.
37816 (rint_towardzero_test_data): Likewise.
37817 (rint_downward_test_data): Likewise.
37818 (rint_upward_test_data): Likewise.
37819
37820 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
37821 with OVERFLOW_EXCEPTION.
37822 (exp10_test_data): Likewise.
37823 (exp2_test_data): Likewise.
37824 (expm1_test_data): Likewise.
37825 (lgamma_test_data): Likewise.
37826 (pow_test_data): Likewise.
37827 (tgamma_test_data): Likewise.
37828 (yn_test_data): Remove duplicate test of overflow.
37829
37830 * math/libm-test.inc (struct test_cc_c_data): New type.
37831 (RUN_TEST_LOOP_cc_c): New macro.
37832 (cpow_test_data): New variable.
37833 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
37834
37835 * math/libm-test.inc (struct test_f_L_data): New type.
37836 (RUN_TEST_LOOP_f_L): New macro.
37837 (llrint_test_data): New variable.
37838 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
37839 (llrint_tonearest_test_data): New variable.
37840 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
37841 (llrint_towardzero_test_data): New variable.
37842 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
37843 (llrint_downward_test_data): New variable.
37844 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
37845 (llrint_upward_test_data): New variable.
37846 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
37847 (llround_test_data): New variable.
37848 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
37849
37850 2013-05-13 Peter Collingbourne <pcc@google.com>
37851
37852 * math/atest-exp2.c (get_log2): Remove const attribute.
37853
37854 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37855
37856 * math/libm-test.inc (struct test_f_l_data): New type.
37857 (RUN_TEST_LOOP_f_l): New macro.
37858 (lrint_test_data): New variable.
37859 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
37860 (lrint_tonearest_test_data): New variable.
37861 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
37862 (lrint_towardzero_test_data): New variable.
37863 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
37864 (lrint_downward_test_data): New variable.
37865 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
37866 (lrint_upward_test_data): New variable.
37867 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
37868 (lround_test_data): New variable.
37869 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
37870
37871 2013-05-15 Peter Collingbourne <pcc@google.com>
37872
37873 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
37874 (EXTRACT_WORDS64) Use where appropriate.
37875 (INSERT_WORDS64) Likewise.
37876
37877 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
37878 constraints with x constraints.
37879 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
37880
37881 * malloc/obstack.c (_obstack_compat): Add initializer.
37882
37883 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
37884
37885 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
37886 si_trapno and add si_addr_lsb to _sifields.sigfault.
37887 (si_trapno): Remove macro.
37888 (si_addr_lsb): Define new macro.
37889 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
37890
37891 2013-05-15 Joseph Myers <joseph@codesourcery.com>
37892
37893 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
37894 instead of TEST_f_l.
37895 (llrint_test_tonearest): Likewise.
37896 (llrint_test_towardzero): Likewise.
37897 (llrint_test_downward): Likewise.
37898 (llrint_test_upward): Likewise.
37899 (llround_test): Likewise.
37900
37901 * math/libm-test.inc (struct test_f_i_data): Add comment.
37902 (RUN_TEST_LOOP_f_b): New macro.
37903 (RUN_TEST_LOOP_f_b_tg): Likewise.
37904 (finite_test_data): New variable.
37905 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
37906 (isfinite_test_data): New variable.
37907 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37908 (isinf_test_data): New variable.
37909 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37910 (isnan_test_data): New variable.
37911 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37912 (isnormal_test_data): New variable.
37913 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37914 (issignaling_test_data): New variable.
37915 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37916 (signbit_test_data): New variable.
37917 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
37918
37919 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
37920 with INVALID_EXCEPTION.
37921 (acosh_test_data): Likewise.
37922 (asin_test_data): Likewise.
37923 (atanh_test_data): Likewise.
37924 (fmod_test_data): Likewise.
37925 (log_test_data): Likewise.
37926 (log10_test_data): Likewise.
37927 (log2_test_data): Likewise.
37928 (pow_test_data): Likewise.
37929 (sqrt_test_data): Likewise.
37930 (y0_test_data): Likewise.
37931 (y1_test_data): Likewise.
37932 (yn_test_data): Likewise.
37933
37934 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
37935 function contents.
37936
37937 * math/libm-test.inc (struct test_ff_i_data): New type.
37938 (RUN_TEST_LOOP_ff_i_tg): New macro.
37939 (isgreater_test_data): New variable.
37940 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37941 (isgreaterequal_test_data): New variable.
37942 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37943 (isless_test_data): New variable.
37944 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37945 (islessequal_test_data): New variable.
37946 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37947 (islessgreater_test_data): New variable.
37948 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37949 (isunordered_test_data): New variable.
37950 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
37951
37952 2013-05-14 David S. Miller <davem@davemloft.net>
37953
37954 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37955
37956 2013-05-14 Joseph Myers <joseph@codesourcery.com>
37957
37958 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
37959
37960 * math/libm-test.inc (struct test_fF_f1_data): Change type of
37961 extra_test to int.
37962 (struct test_f_i_data): Change type of max_ulp to int.
37963
37964 * math/libm-test.inc (test_ffI_f1_data): New type.
37965 (RUN_TEST_LOOP_ffI_f1): New macro.
37966 (remquo_test_data): New variable.
37967 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
37968
37969 * setjmp/tst-setjmp-fp.c: New file.
37970 * setjmp/Makefile (tests): Add tst-setjmp-fp.
37971 (link-libm): New variable.
37972 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
37973
37974 * math/libm-test.inc (struct test_f_i_data): New type.
37975 (RUN_TEST_LOOP_f_i): New macro.
37976 (RUN_TEST_LOOP_f_i_tg): Likewise.
37977 (fpclassify_test_data): New variable.
37978 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
37979 (ilogb_test_data): New variable.
37980 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
37981
37982 * math/libm-test.inc (scalbln_test): Correct function name in END
37983 call.
37984
37985 * math/libm-test.inc (struct test_f_f1_data): Add comment.
37986 (RUN_TEST_LOOP_fI_f1): New macro.
37987 (frexp_test_data): New variable.
37988 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
37989
37990 * math/libm-test.inc (struct test_fF_f1_data): New type.
37991 (RUN_TEST_LOOP_fF_f1): New macro.
37992 (modf_test_data): New variable.
37993 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
37994
37995 * math/libm-test.inc (struct test_f_f1_data): New type.
37996 (RUN_TEST_LOOP_f_f1): New macro.
37997 (gamma_test_data): New variable.
37998 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
37999 (lgamma_test_data): New variable.
38000 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
38001
38002 2013-05-13 Carlos O'Donell <carlos@redhat.com>
38003
38004 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
38005 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
38006 (main): Comment "tls" pseudo-hwcap.
38007
38008 2013-05-13 Joseph Myers <joseph@codesourcery.com>
38009
38010 * math/libm-test.inc (struct test_fl_f_data): New type.
38011 (RUN_TEST_LOOP_fl_f): New variable.
38012 (scalbln_test_data): New variable.
38013 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
38014
38015 * math/libm-test.inc (struct test_fi_f_data): New type.
38016 (RUN_TEST_LOOP_fi_f): New macro.
38017 (ldexp_test_data): New variable.
38018 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
38019 (scalbn_test_data): New variable.
38020 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
38021
38022 * math/libm-test.inc (struct test_c_f_data): New type.
38023 (RUN_TEST_LOOP_c_f): New macro.
38024 (cabs_test_data): New variable.
38025 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
38026 (carg_test_data): New variable.
38027 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
38028 (cimag_test_data): New variable.
38029 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
38030 (creal_test_data): New variable.
38031 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
38032
38033 * math/libm-test.inc (struct test_if_f_data): New type.
38034 (RUN_TEST_LOOP_if_f): New macro.
38035 (jn_test_data): New variable.
38036 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
38037 (yn_test_data): New variable.
38038 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
38039
38040 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
38041
38042 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38043
38044 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
38045 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
38046
38047 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
38048
38049 * benchtests/Makefile (CPPFLAGS-nonlib): Add
38050 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
38051 (bench-deps): Add bench-timing.h.
38052 * benchtests-bench-skeleton.c: Include bench-timing.h.
38053 (main): Use TIMING_* macros instead of clock_gettime.
38054 * benchtests/bench-timing.h: New file.
38055
38056 [BZ #14582]
38057 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
38058 Renamed from _LIB_VERSION.
38059 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
38060
38061 2013-05-12 Joseph Myers <joseph@codesourcery.com>
38062
38063 * math/libm-test.inc (struct test_fff_f_data): New type.
38064 (RUN_TEST_LOOP_fff_f): New macro.
38065 (fma_test_data): New variable.
38066 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
38067 (fma_towardzero_test_data): New variable.
38068 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
38069 (fma_downward_test_data): New variable.
38070 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
38071 (fma_upward_test_data): New variable.
38072 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
38073
38074 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
38075 (struct test_c_c_data): New type.
38076 (RUN_TEST_LOOP_c_c): New macro.
38077 (cacos_test_data): New variable.
38078 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
38079 (cacosh_test_data): New variable.
38080 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
38081 (casin_test_data): New variable.
38082 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
38083 (casinh_test_data): New variable.
38084 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
38085 (catan_test_data): New variable.
38086 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
38087 (catanh_test_data): New variable.
38088 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
38089 (ccos_test_data): New variable.
38090 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
38091 (ccosh_test_data): New variable.
38092 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
38093 (cexp_test_data): New variable.
38094 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
38095 (clog_test_data): New variable.
38096 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
38097 (clog10_test_data): New variable.
38098 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
38099 (conj_test_data): New variable.
38100 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
38101 (cproj_test_data): New variable.
38102 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
38103 (csin_test_data): New variable.
38104 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
38105 (csinh_test_data): New variable.
38106 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
38107 (csqrt_test_data): New variable.
38108 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
38109 (ctan_test_data): New variable.
38110 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
38111 (ctan_tonearest_test_data): New variable.
38112 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
38113 (ctan_towardzero_test_data): New variable.
38114 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
38115 (ctan_downward_test_data): New variable.
38116 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
38117 (ctan_upward_test_data): New variable.
38118 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
38119 (ctanh_test_data): New variable.
38120 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
38121 (ctanh_tonearest_test_data): New variable.
38122 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
38123 (ctanh_towardzero_test_data): New variable.
38124 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
38125 (ctanh_downward_test_data): New variable.
38126 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
38127 (ctanh_upward_test_data): New variable.
38128 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
38129 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
38130 of BUILD_COMPLEX.
38131
38132 * math/libm-test.inc (struct test_ff_f_data): New type.
38133 (struct test_ff_f_data_nexttoward): Likewise.
38134 (RUN_TEST_LOOP_2_f): New macro.
38135 (RUN_TEST_LOOP_ff_f): Likewise.
38136 (atan2_test_data): New variable.
38137 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
38138 (copysign_test_data): New variable.
38139 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
38140 (fdim_test_data): New variable.
38141 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
38142 (fmax_test_data): New variable.
38143 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
38144 (fmin_test_data): New variable.
38145 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
38146 (fmod_test_data): New variable.
38147 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
38148 (hypot_test_data): New variable.
38149 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
38150 (nextafter_test_data): New variable.
38151 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
38152 (nexttoward_test_data): New variable.
38153 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
38154 (pow_test_data): New variable.
38155 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
38156 (pow_tonearest_test_data): New variable.
38157 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
38158 (pow_towardzero_test_data): New variable.
38159 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
38160 (pow_downward_test_data): New variable.
38161 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
38162 (pow_upward_test_data): New variable.
38163 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
38164 (remainder_test_data): New variable.
38165 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
38166 (scalb_test_data): New variable.
38167 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
38168 * sysdeps/i386/fpu/libm-test-ulps: Update.
38169
38170 2013-05-11 Joseph Myers <joseph@codesourcery.com>
38171
38172 * math/libm-test.inc (fma_test): Use max_value instead of local
38173 variable fltmax.
38174 (nextafter_test): Likewise.
38175
38176 * math/libm-test.inc (acos_towardzero_test_data): New variable.
38177 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38178 (acos_downward_test_data): New variable.
38179 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38180 (acos_upward_test_data): New variable.
38181 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38182 (acosh_test_data): New variable.
38183 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
38184 (asin_test_data): New variable.
38185 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
38186 (asin_tonearest_test_data): New variable.
38187 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38188 (asin_towardzero_test_data): New variable.
38189 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38190 (asin_downward_test_data): New variable.
38191 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38192 (asin_upward_test_data): New variable.
38193 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38194 (asinh_test_data): New variable.
38195 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
38196 (atan_test_data): New variable.
38197 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
38198 (atanh_test_data): New variable.
38199 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
38200 (cbrt_test_data): New variable.
38201 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
38202 (ceil_test_data): New variable.
38203 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
38204 (cos_test_data): New variable.
38205 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
38206 (cos_tonearest_test_data): New variable.
38207 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38208 (cos_towardzero_test_data): New variable.
38209 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38210 (cos_downward_test_data): New variable.
38211 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38212 (cos_upward_test_data): New variable.
38213 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38214 (cosh_test_data): New variable.
38215 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
38216 (cosh_tonearest_test_data): New variable.
38217 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38218 (cosh_towardzero_test_data): New variable.
38219 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38220 (cosh_downward_test_data): New variable.
38221 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38222 (cosh_upward_test_data): New variable.
38223 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38224 (erf_test_data): New variable.
38225 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
38226 (erfc_test_data): New variable.
38227 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
38228 (exp_test_data): New variable.
38229 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
38230 (exp_tonearest_test_data): New variable.
38231 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38232 (exp_towardzero_test_data): New variable.
38233 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38234 (exp_downward_test_data): New variable.
38235 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38236 (exp_upward_test_data): New variable.
38237 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38238 (exp10_test_data): New variable.
38239 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
38240 (exp2_test_data): New variable.
38241 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
38242 (expm1_test_data): New variable.
38243 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
38244 (fabs_test_data): New variable.
38245 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
38246 (floor_test_data): New variable.
38247 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
38248 (j0_test_data): New variable.
38249 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
38250 (j1_test_data): New variable.
38251 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
38252 (log_test_data): New variable.
38253 (log_test): Run tests with RUN_TEST_LOOP_f_f.
38254 (log10_test_data): New variable.
38255 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
38256 (log1p_test_data): New variable.
38257 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
38258 (log2_test_data): New variable.
38259 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
38260 (logb_test_data): New variable.
38261 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
38262 (logb_downward_test_data): New variable.
38263 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38264 (nearbyint_test_data): New variable.
38265 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
38266 (rint_test_data): New variable.
38267 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
38268 (rint_tonearest_test_data): New variable.
38269 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38270 (rint_towardzero_test_data): New variable.
38271 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38272 (rint_downward_test_data): New variable.
38273 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38274 (rint_upward_test_data): New variable.
38275 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38276 (round_test_data): New variable.
38277 (round_test): Run tests with RUN_TEST_LOOP_f_f.
38278 (sin_test_data): New variable.
38279 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
38280 (sin_tonearest_test_data): New variable.
38281 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38282 (sin_towardzero_test_data): New variable.
38283 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38284 (sin_downward_test_data): New variable.
38285 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38286 (sin_upward_test_data): New variable.
38287 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38288 (sinh_test_data): New variable.
38289 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
38290 (sinh_tonearest_test_data): New variable.
38291 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38292 (sinh_towardzero_test_data): New variable.
38293 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38294 (sinh_downward_test_data): New variable.
38295 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38296 (sinh_upward_test_data): New variable.
38297 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38298 (sqrt_test_data): New variable.
38299 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
38300 (tan_test_data): New variable.
38301 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
38302 (tan_tonearest_test_data): New variable.
38303 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38304 (tan_towardzero_test_data): New variable.
38305 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
38306 (tan_downward_test_data): New variable.
38307 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
38308 (tan_upward_test_data): New variable.
38309 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
38310 (tanh_test_data): New variable.
38311 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
38312 (tgamma_test_data): New variable.
38313 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
38314 (trunc_test_data): New variable.
38315 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
38316 (y0_test_data): New variable.
38317 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
38318 (y1_test_data): New variable.
38319 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
38320 (significand_test_data): New variable.
38321 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
38322
38323 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
38324
38325 [BZ #12387]
38326 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
38327
38328 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
38329
38330 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
38331
38332 2013-05-10 Andreas Jaeger <aj@suse.de>
38333
38334 [BZ #15448]
38335 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
38336 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
38337
38338 2013-05-10 Joseph Myers <joseph@codesourcery.com>
38339
38340 * math/gen-libm-test.pl (adjust_arg): New function.
38341 (special_functions): Handle generating output in both functions
38342 and arrays.
38343 (parse_args): Likewise.
38344 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
38345 $in_func argument to parse_args.
38346 * math/libm-test.inc (struct test_f_f_data): New type.
38347 (IF_ROUND_INIT_): New macro.
38348 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
38349 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
38350 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
38351 (IF_ROUND_INIT_FE_UPWARD): Likewise.
38352 (ROUND_RESTORE_): Likewise.
38353 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
38354 (ROUND_RESTORE_FE_TONEAREST): Likewise.
38355 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
38356 (ROUND_RESTORE_FE_UPWARD): Likewise.
38357 (RUN_TEST_LOOP_f_f): New macro.
38358 (acos_test_data): New variable.
38359 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
38360 (acos_tonearest_test_data): New variable.
38361 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
38362
38363 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
38364
38365 * benchtests/bench-skeleton.c (startup): Fix coding style.
38366
38367 2013-05-10 Joseph Myers <joseph@codesourcery.com>
38368
38369 [BZ #6809]
38370 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
38371 negative infinity argument.
38372 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
38373 negative infinity argument.
38374 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
38375 negative infinity argument.
38376 * math/libm-test.inc (tgamma_test): Expect errno to be set for
38377 domain errors.
38378
38379 2013-05-10 Florian Weimer <fweimer@redhat.com>
38380
38381 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
38382 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
38383 * iconv/iconv_prog.c (main): Likewise.
38384 * locale/programs/charmap-dir.c (charmap_readdir)
38385 (fopen_uncompressed): Likewise.
38386 * locale/programs/locfile.c (siblings_uncached)
38387 (write_locale_data): Use lstat64 instead of lstat.
38388 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
38389 stat.
38390
38391 2013-05-10 Andreas Jaeger <aj@suse.de>
38392
38393 [BZ #15395]
38394 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
38395 localization.
38396 Include <locale.h>.
38397
38398 2013-05-09 Carlos O'Donell <carlos@redhat.com>
38399
38400 * elf/dl-close.c (_dl_close_worker): Add comments.
38401
38402 2013-05-09 Joseph Myers <joseph@codesourcery.com>
38403
38404 [BZ #15359]
38405 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
38406 high part of pi/2.
38407 (__ieee754_rem_pio2l): Update comments.
38408
38409 [BZ #15429]
38410 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
38411 high part of pi/2.
38412 (__ieee754_rem_pio2l): Update comments.
38413
38414 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
38415 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
38416
38417 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
38418 M_PI_4l.
38419
38420 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
38421 (M_PI_34_LOG10El): Likewise.
38422 (M_PI2_LOG10El): Likewise.
38423 (M_PI4_LOG10El): Likewise.
38424 (M_PI_LOG10El): Likewise.
38425
38426 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38427
38428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38429
38430 2013-05-08 Joseph Myers <joseph@codesourcery.com>
38431
38432 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
38433 (MINUS_ZERO_INIT): Likewise.
38434 (PLUS_INFTY_INIT): Likewise.
38435 (MINUS_INFTY_INIT): Likewise.
38436 (QNAN_VALUE_INIT): Likewise.
38437 (MAX_VALUE_INIT): Likewise.
38438 (MIN_VALUE_INIT): Likewise.
38439 (MIN_SUBNORM_VALUE_INIT): Likewise.
38440 (plus_zero): Initialize with PLUS_ZERO_INIT.
38441 (minus_zero): Initialize with MINUS_ZERO_INIT.
38442 (plus_infty): Initialize with PLUS_INFTY_INIT.
38443 (minus_infty): Initialize with MINUS_INFTY_INIT.
38444 (qnan_value): Initialize with QNAN_VALUE_INIT.
38445 (max_value): Initialize with MAX_VALUE_INIT.
38446 (min_value): Initialize with MIN_VALUE_INIT.
38447 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
38448
38449 * math/libm-test.inc (RUN_TEST_if_f): New macro.
38450 (jn_test): Use TEST_if_f instead of TEST_ff_f.
38451 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
38452 (yn_test): Use TEST_if_f instead of TEST_ff_f.
38453
38454 * math/libm-test.inc (RUN_TEST_f_f): New macro.
38455 (RUN_TEST_2_f): Likewise.
38456 (RUN_TEST_ff_f): Likewise.
38457 (RUN_TEST_fi_f): Likewise.
38458 (RUN_TEST_fl_f): Likewise.
38459 (RUN_TEST_fff_f): Likewise.
38460 (RUN_TEST_c_f): Likewise.
38461 (RUN_TEST_f_f1): Likewise.
38462 (RUN_TEST_fF_f1): Likewise.
38463 (RUN_TEST_fI_f1): Likewise.
38464 (RUN_TEST_ffI_f1): Likewise.
38465 (RUN_TEST_c_c): Likewise.
38466 (RUN_TEST_cc_c): Likewise.
38467 (RUN_TEST_f_i): Likewise.
38468 (RUN_TEST_f_i_tg): Likewise.
38469 (RUN_TEST_ff_i_tg): Likewise.
38470 (RUN_TEST_f_b): Likewise.
38471 (RUN_TEST_f_b_tg): Likewise.
38472 (RUN_TEST_f_l): Likewise.
38473 (RUN_TEST_f_L): Likewise.
38474 (RUN_TEST_sincos): Likewise.
38475 * math/gen-libm-test.pl (new_test): Take new argument to indicate
38476 whether to show exceptions. Do not include ");\n" in return
38477 value.
38478 (special_functions): Output call to RUN_TEST_sincos instead of
38479 check_float calls. Update calls to new_test.
38480 (parse_args): Output call to single RUN_TEST_* macro instead of
38481 check_* calls and other assignments. Update calls to new_test.
38482
38483 [BZ #2546]
38484 [BZ #2560]
38485 [BZ #5159]
38486 [BZ #15426]
38487 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
38488 input to result for tgamma overflow.
38489 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
38490 (gamma_coeff): New variable.
38491 (NCOEFF): New macro.
38492 (gamma_positive): New function.
38493 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
38494 underflow here. Use gamma_positive instead of exp (lgamma) for
38495 other arguments.
38496 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
38497 (gamma_coeff): New variable.
38498 (NCOEFF): New macro.
38499 (gammaf_positive): New function.
38500 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
38501 underflow here. Use gamma_positive instead of exp (lgamma) for
38502 other arguments.
38503 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
38504 (gamma_coeff): New variable.
38505 (NCOEFF): New macro.
38506 (gammal_positive): New function.
38507 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
38508 underflow here. Use gamma_positive instead of exp (lgamma) for
38509 other arguments.
38510 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
38511 (gamma_coeff): New variable.
38512 (NCOEFF): New macro.
38513 (gammal_positive): New function.
38514 (__ieee754_gammal_r): Handle positive infinity, overflow and
38515 underflow here. Handle NaN the same as positive infinity. Remove
38516 check x < 0xffffffff for negative integers. Use gamma_positive
38517 instead of exp (lgamma) for other arguments.
38518 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
38519 (gamma_coeff): New variable.
38520 (NCOEFF): New macro.
38521 (gammal_positive): New function.
38522 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
38523 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
38524 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
38525 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
38526 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
38527 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
38528 * sysdeps/generic/math_private.h (__gamma_productf): New
38529 prototype.
38530 (__gamma_product): Likewise.
38531 (__gamma_productl): Likewise.
38532 * math/Makefile (libm-calls): Add gamma_product.
38533 * math/libm-test.inc (tgamma_test): Add more tests.
38534 * sysdeps/i386/fpu/libm-test-ulps: Update.
38535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38536
38537 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
38538
38539 * benchtests/bench-skeleton.c (main): Preheat CPU.
38540
38541 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
38542
38543 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
38544
38545 2013-05-07 Roland McGrath <roland@hack.frob.com>
38546
38547 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
38548 and _dl_skip_args_internal.
38549
38550 2013-05-07 Carlos O'Donell <carlos@redhat.com>
38551
38552 * manual/message.texi (Message Translation): Talk about users.
38553 Message to key mapping impacts design.
38554
38555 2013-05-06 Roland McGrath <roland@hack.frob.com>
38556
38557 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
38558
38559 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
38560
38561 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
38562 * sysdeps/wordsize-64/glob64.c: ... here.
38563
38564 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
38565 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
38566 New macros.
38567
38568 * debug/getlogin_r_chk.c: Moved to ...
38569 * login/getlogin_r_chk.c: ... here.
38570 * debug/Makefile (routines): Move getlogin_r_chk to ...
38571 * login/Makefile (routines): ... here.
38572 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
38573 * login/Versions (libc: GLIBC_2.4): ... here.
38574
38575 * io/poll.c (__poll): Renamed from poll.
38576 Add libc_hidden_def.
38577 (poll): Define as weak alias.
38578
38579 * debug/ptsname_r_chk.c: Moved to ...
38580 * login/ptsname_r_chk.c: ... here.
38581 * debug/Makefile (routines): Move ptsname_r_chk to ...
38582 * login/Makefile (routines): ... here.
38583 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
38584 * login/Versions (libc: GLIBC_2.4): ... here.
38585
38586 * posix/getlogin.c: Moved to ...
38587 * login/getlogin.c: ... here.
38588 * posix/getlogin_r.c: Moved to ...
38589 * login/getlogin_r.c: ... here.
38590 * posix/getlogin_r.c: Moved to ...
38591 * login/getlogin_r.c: ... here.
38592 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
38593 * login/Makefile (routines): ... here.
38594 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
38595 * login/Versions (libc: GLIBC_2.0): ... here.
38596
38597 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
38598 (setrlimit): Define as weak alias.
38599
38600 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
38601 Call __ names for open, ftruncate, and close.
38602 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
38603 (truncate): Define as weak alias.
38604
38605 2013-05-06 Joseph Myers <joseph@codesourcery.com>
38606
38607 * math/gen-libm-test.pl (parse_args): Initialize x before each
38608 test of frexp, modf and remquo.
38609
38610 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
38611 test signgam value.
38612
38613 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38614
38615 [BZ #15418]
38616 [BZ #15419]
38617 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
38618 internal tests.
38619 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38620
38621 2013-05-06 Roland McGrath <roland@hack.frob.com>
38622
38623 * elf/dl-writev.h: New file.
38624 * elf/dl-misc.c: Include it.
38625 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
38626 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
38627
38628 2013-05-04 Joseph Myers <joseph@codesourcery.com>
38629
38630 * math/libm-test.inc (noXFails): Remove variable.
38631 (noXPasses): Likewise.
38632 (BUILD_COMPLEX_INT): Remove macro.
38633 (print_screen): Remove xfail argument.
38634 (print_screen_max_error): Likewise.
38635 (update_stats): Likewise.
38636 (print_max_error): Likewise. Update calls to other affected
38637 functions.
38638 (print_complex_max_error): Likewise.
38639 (test_single_exception): Update calls to print_screen.
38640 (test_single_errno): Likewise.
38641 (check_float_internal): Remove xfail argument. Update calls to
38642 other affected functions.
38643 (check_float): Likewise.
38644 (check_complex): Likewise.
38645 (check_int): Likewise.
38646 (check_long): Likewise.
38647 (check_bool): Likewise.
38648 (check_longlong): Likewise.
38649 (main): Don't print noXFails and noXPasses.
38650 * math/gen-libm-test.pl (top level): Don't mention expected
38651 failure handling in comment.
38652 (new_test): Don't handle expected failures.
38653 (parse_args): Don't mention expected failure handling in comment.
38654 (generate_testfile): Don't handle expected failures.
38655 (parse_ulps): Likewise.
38656 (print_ulps_file): Likewise.
38657 (get_failure): Remove function.
38658 (output_test): Don't handle expected failures.
38659 * make/README.libm-test: Don't mention expected failure handling.
38660
38661 * math/libm-test.inc (plus_zero): Make const. Add initializer.
38662 (minus_zero): Likewise.
38663 (plus_infty): Likewise.
38664 (minus_infty): Likewise.
38665 (qnan_value): Likewise.
38666 (max_value): Likewise.
38667 (min_value): Likewise.
38668 (min_subnorm_value): Likewise.
38669 (initialize): Do not initialize those variables dynamically.
38670
38671 2013-05-03 Roland McGrath <roland@hack.frob.com>
38672
38673 * io/open.c (__open_2): Moved to ...
38674 * io/open_2.c: ... this new file.
38675 * io/open64.c (__open64_2): Moved to ...
38676 * io/open64_2.c: ... this new file.
38677 * io/openat.c (__openat_2): Moved to ...
38678 * io/openat_2.c: ... this new file.
38679 * io/openat64.c (__openat64_2): Moved to ...
38680 * io/openat64_2.c: ... this new file.
38681 * io/Makefile (routines): Add them.
38682 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
38683 * sysdeps/unix/sysv/linux/open_2.c: File removed.
38684 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
38685 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
38686 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
38687 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
38688 (__openat64): Add hidden_ver.
38689 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
38690 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
38691
38692 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
38693 Separately conditionalize setting of GLRO(dl_sysinfo) so
38694 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
38695 as well, but the actual setting is only under [NEED_DL_SYSINFO].
38696
38697 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38698
38699 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
38700 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
38701 definition.
38702 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
38703 * sysdeps/unix/sysv/linux/powerpc/init-first.c
38704 (_libc_vdso_platform_setup): Add __vdso_time initialization.
38705 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
38706 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
38707
38708 2013-05-03 Joseph Myers <joseph@codesourcery.com>
38709
38710 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
38711 test signgam value.
38712
38713 * math/libm-test.inc (hypot_test): Do not use
38714 IGNORE_ZERO_INF_SIGN.
38715
38716 2013-05-03 Andreas Jaeger <aj@suse.de>
38717
38718 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
38719 Linux 3.9.
38720 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
38721 (PF_MAX): Adjust for VSOCK change.
38722
38723 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38724
38725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38726
38727 2013-05-02 Carlos O'Donell <carlos@redhat.com>
38728
38729 [BZ #15264]
38730 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
38731 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
38732 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
38733
38734 2013-05-02 David S. Miller <davem@davemloft.net>
38735
38736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38737
38738 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
38739
38740 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
38741
38742 2013-05-01 Roland McGrath <roland@hack.frob.com>
38743
38744 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
38745
38746 2013-05-01 Richard Smith <richard@metafoo.co.uk>
38747
38748 [BZ #14952]
38749 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
38750 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38751 Use __attribute__ ((__gnu_inline__)).
38752 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
38753 Don't use __attribute__ ((__gnu_inline__)).
38754
38755 2013-05-01 Joseph Myers <joseph@codesourcery.com>
38756
38757 [BZ #15423]
38758 * math/s_catan.c (__catan): Handle small real or imaginary part of
38759 input specially to avoid spurious underflow.
38760 * math/s_catanf.c (__catanf): Likewise.
38761 * math/s_catanh.c (__catanh): Likewise.
38762 * math/s_catanhf.c (__catanhf): Likewise.
38763 * math/s_catanhl.c (__catanhl): Likewise.
38764 * math/s_catanl.c (__catanl): Likewise.
38765 * math/libm-test.inc (catan_test): Add more tests.
38766 (catanh_test): Likewise.
38767 * sysdeps/i386/fpu/libm-test-ulps: Update.
38768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38769
38770 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38771
38772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38773
38774 2013-04-30 Joseph Myers <joseph@codesourcery.com>
38775
38776 [BZ #15416]
38777 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
38778 accurately for denominator in atan2.
38779 * math/s_catanf.c (__catanf): Likewise.
38780 * math/s_catanh.c (__catanh): Likewise.
38781 * math/s_catanhf.c (__catanhf): Likewise.
38782 * math/s_catanhl.c (__catanhl): Likewise.
38783 * math/s_catanl.c (__catanl): Likewise.
38784 * math/libm-test.inc (catan_test): Add more tests.
38785 (catanh_test): Likewise.
38786 * sysdeps/i386/fpu/libm-test-ulps: Update.
38787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38788
38789 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
38790
38791 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
38792
38793 * benchtests/Makefile (bench): Remove slow benchmarks.
38794 * benchtests/atan-inputs: Add slow benchmark inputs.
38795 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
38796 (BENCH_FUNC): Accept variant offset.
38797 (VARIANT): Define.
38798 * benchtests/bench-skeleton.c (main): Run benchmark for each
38799 variant.
38800 * benchtests/cos-inputs: Add slow benchmark inputs.
38801 * benchtests/exp-inputs: Likewise.
38802 * benchtests/pow-inputs: Likewise.
38803 * benchtests/sin-inputs: Likewise.
38804 * benchtests/slowatan-inputs: Remove.
38805 * benchtests/slowatan.c: Remove.
38806 * benchtests/slowcos-inputs: Remove.
38807 * benchtests/slowcos.c: Remove.
38808 * benchtests/slowexp-inputs: Remove.
38809 * benchtests/slowexp.c: Remove.
38810 * benchtests/slowpow-inputs: Remove.
38811 * benchtests/slowpow.c: Remove.
38812 * benchtests/slowsin-inputs: Remove.
38813 * benchtests/slowsin.c: Remove.
38814 * benchtests/slowtan-inputs: Remove.
38815 * benchtests/slowtan.c: Remove.
38816 * benchtests/tan-inputs: Add slow benchmark inputs.
38817 * scripts/bench.pl: Parse comments and directives.
38818
38819 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
38820 in CPPFLAGS.
38821 ($(objpfx)bench-%.c): Remove *-ITER.
38822 * benchtests/bench-modf.c: Remove definition of ITER.
38823 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
38824 (main): Loop for DURATION seconds instead of fixed number of
38825 iterations.
38826 * scripts/bench.pl: Don't expect iterations in parameters.
38827
38828 2013-04-29 Roland McGrath <roland@hack.frob.com>
38829
38830 * io/fchdir.c (__fchdir): Renamed from fchdir.
38831 (fchdir): Define as weak alias.
38832
38833 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38834
38835 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
38836 (ERRNO_EDOM): Likewise.
38837 (ERRNO_ERANGE): Likewise.
38838 (noErrnoTests): New variable.
38839 (init_max_error): Set errno to 0.
38840 (test_single_errno): New function.
38841 (test_errno): Likewise.
38842 (check_float_internal): Call test_errno. Set errno to 0.
38843 (check_complex): Refer to errno tests in comment.
38844 (check_int): Call test_errno. Set errno to 0.
38845 (check_long): Likewise.
38846 (check_bool): Likewise.
38847 (check_longlong): Likewise.
38848 (cos_test): Use ERRNO_* flags for errno tests instead of
38849 check_int.
38850 (expm1_test): Likewise.
38851 (fmod_test): Likewise.
38852 (ilogb_test): Likewise.
38853 (lgamma_test): Likewise.
38854 (pow_test): Likewise.
38855 (remainder_test): Likewise.
38856 (sin_test): Likewise.
38857 (tan_test): Likewise.
38858 (yn_test): Likewise.
38859 (initialize): Set errno to 0.
38860 (main): Print number of errno tests.
38861 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
38862
38863 2013-04-29 Andreas Jaeger <aj@suse.de>
38864
38865 [BZ #15084]
38866 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
38867 and RES_USEVC.
38868
38869 [BZ #15085]
38870 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
38871 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
38872 unimplemented.
38873
38874 [BZ #15380]
38875 * stdlib/random.c (__initstate): Return NULL if
38876 __initstate fails.
38877
38878 [BZ #15086]
38879 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
38880 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
38881 RES_SNGLKUPREOP.
38882
38883 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38884
38885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38886
38887 2013-04-29 Joseph Myers <joseph@codesourcery.com>
38888
38889 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
38890 of individual tests.
38891 (casin_test): Likewise.
38892 (casinh_test): Likewise.
38893
38894 2013-04-27 Joseph Myers <joseph@codesourcery.com>
38895
38896 [BZ #15409]
38897 * math/s_catan.c (__catan): Handle arguments with large real or
38898 imaginary part separately without squaring.
38899 * math/s_catanf.c (__catanf): Likewise.
38900 * math/s_catanh.c (__catanh): Likewise.
38901 * math/s_catanhf.c (__catanhf): Likewise.
38902 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38903 and redefine.
38904 (__catanhl): Handle arguments with large real or imaginary part
38905 separately without squaring.
38906 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
38907 and redefine.
38908 (__catanl): Handle arguments with large real or imaginary part
38909 separately without squaring.
38910 * math/libm-test.inc (catan_test): Add more tests.
38911 (catanh_test): Likewise.
38912 * sysdeps/i386/fpu/libm-test-ulps: Update.
38913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38914
38915 2013-04-27 Andreas Jaeger <aj@suse.de>
38916
38917 [BZ #15007]
38918 * stdlib/stdlib.h: Update guards for qecvt.
38919 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
38920 <stdlib.h>.
38921
38922 2013-04-27 Allan McRae <allan@archlinux.org>
38923
38924 * sysdeps/i386/fpu/libm-test-ulps: Update.
38925
38926 2013-04-26 Joseph Myers <joseph@codesourcery.com>
38927
38928 [BZ #15406]
38929 * math/s_catan.c: Include <float.h>.
38930 (__catan): Ensure underflow exception occurs for underflowed
38931 result.
38932 * math/s_catanf.c: Include <float.h>.
38933 (__catanf): Ensure underflow exception occurs for underflowed
38934 result.
38935 * math/s_catanh.c: Include <float.h>.
38936 (__catanh): Ensure underflow exception occurs for underflowed
38937 result.
38938 * math/s_catanhf.c: Include <float.h>.
38939 (__catanhf): Ensure underflow exception occurs for underflowed
38940 result.
38941 * math/s_catanhl.c: Include <float.h>.
38942 (__catanhl): Ensure underflow exception occurs for underflowed
38943 result.
38944 * math/s_catanl.c: Include <float.h>.
38945 (__catanl): Ensure underflow exception occurs for underflowed
38946 result.
38947 * math/libm-test.inc (catan_test): Add more tests.
38948 (catanh_test): Likewise.
38949
38950 [BZ #15405]
38951 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
38952 underflowed result.
38953 * math/s_ccoshf.c (__ccoshf): Likewise.
38954 * math/s_ccoshl.c (__ccoshl): Likewise.
38955 * math/s_csin.c (__csin): Likewise.
38956 * math/s_csinf.c (__csinf): Likewise.
38957 * math/s_csinh.c (__csinh): Likewise.
38958 * math/s_csinhf.c (__csinhf): Likewise.
38959 * math/s_csinhl.c (__csinhl): Likewise.
38960 * math/s_csinl.c (__csinl): Likewise.
38961 * math/libm-test.inc (ccos_test): Add more tests.
38962 (ccosh_test): Likewise.
38963 (csin_test): Likewise.
38964 (csinh_test): Likewise.
38965
38966 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38967
38968 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
38969 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
38970 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
38971 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
38972 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
38973 powerpc/power5+/fpu folders.
38974 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
38975
38976
38977 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38978
38979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38980
38981 2013-04-25 Joseph Myers <joseph@codesourcery.com>
38982
38983 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
38984 additions to variable.
38985 [$(config-machine) = x86_64] (modules-names): Likewise.
38986 ($(objpfx)tst-audit3): Remove dependency.
38987 ($(objpfx)tst-audit3.out): Likewise.
38988 ($(objpfx)tst-audit4): Likewise.
38989 ($(objpfx)tst-audit4.out): Likewise.
38990 ($(objpfx)tst-audit5): Likewise.
38991 ($(objpfx)tst-audit5.out): Likewise.
38992 ($(objpfx)tst-audit6): Likewise.
38993 ($(objpfx)tst-audit6.out): Likewise.
38994 ($(objpfx)tst-audit7): Likewise.
38995 ($(objpfx)tst-audit7.out): Likewise.
38996 (tst-audit3-ENV): Remove variable.
38997 (tst-audit4-ENV): Likewise.
38998 (tst-audit5-ENV): Likewise.
38999 (tst-audit6-ENV): Likewise.
39000 (tst-audit7-ENV): Likewise.
39001 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
39002 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
39003 addition to variable.
39004 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
39005 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
39006 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
39007 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
39008 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
39009 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
39010 tst-audit3, tst-audit4 and tst-audit5.
39011 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
39012 tst-audit6 and tst-audit7.
39013 [$(subdir) = elf] (modules-names): Add audit modules for those
39014 tests.
39015 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
39016 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
39017 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
39018 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
39019 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
39020 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
39021 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
39022 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
39023 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
39024 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
39025 [$(subdir) = elf] (tst-audit3-ENV): New variable.
39026 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
39027 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
39028 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
39029 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
39030 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
39031 Likewise.
39032 [$(subdir) = elf && $(config-cflags-avx) = yes]
39033 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
39034 [$(subdir) = elf && $(config-cflags-avx) = yes]
39035 (CFLAGS-tst-auditmod4a.c): Likewise.
39036 [$(subdir) = elf && $(config-cflags-avx) = yes]
39037 (CFLAGS-tst-auditmod4b.c): Likewise.
39038 [$(subdir) = elf && $(config-cflags-avx) = yes]
39039 (CFLAGS-tst-auditmod6b.c): Likewise.
39040 [$(subdir) = elf && $(config-cflags-avx) = yes]
39041 (CFLAGS-tst-auditmod6c.c): Likewise.
39042 [$(subdir) = elf && $(config-cflags-avx) = yes]
39043 (CFLAGS-tst-auditmod7b.c): Likewise.
39044 * elf/tst-audit3.c: Move to ...
39045 * sysdeps/x86_64/tst-audit3.c: ... here.
39046 * elf/tst-audit4.c: Move to ...
39047 * sysdeps/x86_64/tst-audit4.c: ... here.
39048 * elf/tst-audit5.c: Move to ...
39049 * sysdeps/x86_64/tst-audit5.c: ... here.
39050 * elf/tst-audit6.c: Move to ...
39051 * sysdeps/x86_64/tst-audit6.c: ... here.
39052 * elf/tst-audit7.c: Move to ...
39053 * sysdeps/x86_64/tst-audit7.c: ... here.
39054 * elf/tst-auditmod3a.c: Move to ...
39055 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
39056 * elf/tst-auditmod3b.c: Move to ...
39057 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
39058 * elf/tst-auditmod4a.c: Move to ...
39059 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
39060 * elf/tst-auditmod4b.c: Move to ...
39061 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
39062 * elf/tst-auditmod5a.c: Move to ...
39063 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
39064 * elf/tst-auditmod5b.c: Move to ...
39065 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
39066 * elf/tst-auditmod6a.c: Move to ...
39067 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
39068 * elf/tst-auditmod6b.c: Move to ...
39069 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
39070 * elf/tst-auditmod6c.c: Move to ...
39071 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
39072 * elf/tst-auditmod7a.c: Move to ...
39073 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
39074 * elf/tst-auditmod7b.c: Move to ...
39075 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
39076
39077 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
39078
39079 [BZ #15366]
39080 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
39081 define unconditionally.
39082 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
39083 define unconditionally.
39084 (INT8_C, INT16_C, etc.): Likewise.
39085
39086 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
39087
39088 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
39089 __ehdr_start with hidden visibility.
39090
39091 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
39092
39093 2013-04-24 Carlos O'Donell <carlos@redhat.com>
39094
39095 * math/libm-test.inc (cos_test): Use accurate hex constants.
39096 (sincost_test): Likewise.
39097
39098 2013-04-24 Joseph Myers <joseph@codesourcery.com>
39099
39100 * math/libm-test.inc (catan_test): Add more tests.
39101 (catanh_test): Likewise.
39102
39103 * math/s_catanf.c (__catanf): Use suffixed floating-point
39104 constants.
39105 * math/s_catanhf.c (__catanhf): Likewise.
39106 * math/s_catanhl.c (__catanhl): Likewise.
39107 * math/s_catanl.c (__catanl): Likewise.
39108
39109 [BZ #15394]
39110 * math/s_catan.c (__catan): Calculate imaginary part of result
39111 with log1p not log unless computing log of number close to 0.
39112 * math/s_catanf.c (__catanf): Likewise.
39113 * math/s_catanl.c (__catanl): Likewise.
39114 * math/s_catanh.c (__catanh): Calculate real part of result with
39115 log1p not log unless computing log of number close to 0.
39116 * math/s_catanhf.c (__catanhf): Likewise.
39117 * math/s_catanhl.c (__catanhl): Likewise.
39118 * math/libm-test.inc (catan_test): Add more tests.
39119 (catanh_test): Likewise.
39120 * sysdeps/i386/fpu/libm-test-ulps: Update.
39121 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39122
39123 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39124
39125 * benchtests/Makefile: Mention files in which fast and slow
39126 paths of math functions are implemented.
39127
39128 2013-04-23 Roland McGrath <roland@hack.frob.com>
39129
39130 * sysdeps/posix/timespec_get.c: New file.
39131
39132 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39133
39134 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
39135 POWER.
39136 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
39137 for POWER.
39138 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
39139 powerpc/power5/fpu folders.
39140 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
39141 * benchtests/Makefile: Add modf testcase.
39142 * benchtests/bench-modf.c: New file: Benchmark test for mo
39143
39144 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
39145
39146 [BZ #14888]
39147 * time/Makefile (tests): Add tst-strptime-whitespace.
39148 * time/strptime_l.c (get_number): Use ISSPACE.
39149 (__strptime_internal): Likewise.
39150 * time/tst-strptime-whitespace.c: New test case.
39151
39152 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
39153
39154 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
39155 member.
39156 (_nss_files_init): Set it here.
39157
39158 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
39159
39160 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
39161 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
39162 unsigned.
39163
39164 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
39165
39166 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
39167
39168 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
39169
39170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
39171 size just once.
39172
39173 2013-04-21 David S. Miller <davem@davemloft.net>
39174
39175 * po/ru.po: Update Russion translation from translation project.
39176
39177 2013-04-17 Adam Conrad <adconrad@0c3.net>
39178
39179 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
39180 and setfsgid.
39181
39182 2013-04-17 Carlos O'Donell <carlos@redhat.com>
39183
39184 * configure.in: Remove i386 configure warning. Remove i386 case.
39185 * configure: Regenerate.
39186 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
39187 Add example to error message.
39188 * sysdeps/i386/configure: Regenerate.
39189
39190 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
39191
39192 * benchtests/Makefile (bench): Add cos, tan, slowcos and
39193 slowtan.
39194 * benchtests/cos-inputs: New file.
39195 * benchtests/slowcos-inputs: New file.
39196 * benchtests/slowcos.c: New file.
39197 * benchtests/slowtan-inputs: New file.
39198 * benchtests/slowtan.c: New file.
39199 * benchtests/tan-inputs: New file.
39200
39201 2013-04-16 Roland McGrath <roland@hack.frob.com>
39202
39203 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
39204 considered kosher.
39205
39206 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
39207
39208 * benchtests/Makefile: Include cppflags-iterator.mk to add
39209 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
39210
39211 * Makefile.in (bench-clean): New target.
39212 * benchtests/Makefile (bench-clean): Likewise.
39213
39214 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
39215
39216 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
39217
39218 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
39219
39220 * stdio-common/tstdiomisc.c: Fix coding-style violation.
39221
39222 2013-04-15 Andreas Schwab <schwab@suse.de>
39223
39224 * nscd/grpcache.c (cache_addgr): Properly check for short write.
39225 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39226 * nscd/pwdcache.c (cache_addpw): Likewise.
39227 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
39228 more than recsize.
39229
39230 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39231
39232 * benchtests/Makefile (bench): Write all output to
39233 bench-out.tmp together.
39234
39235 2013-04-15 Andreas Schwab <schwab@suse.de>
39236
39237 * nscd/nscd.c (main): Don't fork again after closing files.
39238
39239 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39240
39241 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
39242
39243 * benchtests/Rules (bench-deps): Collect dependencies into a
39244 single variable. Add Makefile to dependencies.
39245 ($(objpfx)bench-%.c): Depend on bench-deps.
39246
39247 2013-04-12 Roland McGrath <roland@hack.frob.com>
39248 Xavier Roche <roche+kml2@exalead.com>
39249
39250 [BZ #15361]
39251 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
39252 just that it's a file descriptor.
39253 * manual/llio.texi (Synchronizing AIO Operations): Update description
39254 for EBADF error from aio_fsync.
39255
39256 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
39257
39258 * Rules (bench): Move target definition...
39259 * benchtests/Makefile: ... here.
39260
39261 2013-04-11 Carlos O'Donell <carlos@redhat.com>
39262
39263 * math/libm-test.inc (cos_test): Fix PI/2 test.
39264 (sincos_test): Likewise.
39265 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39266 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
39267
39268 2013-04-11 Andreas Schwab <schwab@suse.de>
39269
39270 [BZ #13988]
39271 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
39272 accept exponent character only when digits were seen.
39273 * stdio-common/Makefile (tests): Add bug26.
39274 * stdio-common/bug26.c: New file.
39275
39276 [BZ #14293]
39277 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
39278 non-freeable.
39279
39280 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
39281
39282 * Makeconfig (rtld-prefix): Define built linker prefix.
39283 * Rules (run-bench): Use it.
39284 * math/Makefile (run-regen-ulps): Likewise.
39285
39286 * Rules (bench): Remove eval.
39287
39288 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
39289 Roland McGrath <roland@hack.frob.com>
39290 Ondrej Bilka <neleai@seznam.cz>
39291
39292 [BZ #15346]
39293 * time/getdate.c: Include ctype.h and alloca.h.
39294 (__getdate_r): Trim leading and trailing spaces of input.
39295 * time/tst-getdate.c (tests): Add tests with leading and
39296 trailing spaces.
39297
39298 2013-04-08 Roland McGrath <roland@hack.frob.com>
39299
39300 [BZ #14280]
39301 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
39302 when computing value.
39303
39304 2013-04-06 Carlos O'Donell <carlos@redhat.com>
39305
39306 * math/README.libm-test (How can I generate "libm-test-ulps"?):
39307 Use testrun.sh to run libm tests.
39308
39309 [BZ #15309]
39310 * elf/dl-open.c (dl_open_worker): memset all of seen array.
39311
39312 2013-04-06 Marko Myllynen <myllynen@redhat.com>
39313
39314 [BZ #15264]
39315 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
39316
39317 2013-04-06 Carlos O'Donell <carlos@redhat.com>
39318
39319 * Makefile.in (regen-ulps): New target.
39320 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
39321 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
39322 [ifneq (no,$(PERL)] (regen-ulps): New target.
39323 [ifeq (no,$(PERL)] (regen-ulps): New target.
39324 * math/libm-test.inc (ulps_file_name): Define.
39325 (output_dir): New variable.
39326 (options): Add "output-dir" option.
39327 (parse_opt): Handle 'o' case.
39328 (main): If output_dir is non-NULL use it as a prefix
39329 otherwise use "".
39330 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
39331
39332 2013-04-06 Carlos O'Donell <carlos@redhat.com>
39333
39334 [BZ #10060, #10062]
39335 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
39336 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
39337 fail configure if __sync_val_compare_and_swap is not inlined.
39338 * sysdeps/i386/configure: Regenerate.
39339 * configure.in: Build for i686 when configured for i386.
39340 * configure: Regenerate.
39341 * README: Remove i386 reference.
39342
39343 2013-04-06 Carlos O'Donell <carlos@redhat.com>
39344
39345 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
39346 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39347
39348 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
39349
39350 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
39351 (lmsnanval): New variables.
39352 (F): Add conversion tests.
39353 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
39354 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
39355
39356 * stdio-common/tstdiomisc.c (F): Properly collect individual
39357 tests' results.
39358
39359 [BZ #14686, #15336]
39360 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
39361 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
39362 Instead, use input NaN values or generate a qNaN by arithmetic
39363 operation. Also fix bugs to comply with the standard.
39364 * math/libm-test.inc (remainder_test): Add more tests.
39365
39366 [BZ #15335, #15342]
39367 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
39368 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
39369 input NaN values or generate a qNaN by arithmetic operation.
39370
39371 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
39372 unreachable code.
39373
39374 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
39375 definitions.
39376
39377 2013-04-03 Joseph Myers <joseph@codesourcery.com>
39378
39379 [BZ #14478]
39380 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
39381 underflowed result.
39382 * math/s_cexpf.c (__cexpf): Likewise.
39383 * math/s_cexpl.c (__cexpl): Likewise.
39384 * math/libm-test.inc (cexp_test): Add more tests.
39385
39386 2013-04-03 Andreas Schwab <schwab@suse.de>
39387
39388 [BZ #15330]
39389 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
39390 order arrays from heap if bigger than alloca cutoff.
39391
39392 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
39393
39394 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
39395 (SNAN_TESTS_double): Refer to GCC PR56831.
39396 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
39397 GCC PR56828.
39398
39399 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
39400
39401 * Rules (bench): Move bench.out after the run is complete.
39402
39403 * Rules (bench): Echo currently running benchmark.
39404
39405 * benchtests/Makefile (bench): Add atan and slowatan.
39406 * benchtests/atan-inputs: New file.
39407 * benchtests/slowatan-inputs: New file.
39408 * benchtests/slowatan.c: New file.
39409
39410 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
39411 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
39412 its value.
39413
39414 [BZ #15305]
39415 * sysdeps/unix/sysv/linux/kernel-features.h
39416 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
39417 __ASSUME_XFS_RESTRICTED_CHOWN.
39418 * sysdeps/unix/sysv/linux/pathconf.c
39419 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
39420 Save and restore errno.
39421
39422 2013-04-02 Joseph Myers <joseph@codesourcery.com>
39423
39424 [BZ #15327]
39425 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
39426 arguments using __kernel_casinh.
39427 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
39428 arguments using __kernel_casinhf.
39429 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
39430 arguments using __kernel_casinhl.
39431 * math/libm-test.inc (cacosh_test): Add more tests.
39432 * sysdeps/i386/fpu/libm-test-ulps: Update.
39433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39434
39435 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
39436
39437 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
39438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
39439
39440 * bench/Makefile (bench): Add sin and slowsin.
39441 * benchtests/sin-inputs: New file.
39442 * benchtests/slowsin-inputs: New file.
39443 * benchtests/slowsin.c: New file.
39444
39445 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
39446 (bench): Add slowexp and slowpow.
39447 (exp-ITER): Increase iterations.
39448 (pow-ITER): Likewise.
39449 * benchtests/exp-inputs: Change input.
39450 * benchtests/pow-inputs: Likewise.
39451 * benchtests/slowexp-inputs: New file.
39452 * benchtests/slowexp.c: New file.
39453 * benchtests/slowpow-inputs: New file.
39454 * benchtests/slowpow.c: New file.
39455
39456 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39457
39458 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
39459 instructions.
39460 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
39461 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
39462 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
39463 * benchtests/Makefile: Add rint benchtest.
39464 * benchtests/rint-inputs: Input for rint benchtest.
39465
39466 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
39467
39468 * Versions.def (libm): Add GLIBC_2.18.
39469 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
39470 hidden libm prototypes.
39471 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
39472 * math/Makefile (libm-calls): Add s_issignaling.
39473 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
39474 __issignalingf, __issignalingl. Adjust all libm.abilist files.
39475 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
39476 declaration.
39477 * math/math.h [__USE_GNU] (issignaling): New macro.
39478 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
39479 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
39480 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
39481 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
39482 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
39483 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
39484 * manual/arith.texi (issignaling): New section.
39485 * manual/libm-err-tab.pl (@all_functions): Update comment.
39486 * math/gen-libm-test.pl (parse_args): Apply special handling for
39487 issignaling.
39488 * math/libm-test.inc (print_float, issignaling_test): New
39489 functions.
39490 (check_float_internal): Add issignaling checks.
39491 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
39492 default definition.
39493 * sysdeps/powerpc/math-tests.h: New file.
39494 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
39495 tests.
39496 * math/test-snan.c (TEST_FUNC): Likewise.
39497
39498 2013-03-30 David S. Miller <davem@davemloft.net>
39499
39500 * po/de.po: Update from translation team.
39501
39502 2013-03-30 Joseph Myers <joseph@codesourcery.com>
39503
39504 [BZ #10357]
39505 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39506 imaginary part less than 1.0 and real part less than 0.5
39507 specially.
39508 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39509 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39510 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
39511 (cacos_test): Add more tests.
39512 (casin_test): Likewise.
39513 (casinh_test): Likewise.
39514 * sysdeps/i386/fpu/libm-test-ulps: Update.
39515 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39516
39517 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39518
39519 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
39520 ONE with its value.
39521
39522 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
39523 (__pow_mp): Replace ONE and MONE with their values.
39524 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39525 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
39526 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39527 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
39528 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39529 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39530
39531 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
39532
39533 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
39534 (__pow_mp): Replace ZERO and MZERO with their values.
39535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39536 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39537 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
39538 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
39539 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39540 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
39541 (__sqr): Likewise.
39542
39543 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
39544
39545 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
39546
39547 2013-03-28 Roland McGrath <roland@hack.frob.com>
39548
39549 * include/stdlib.h [!SHARED] (__call_tls_dtors):
39550 Declare with __attribute__ ((weak)).
39551 * stdlib/exit.c (__libc_atexit) [!SHARED]:
39552 Call __call_tls_dtors only if it's not NULL.
39553
39554 2013-03-28 Roland McGrath <roland@hack.frob.com>
39555
39556 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
39557 didn't do it already, then set _dl_phdr and _dl_phnum based on the
39558 magic __ehdr_start linker symbol if it's defined.
39559 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
39560 them up here if it was already done.
39561
39562 * elf/dl-support.c (_dl_phdr): Make pointer to const.
39563 (_dl_aux_init): Use const in cast when setting it.
39564 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
39565 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
39566 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
39567
39568 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
39569 Declare them here.
39570 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
39571 * csu/libc-tls.c: Nor here.
39572 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
39573
39574 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
39575 (__libc_message): Never call vsyslog.
39576
39577 2013-03-28 Alan Modra <amodra@gmail.com>
39578
39579 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
39580 Define as empty.
39581 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
39582 Likewise.
39583
39584 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39585
39586 [BZ #15214]
39587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
39588 underflow.
39589 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39590
39591 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
39592
39593 [BZ #15304]
39594 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
39595 Don't add gid passed as argument.
39596
39597 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
39598
39599 2013-03-27 Joseph Myers <joseph@codesourcery.com>
39600
39601 [BZ #15307]
39602 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39603 imaginary part between 1.0 and 1.5 and real part less than 0.5
39604 specially.
39605 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39606 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39607 * math/libm-test.inc (cacos_test): Add more tests.
39608 (casin_test): Likewise.
39609 (casinh_test): Likewise.
39610 * sysdeps/i386/fpu/libm-test-ulps: Update.
39611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39612
39613 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39614
39615 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
39616 constants.
39617 (norm): Likewise.
39618 (denorm): Likewise.
39619 (__dbl_mp): Likewise.
39620 (add_magnitudes): Likewise.
39621 (sub_magnitudes): Likewise.
39622 (__add): Likewise.
39623 (__sub): Likewise.
39624 (__mul): Likewise.
39625 (__sqr): Likewise.
39626 (__inv): Likewise.
39627 (__dvd): Likewise.
39628
39629 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
39630 commented code.
39631 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
39632 (__dubcos): Likewise.
39633 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
39634 (__ieee754_acos): Likewise.
39635 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
39636 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
39637 (__exp1): Likewise.
39638 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
39639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
39640 (log1): Likewise.
39641 (my_log2): Likewise.
39642 (checkint): Likewise.
39643 * sysdeps/ieee754/dbl-64/e_remainder.c
39644 (__ieee754_remainder): Likewise.
39645 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
39646 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
39647 (bsloww): Likewise.
39648 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
39649
39650 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
39651 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
39652 MANTISSA_STORE_T to store computations on mantissa. Use
39653 macros for rounding and division.
39654 (denorm): Likewise.
39655 (__dbl_mp): Likewise.
39656 (add_magnitudes): Likewise.
39657 (sub_magnitudes): Likewise.
39658 (__mul): Likewise.
39659 (__sqr): Likewise.
39660 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
39661 powers of two in terms of TWOPOW macro.
39662 (mp_no): Make type of mantissa as MANTISSA_T.
39663 [!RADIXI]: Define RADIXI.
39664 [!TWO52]: Define TWO52.
39665 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
39666
39667 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39668
39669 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
39670 llroundl symbol when building for PPC32.
39671
39672 2013-03-24 Mark H Weaver <mhw@netris.org>
39673
39674 * manual/arith.texi (Normalization Functions): Fix prototypes for
39675 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
39676
39677 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39678
39679 [BZ #13889]
39680 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
39681 high value to check if expl overflow.
39682 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
39683 to check for underflow and overflow.
39684 * math/libm-test.inc: Add exp test.
39685
39686 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
39687
39688 [BZ #11120]
39689 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
39690 with NOT_IN_libc.
39691
39692 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39693
39694 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
39695 symbol.
39696
39697 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
39698
39699 * math/gen-libm-test.pl (parse_args, special_functions): Properly
39700 wrap blocks consisting of several statements.
39701
39702 * sysdeps/generic/math-tests.h: New file.
39703 * sysdeps/i386/fpu/math-tests.h: Likewise.
39704 * math/test-snan.c: Include it.
39705 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
39706
39707 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39708
39709 [BZ #15285]
39710 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
39711 (__ieee754_j0l): Do not improve calculations using cos of twice
39712 input for inputs above LDBL_MAX / 2.0L.
39713 (__ieee754_y0l): Likewise.
39714 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
39715 (__ieee754_j1l): Do not improve calculations using cos of twice
39716 input for inputs above LDBL_MAX / 2.0L.
39717 (__ieee754_y1l): Likewise.
39718 * math/libm-test.inc (j0_test): Add another test.
39719 (j1_test): Likewise.
39720 (y0_test): Likewise.
39721 (y1_test): Likewise.
39722 * sysdeps/i386/fpu/libm-test-ulps: Update.
39723
39724 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39725
39726 * Rules ($(objpfx)bench-%.c): Include code from a C source
39727 file.
39728
39729 2013-03-21 Joseph Myers <joseph@codesourcery.com>
39730
39731 [BZ #15287]
39732 * math/k_casinh.c (__kernel_casinh): Handle arguments with
39733 imaginary part 1.0 and real part less than 0.5 specially.
39734 * math/k_casinhf.c (__kernel_casinhf): Likewise.
39735 * math/k_casinhl.c (__kernel_casinhl): Likewise.
39736 * math/libm-test.inc (cacos_test): Add more tests.
39737 (casin_test): Likewise.
39738 (casinh_test): Likewise.
39739 * sysdeps/i386/fpu/libm-test-ulps: Update.
39740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39741
39742 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
39743
39744 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
39745 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
39746
39747 2013-03-20 Joseph Myers <joseph@codesourcery.com>
39748
39749 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
39750 * config.make.in (config-cflags-sse4): Remove variable.
39751 (config-cflags-avx): Likewise.
39752 (config-cflags-sse2avx): Likewise.
39753 (config-cflags-novzeroupper): Likewise.
39754 (config-asflags-i686): Likewise.
39755 (have-mfma4): Likewise.
39756 (have-as-vis3): Likewise.
39757 (MIG): Likewise.
39758 * configure.in (MIG): Do not AC_SUBST.
39759 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
39760 (libc_cv_cc_sse4): Do not AC_SUBST.
39761 (libc_cv_cc_avx): Likewise.
39762 (libc_cv_cc_sse2avx): Likewise.
39763 (libc_cv_cc_novzeroupper): Likewise.
39764 (libc_cv_cc_fma4): Likewise.
39765 (libc_cv_as_i686): Likewise.
39766 (libc_cv_sparc_as_vis3): Likewise.
39767 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
39768 LIBC_CONFIG_VAR.
39769 (config-asflags-i686): Likewise.
39770 (config-cflags-avx): Likewise.
39771 (config-cflags-sse2avx): Likewise.
39772 (have-mfma4): Likewise.
39773 (config-cflags-novzeroupper): Likewise.
39774 * sysdeps/mach/configure.in (MIG): Likewise.
39775 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
39776 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
39777 LIBC_CONFIG_VAR.
39778 (config-cflags-avx): Likewise.
39779 (config-cflags-sse2avx): Likewise.
39780 (have-mfma4): Likewise.
39781 (config-cflags-novzeroupper): Likewise.
39782 * configure: Regenerated.
39783 * sysdeps/i386/configure: Likewise.
39784 * sysdeps/mach/configure: Likewise.
39785 * sysdeps/sparc/configure: Likewise.
39786 * sysdeps/x86_64/configure: Likewise.
39787
39788 2013-03-20 Roland McGrath <roland@hack.frob.com>
39789
39790 [BZ #14812]
39791 * locale/programs/localedef.c (options): Put N_ translation marker
39792 on argument names, not just descriptions.
39793
39794 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
39795
39796 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
39797
39798 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
39799
39800 [BZ #14176]
39801 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
39802
39803 2013-03-19 Roland McGrath <roland@hack.frob.com>
39804
39805 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
39806 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
39807 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
39808 [!BEFORE_ABORT] (before_abort): New function.
39809 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
39810 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
39811 (writev_for_fatal): New function.
39812 (WRITEV_FOR_FATAL): New macro; call that.
39813 (backtrace_and_maps): New function.
39814 (BEFORE_ABORT): New macro; call that.
39815 (struct str_list): Type removed.
39816 (__libc_message, __libc_fatal): Functions removed.
39817 Include <sysdeps/posix/libc_fatal.c> instead.
39818
39819 2013-03-19 Joseph Myers <joseph@codesourcery.com>
39820
39821 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
39822 constants.
39823 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
39824 double constants.
39825
39826 2013-03-19 Andreas Schwab <schwab@suse.de>
39827
39828 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
39829 * sysdeps/gnu/configure: Regenerate.
39830
39831 * configure.in: Substitute libc_cv_rtlddir.
39832 * configure: Regenerate.
39833 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
39834 * Makeconfig (rtlddir, inst_rtlddir): New variables.
39835 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
39836 * elf/Makefile (install-others, CFLAGS-interp.c)
39837 (ldso_install, common-ldd-rewrite): Likewise.
39838 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
39839 $(inst_slibdir)/$(rtld-installed-name).
39840 * scripts/rellns-sh: Add -p option.
39841 * Makerules (make-shlib-link): Use rellns-sh to get relative name
39842 for source.
39843
39844 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39845
39846 * manual/nptl.texi: Renamed to ...
39847 * manual/threads.texi: ... this.
39848 * manual/Makefile (chapters): Update.
39849
39850 2013-03-18 Roland McGrath <roland@hack.frob.com>
39851
39852 [BZ #14812]
39853 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
39854 on argument names, not just descriptions.
39855 * malloc/memusagestat.c (options): Likewise.
39856 * nss/getent.c (options): Likewise.
39857
39858 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
39859
39860 [BZ #14812]
39861 * iconv/iconv_prog.c (options): Put N_ translation marker
39862 on argument names, not just descriptions.
39863 * iconv/iconvconfig.c (options): Likewise.
39864
39865 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
39866
39867 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
39868 implementation which is faster on all x86_64 architectures.
39869 Tested on AMD, Intel Nehalem, SNB, IVB.
39870 * sysdeps/x86_64/strnlen.S: Likewise.
39871
39872 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
39873 Remove all multiarch strlen and strnlen versions.
39874 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
39875 Remove strlen and strnlen related parts.
39876
39877 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
39878 Inline strlen part.
39879 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
39880
39881 * sysdeps/x86_64/multiarch/strlen.S: Remove.
39882 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
39883 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
39884 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
39885 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
39886 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
39887
39888 2013-03-17 Carlos O'Donell <carlos@redhat.com>
39889
39890 * manual/memory.texi (Malloc Tunable Parameters):
39891 Sort parameters alphabetically. Add comments for missing entries.
39892
39893 2013-03-17 David S. Miller <davem@davemloft.net>
39894
39895 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39896
39897 2013-03-16 Joseph Myers <joseph@codesourcery.com>
39898
39899 [BZ #15283]
39900 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
39901 for arguments at most half maximum finite value.
39902 * math/libm-test.inc (j0_test): Add more tests.
39903 (j1_test): Likewise.
39904 (y0_test): Likewise.
39905 (y1_test): Likewise.
39906 * sysdeps/i386/fpu/libm-test-ulps: Update.
39907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39908
39909 [BZ #14155]
39910 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
39911 1 / x and functions P and Q for arguments above 0x1p256L.
39912 (__ieee754_y0l): Likewise.
39913 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
39914 (__ieee754_y1l): Likewise.
39915 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
39916 (j1_test): Likewise.
39917 (y0_test): Likewise.
39918 (y1_test): Likewise.
39919
39920 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
39921
39922 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
39923 variable.
39924
39925 2013-03-15 Roland McGrath <roland@hack.frob.com>
39926
39927 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
39928 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
39929 zero since it's initialized to EXEC_PAGESIZE.
39930
39931 * sysdeps/unix/sysv/linux/ldsodefs.h
39932 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
39933 * sysdeps/generic/ldsodefs.h: ... here.
39934
39935 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
39936
39937 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
39938
39939 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
39940 math/test-snan.c.
39941 * math/test-snan.c: Renamed from
39942 sysdeps/powerpc/fpu/test-powerpc-snan.c.
39943 * math/Makefile (tests): Add test-snan.
39944 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
39945 test-powerpc-snan.
39946
39947 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
39948 SUFFIX. Initialize qNaN_var with __builtin_nan family of
39949 functions.
39950 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
39951 __builtin_nan family of functions.
39952 * math/libm-test.inc (initialize): Initialize qnan_value with
39953 __builtin_nan family of functions.
39954 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
39955 Remove variables.
39956 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
39957 Remove functions.
39958 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
39959 storage class. Initialize qNaN_var and sNaN_var with
39960 __builtin_nan and __builtin_nans families of functions,
39961 respectively.
39962
39963 * math/libm-test.inc (acosh_test): Also test with qNaN input.
39964 (sqrt_test): Remove duplicate test with qNaN input.
39965 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
39966 (round_test, signbit_test, significand_test): Note missing +/-Inf
39967 as well as qNaN tests.
39968
39969 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
39970 qNaN_var. Fix a few strings, too.
39971 * math/libm-test.inc (nan_value): Rename to qnan_value.
39972 * math/gen-libm-test.pl (%beautify): Adjust to that.
39973 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
39974 * math/test-misc.c (main): Likewise.
39975 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
39976 to __qnan_bytes, and __qnan_union, respectively.
39977 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
39978 Likewise.
39979 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
39980 and lqnanval, respectively.
39981 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
39982 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
39983 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
39984 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
39985
39986 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
39987 * math/test-misc.c (main) [__x86_64__]: Enable test for long
39988 doubles.
39989
39990 * math/test-misc.c (main): Fix copy'n'pastos.
39991 * misc/tst-efgcvt.c (special): Likewise.
39992
39993 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
39994 Remove declarations.
39995
39996 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
39997
39998 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
39999 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
40000 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
40001 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
40002
40003 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40004
40005 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
40006 macro to return vdso values correctly in IFUNC implementations.
40007 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
40008 Optimization by using IFUNC.
40009
40010 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40011 Richard Henderson <rth@redhat.com>
40012 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40013
40014 * Makefile.in (bench): New target.
40015 * NEWS: Mention the benchmark framework.
40016 * Rules (bench): Likewise.
40017 (binaries-bench): Generate binaries for functions to
40018 benchmark.
40019 * benchtests/Makefile: New makefile for benchmark tests.
40020 * benchtests/bench-skeleton.c: New skeleton file for benchmark
40021 programs.
40022 * benchtests/exp-inputs: New input file for EXP function.
40023 * benchtests/pow-inputs: New input file for POW function.
40024 * scripts/bench.pl: New script to generate source files for
40025 benchmark programs.
40026
40027 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
40028
40029 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
40030 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
40031 computations on mantissa. Use macros for rounding and
40032 division.
40033 (denorm): Likewise.
40034 (__dbl_mp): Likewise.
40035 (add_magnitudes): Likewise.
40036 (sub_magnitudes): Likewise.
40037 (__mul): Likewise.
40038 (__sqr): Likewise.
40039 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
40040 powers of two in terms of TWOPOW macro.
40041 (mp_no): Make type of mantissa as MANTISSA_T.
40042 [!RADIXI]: Define RADIXI.
40043 [!TWO52]: Define TWO52.
40044 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
40045
40046 * manual/nptl.texi (cindex): Modify threads to pthreads.
40047
40048 2013-03-15 Joseph Myers <joseph@codesourcery.com>
40049
40050 * sysdeps/x86_64/preconfigure: Regenerated.
40051
40052 2013-03-14 Joseph Myers <joseph@codesourcery.com>
40053
40054 [BZ #14155]
40055 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
40056 0x1p28 and above.
40057 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
40058 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
40059 0x1p28 and above.
40060 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
40061 * math/libm-test.inc (j0_test): Do not allow one spurious
40062 underflow exception.
40063 (y1_test): Likewise.
40064
40065 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
40066
40067 * manual/Makefile (chapters): Add nptl.
40068 * manual/debug.texi (Debugging Support): Add link to Threads
40069 chapter.
40070 * manual/nptl.texi: New file.
40071
40072 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
40073
40074 2013-03-14 Petr Baudis <pasky@ucw.cz>
40075
40076 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
40077 for non-NULL pointer before the memory validity test. Pointed
40078 out by Holger Brunck <holger.brunck@keymile.com>.
40079
40080 2013-03-13 Andreas Schwab <schwab@suse.de>
40081
40082 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
40083 instead of .os.
40084
40085 2013-03-13 Joseph Myers <joseph@codesourcery.com>
40086
40087 * timezone/zic.c: Update from tzcode 2013b.
40088
40089 2013-03-12 Carlos O'Donell <carlos@redhat.com>
40090
40091 * manual/install.texi (Configuring and compiling):
40092 Mention i686 and i586.
40093 * INSTALL: Regenerate.
40094
40095 2013-03-12 Roland McGrath <roland@hack.frob.com>
40096
40097 * sysdeps/init_array/elf-init.c: New file.
40098 * csu/elf-init.c
40099 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
40100 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
40101
40102 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
40103 __gmon_start__ as global, but as static with a .preinit_array pointer.
40104 * sysdeps/init_array/gmon-start.c: New file. Use that.
40105 * sysdeps/init_array/crti.S: New file, empty except for comments.
40106 * sysdeps/init_array/crtn.S: Likewise.
40107
40108 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
40109
40110 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
40111 definining bcopy.
40112 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40113 Remove Prefer_SSE_for_memop.
40114 * sysdeps/x86_64/multiarch/init-arch.h: Remove
40115 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
40116 HAS_PREFER_SSE_FOR_MEMOP.
40117 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
40118 memset-x86-64.
40119 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
40120 Remove bzero, memset ifunc support.
40121 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
40122 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
40123 * sysdeps/x86_64/multiarch/memset.S: Likewise.
40124 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40125
40126 2013-03-11 Andreas Schwab <schwab@suse.de>
40127
40128 [BZ #15234]
40129 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
40130 by SHLIB_COMPAT.
40131 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
40132 (GLIBC_2.16): Remove pthread_atfork.
40133
40134 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
40135
40136 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
40137 (ptestcases.h): Likewise.
40138
40139 2013-03-08 Roland McGrath <roland@hack.frob.com>
40140
40141 * Makeconfig ($(common-objpfx)config.status): Depend on
40142 sysdeps/*/preconfigure{,.in} too.
40143
40144 2013-03-08 Joseph Myers <joseph@codesourcery.com>
40145
40146 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
40147 (__free_hook): Use void * instead of __malloc_ptr_t.
40148 (__malloc_hook): Likewise.
40149 (__realloc_hook): Likewise.
40150 (__memalign_hook): Likewise.
40151 (__after_morecore_hook): Likewise.
40152 * malloc/arena.c (save_malloc_hook): Likewise.
40153 (save_free_hook): Likewise.
40154 * malloc/hooks.c (malloc_hook_ini): Likewise.
40155 (realloc_hook_ini): Likewise.
40156 (memalign_hook_ini): Likewise.
40157 * malloc/malloc.c (malloc_hook_ini): Likewise.
40158 (realloc_hook_ini): Likewise.
40159 (memalign_hook_ini): Likewise.
40160 (__free_hook): Likewise.
40161 (__malloc_hook): Likewise.
40162 (__realloc_hook): Likewise.
40163 (__memalign_hook): Likewise.
40164 (__libc_malloc): Likewise.
40165 (__libc_free): Likewise.
40166 (__libc_realloc): Likewise.
40167 (__libc_memalign): Likewise.
40168 (__libc_valloc): Likewise.
40169 (__libc_pvalloc): Likewise.
40170 (__libc_calloc): Likewise.
40171 (__posix_memalign): Likewise.
40172 * malloc/morecore.c (__sbrk): Likewise.
40173 (__default_morecore): Likewise.
40174
40175 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
40176
40177 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
40178 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
40179 __malloc_ptrdiff_t.
40180
40181 * malloc/malloc.h (__malloc_size_t): Remove macro.
40182 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
40183 __malloc_size_t.
40184 (old_memalign_hook): Likewise.
40185 (old_realloc_hook): Likewise.
40186 (struct hdr): Likewise.
40187 (flood): Likewise.
40188 (mallochook): Likewise.
40189 (memalignhook): Likewise.
40190 (reallochook): Likewise.
40191 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
40192 (tr_old_realloc_hook): Likewise.
40193 (tr_old_memalign_hook): Likewise.
40194 (tr_mallochook): Likewise.
40195 (tr_reallochook): Likewise.
40196 (tr_memalignhook): Likewise.
40197
40198 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40199
40200 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
40201 default_ldbl_pack and using as default implementation.
40202 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
40203 implementation.
40204 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
40205 redundant definition.
40206 (ldbl_insert_mantissa): Likewise.
40207 (ldbl_canonicalize): Likewise.
40208 (ldbl_nearbyint): Likewise.
40209 (ldbl_pack): Rename to ldbl_pack_ppc.
40210 (ldbl_unpack): Rename to ldbl_unpack_ppc.
40211 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
40212 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
40213
40214 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
40215
40216 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
40217 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
40218 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
40219 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
40220 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
40221 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
40222 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
40223 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
40224
40225 2013-03-07 Andreas Jaeger <aj@suse.de>
40226
40227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40228 bits/mman-linux.h.
40229
40230 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
40231
40232 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
40233 Include mpa.h and declare __MPEXP.
40234 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
40235 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40236 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40237 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
40238 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40239 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
40240 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
40241
40242 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
40243 (__slowpow): Use long double EXPL and LOGL functions to
40244 compute POW.
40245 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
40246 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40247 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
40248 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
40249 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
40250 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
40251
40252 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
40253 intermediate variable to calculate exponent.
40254 (__sqr): Likewise.
40255 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
40256 Likewise.
40257 (__sqr): Likewise.
40258
40259 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
40260 [!NO__SQR]: Define __sqr.
40261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
40262 and NO__SQR. Remove all code except __mul and __sqr. Include
40263 sysdeps/ieee754/dbl-64/mpa.c.
40264 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
40265
40266 [BZ #12723]
40267 * posix/Makefile (tests): Add tst-pathconf.
40268 * posix/tst-pathconf.c: New test case.
40269 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
40270 _PC_PIPE_BUF.
40271 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
40272
40273 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
40274
40275 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
40276
40277 2013-03-06 Andreas Jaeger <aj@suse.de>
40278
40279 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
40280 definition via __MAP_ANONYMOUS.
40281
40282 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
40283 it's not part of Linux headers.
40284
40285 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
40286 (MAP_HUGE_MASK): Define.
40287
40288 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40289 Define.
40290 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40291 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40292 Define.
40293 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40294 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
40295 Define.
40296 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
40298 Define.
40299 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
40300
40301 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
40302 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
40303 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
40304 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
40305 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
40306 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
40307
40308 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
40309 Handle f2fs.
40310
40311 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
40312 Handle f2fs and efivarfs.
40313
40314 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
40315 f2fs.
40316
40317 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
40318 (EFIVARFS_MAGIC): Add.
40319 (F2FS_LINK_MAX): Add.
40320
40321 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40322
40323 * stdio-common/vfprintf.c: Replace __builtin_expect with
40324 __glibc_unlikely.
40325
40326 2013-03-06 Joseph Myers <joseph@codesourcery.com>
40327
40328 [BZ #13550]
40329 * sysdeps/generic/bp-sym.h: Remove file.
40330 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
40331 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
40332 <bp-sym.h> and <bp-asm.h>.
40333 (__longjmp): Don't use BP_SYM.
40334 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
40335 and <bp-asm.h>.
40336 (memcpy): Don't use BP_SYM.
40337 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
40338 <bp-sym.h> and <bp-asm.h>.
40339 (memcpy): Don't use BP_SYM.
40340 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
40341 <bp-asm.h>.
40342 (memcpy): Don't use BP_SYM.
40343 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
40344 <bp-asm.h>.
40345 (memset): Don't use BP_SYM.
40346 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40347 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40348 (__bzero): Don't use BP_SYM.
40349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40351 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
40352 <bp-sym.h> and <bp-asm.h>.
40353 (memcmp): Don't use BP_SYM. Remove comment about bounded
40354 pointers.
40355 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
40356 <bp-sym.h> and <bp-asm.h>.
40357 (memcpy): Don't use BP_SYM.
40358 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
40359 <bp-sym.h> and <bp-asm.h>.
40360 (memset): Don't use BP_SYM.
40361 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40362 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40363 (__bzero): Don't use BP_SYM.
40364 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40365 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40366 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
40367 <bp-sym.h> and <bp-asm.h>.
40368 (strncmp): Don't use BP_SYM. Remove comment about bounded
40369 pointers.
40370 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
40371 <bp-sym.h> and <bp-asm.h>.
40372 (memcpy): Don't use BP_SYM.
40373 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
40374 <bp-sym.h> and <bp-asm.h>.
40375 (memset): Don't use BP_SYM.
40376 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40377 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40378 (__bzero): Don't use BP_SYM.
40379 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40380 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40381 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
40382 <bp-sym.h> and <bp-asm.h>.
40383 (__memchr): Don't use BP_SYM.
40384 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
40385 <bp-sym.h> and <bp-asm.h>.
40386 (memcmp): Don't use BP_SYM. Remove comment about bounded
40387 pointers.
40388 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
40389 <bp-sym.h> and <bp-asm.h>.
40390 (memcpy): Don't use BP_SYM.
40391 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
40392 <bp-sym.h> and <bp-asm.h>.
40393 (__mempcpy): Don't use BP_SYM.
40394 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
40395 <bp-sym.h> and <bp-asm.h>.
40396 (__memrchr): Don't use BP_SYM.
40397 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
40398 <bp-sym.h> and <bp-asm.h>.
40399 (memset): Don't use BP_SYM.
40400 (__bzero): Likewise.
40401 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
40402 <bp-sym.h> and <bp-asm.h>.
40403 (__rawmemchr): Don't use BP_SYM.
40404 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
40405 <bp-sym.h> and <bp-asm.h>.
40406 (__STRCMP): Don't use BP_SYM.
40407 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
40408 <bp-sym.h> and <bp-asm.h>.
40409 (strchr): Don't use BP_SYM.
40410 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
40411 <bp-sym.h> and <bp-asm.h>.
40412 (__strchrnul): Don't use BP_SYM.
40413 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
40414 <bp-sym.h> and <bp-asm.h>.
40415 (strlen): Don't use BP_SYM.
40416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
40417 <bp-sym.h> and <bp-asm.h>.
40418 (strncmp): Don't use BP_SYM. Remove comment about bounded
40419 pointers.
40420 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
40421 <bp-sym.h> and <bp-asm.h>.
40422 (__strnlen): Don't use BP_SYM.
40423 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
40424 <bp-sym.h> and <bp-asm.h>.
40425 (__GI__setjmp): Don't use BP_SYM.
40426 (_setjmp): Likewise.
40427 (__sigsetjmp): Likewise.
40428 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
40429 (L(start_addresses)): Don't use BP_SYM.
40430 (_start): Likewise.
40431 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
40432 <bp-asm.h>.
40433 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
40434 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
40435 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40436 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40437 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
40438 <bp-asm.h>.
40439 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
40440 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
40441 about bounded pointers.
40442 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40443 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40444 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
40445 <bp-asm.h>.
40446 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
40447 about bounded pointers. Remove GKM FIXME comments.
40448 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40449 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
40450 <bp-asm.h>.
40451 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
40452 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
40453 Remove GKM FIXME comments.
40454 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40455 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40456 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
40457 <bp-asm.h>.
40458 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
40459 about bounded pointers. Remove GKM FIXME comment.
40460 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
40461 and <bp-asm.h>.
40462 (strncmp): Don't use BP_SYM. Remove comment about bounded
40463 pointers.
40464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
40465 <bp-sym.h> and <bp-asm.h>.
40466 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
40468 <bp-sym.h> and <bp-asm.h>.
40469 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40470 comment.
40471
40472 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40473
40474 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
40475 call free(NULL).
40476
40477 2013-03-05 David S. Miller <davem@davemloft.net>
40478
40479 * po/es.po: Update from translation team.
40480
40481 2013-03-05 Andreas Jaeger <aj@suse.de>
40482
40483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
40484 <bits/mman-linux.h>.
40485 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40486 is fine.
40487 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
40488 <bits/mman-linux.h> to end of file.
40489 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40490 is fine.
40491 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
40492 <bits/mman-linux.h> to end of file.
40493 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
40494 is fine.
40495 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
40496 <bits/mman-linux.h> to end of file.
40497
40498 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
40499 (MCL_CURRENT, MCL_FUTURE): Define here.
40500
40501 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40502
40503 [BZ #15232]
40504 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
40505 attribute_hidden.
40506 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40507
40508 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40509
40510 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
40511 fourth parameter needed for rt_sigprocmask syscall.
40512 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
40513 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
40514 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
40515 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
40516 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
40517 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
40518
40519 2013-03-04 Joseph Myers <joseph@codesourcery.com>
40520
40521 [BZ #13550]
40522 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
40523 comment about bounded pointers.
40524 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
40525 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
40526
40527 2013-03-04 Andreas Jaeger <aj@suse.de>
40528
40529 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
40530 common definitions.
40531
40532 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
40533 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
40534 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
40535 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
40536 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
40537 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
40538
40539 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40540
40541 [BZ #15055]
40542 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
40543 __ieee754_sqrl instead of __sqrl.
40544
40545 2013-03-01 Joseph Myers <joseph@codesourcery.com>
40546
40547 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
40548 * sysdeps/powerpc/fpu_control.h: ... here.
40549 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
40550 * sysdeps/powerpc/bits/fenvinline.h: ... here.
40551 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
40552 * sysdeps/powerpc/bits/mathinline.h: ... here.
40553
40554 2013-03-01 Roland McGrath <roland@hack.frob.com>
40555
40556 * elf/dl-hwcaps.c (_dl_important_hwcaps):
40557 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
40558 to just [NEED_DL_SYSINFO_DSO].
40559 * elf/dl-support.c: Likewise.
40560 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
40561 * elf/rtld.c (dl_main): Likewise.
40562 * elf/setup-vdso.h (setup_vdso): Likewise.
40563 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
40564 * sysdeps/unix/sysv/linux/dl-sysdep.c
40565 (_dl_discover_osversion): Likewise.
40566
40567 2013-03-01 Carlos O'Donell <carlos@redhat.com>
40568
40569 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
40570 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40571
40572 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
40573
40574 * NEWS: Mention libm performance improvements and non-x86 PI
40575 futex support.
40576
40577 * csu/libc-start.c (__pthread_initialize_minimal): Change
40578 function arguments.
40579 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
40580
40581 2013-02-28 Joseph Myers <joseph@codesourcery.com>
40582
40583 [BZ #13550]
40584 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
40585 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
40586 <bp-sym.h> and <bp-asm.h>.
40587 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40588 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
40589 and <bp-asm.h>.
40590 (memcpy): Don't use BP_SYM.
40591 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
40592 <bp-asm.h>.
40593 (__mpn_add_n): Don't use BP_SYM.
40594 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
40595 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
40596 and <bp-asm.h>.
40597 (__mpn_addmul_1): Don't use BP_SYM.
40598 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40599 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
40600 <bp-sym.h>.
40601 (_setjmp): Don't use BP_SYM.
40602 (__novmx_setjmp): Likewise.
40603 (__GI__setjmp): Likewise.
40604 (__vmx_setjmp): Likewise.
40605 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
40606 <bp-sym.h>.
40607 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
40608 (__bzero): Don't use BP_SYM.
40609 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
40610 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
40611 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
40612 <bp-sym.h> and <bp-asm.h>.
40613 (memcpy): Don't use BP_SYM.
40614 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
40615 <bp-sym.h> and <bp-asm.h>.
40616 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40617 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
40618 <bp-sym.h> and <bp-asm.h>.
40619 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
40620 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
40621 <bp-asm.h>.
40622 (__mpn_lshift): Don't use BP_SYM.
40623 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40624 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
40625 <bp-asm.h>.
40626 (memset): Don't use BP_SYM.
40627 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
40628 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
40629 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
40630 <bp-asm.h>.
40631 (__mpn_mul_1): Don't use BP_SYM.
40632 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40633 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
40634 <bp-sym.h> and <bp-asm.h>.
40635 (memcmp): Don't use BP_SYM.
40636 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
40637 <bp-sym.h> and <bp-asm.h>.
40638 (memcpy): Don't use BP_SYM.
40639 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
40640 <bp-sym.h> and <bp-asm.h>.
40641 (memset): Don't use BP_SYM.
40642 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
40643 <bp-sym.h> and <bp-asm.h>.
40644 (strncmp): Don't use BP_SYM.
40645 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
40646 <bp-sym.h> and <bp-asm.h>.
40647 (memcpy): Don't use BP_SYM.
40648 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
40649 <bp-sym.h> and <bp-asm.h>.
40650 (memset): Don't use BP_SYM.
40651 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
40652 <bp-sym.h> and <bp-asm.h>.
40653 (__memchr): Don't use BP_SYM.
40654 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
40655 <bp-sym.h> and <bp-asm.h>.
40656 (memcmp): Don't use BP_SYM.
40657 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
40658 <bp-sym.h> and <bp-asm.h>.
40659 (memcpy): Don't use BP_SYM.
40660 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
40661 <bp-sym.h> and <bp-asm.h>.
40662 (__mempcpy): Don't use BP_SYM.
40663 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
40664 <bp-sym.h> and <bp-asm.h>.
40665 (__memrchr): Don't use BP_SYM.
40666 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
40667 <bp-sym.h> and <bp-asm.h>.
40668 (memset): Don't use BP_SYM.
40669 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
40670 <bp-sym.h> and <bp-asm.h>.
40671 (__rawmemchr): Don't use BP_SYM.
40672 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
40673 <bp-sym.h> and <bp-asm.h>.
40674 (__STRCMP): Don't use BP_SYM.
40675 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
40676 <bp-sym.h> and <bp-asm.h>.
40677 (strchr): Don't use BP_SYM.
40678 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
40679 <bp-sym.h> and <bp-asm.h>.
40680 (__strchrnul): Don't use BP_SYM.
40681 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
40682 <bp-sym.h> and <bp-asm.h>.
40683 (strlen): Don't use BP_SYM.
40684 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
40685 <bp-sym.h> and <bp-asm.h>.
40686 (strncmp): Don't use BP_SYM.
40687 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
40688 <bp-sym.h> and <bp-asm.h>.
40689 (__strnlen): Don't use BP_SYM.
40690 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
40691 <bp-asm.h>.
40692 (__mpn_rshift): Don't use BP_SYM.
40693 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
40694 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
40695 <bp-sym.h> and <bp-asm.h>.
40696 (__sigsetjmp): Don't use BP_SYM.
40697 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
40698 (L(start_addresses)): Don't use BP_SYM.
40699 (_start): Likewise.
40700 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
40701 <bp-asm.h>.
40702 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
40703 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40704 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40705 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
40706 <bp-asm.h>.
40707 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
40708 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
40709 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
40710 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
40711 <bp-asm.h>.
40712 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40713 comments.
40714 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
40715 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
40716 <bp-asm.h>.
40717 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
40718 FIXME comments.
40719 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
40720 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
40721 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
40722 <bp-asm.h>.
40723 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
40724 comment.
40725 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
40726 and <bp-asm.h>.
40727 (strncmp): Don't use BP_SYM,
40728 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
40729 <bp-asm.h>.
40730 (__mpn_sub_n): Don't use BP_SYM.
40731 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
40732 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
40733 and <bp-asm.h>.
40734 (__mpn_submul_1): Don't use BP_SYM.
40735 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
40736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
40737 <bp-sym.h> and <bp-asm.h>.
40738 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
40739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
40740 <bp-sym.h> and <bp-asm.h>.
40741 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
40742 comment.
40743
40744 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
40745
40746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
40747 Use ZK to minimize writes to Z.
40748 (sub_magnitudes): Simplify code a bit.
40749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
40750 Use ZK to minimize writes to Z.
40751 (sub_magnitudes): Simplify code a bit.
40752
40753 2013-02-27 Roland McGrath <roland@hack.frob.com>
40754
40755 * csu/gmon-start.c: Add special exception to license text.
40756
40757 2013-02-27 Richard Henderson <rth@redhat.com>
40758
40759 * scripts/config.guess: Update from config.git.
40760 * scripts/config.sub: Likewise.
40761
40762 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
40763
40764 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
40765
40766 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
40767
40768 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
40769
40770 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
40771
40772 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
40773
40774 2013-02-26 Roland McGrath <roland@hack.frob.com>
40775
40776 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
40777 [$(build-shared = yes].
40778
40779 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40780
40781 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
40782 (__mul): Reduce iterations for calculating mantissa.
40783
40784 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
40785 MPTWO.
40786 (__mpranred): Likewise.
40787
40788 [BZ #15160]
40789 * malloc/memusagestat.c (main): Draw graphs for heap and stack
40790 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
40791
40792 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
40793
40794 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
40795 Define __attribute__.
40796
40797 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40798
40799 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
40800 unused.
40801 * posix/regex_internal.h (__attribute): Remove.
40802 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
40803 (re_string_context_at): Likewise.
40804 (bitset_not): Use __attribute__ and mark function as possibly
40805 unused.
40806 (bitset_merge): Likewise.
40807 (bitset_mask): Likewise.
40808 (re_string_char_size_at): Likewise.
40809 (re_string_wchar_at): Likewise.
40810 (re_string_elem_size_at): Likewise.
40811
40812 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
40813
40814 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
40815 code.
40816 (cc32): Likewise.
40817
40818 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
40819 (__acr): Likewise.
40820 (__cpy): Likewise.
40821 (norm): Likewise.
40822 (denorm): Likewise.
40823 (__dbl_mp): Likewise.
40824 (add_magnitudes): Likewise.
40825 (sub_magnitudes): Likewise.
40826 (__mul): Likewise.
40827 (__inv): Likewise.
40828
40829 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
40830 style.
40831
40832 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
40833 style.
40834
40835 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
40836 code.
40837
40838 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
40839 up changes with default code.
40840 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
40841 Likewise.
40842
40843 2013-02-24 Allan McRae <allan@archlinux.org>
40844
40845 * manual/socket.texi (The Internet Namespace): Order menu items
40846 to match that in the file.
40847
40848 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
40849 node listing of the info page menu.
40850
40851 2013-02-21 Joseph Myers <joseph@codesourcery.com>
40852
40853 [BZ #13550]
40854 * sysdeps/i386/bp-asm.h: Remove file.
40855 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
40856 (PARMS): Do not use macros from bp-asm.h.
40857 (S1): Likewise.
40858 (S2): Likewise.
40859 (SIZE): Likewise.
40860 (__mpn_add_n): Do not use BP_SYM
40861 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
40862 "bp-asm.h".
40863 (PARMS): Do not use macros from bp-asm.h.
40864 (S1): Likewise.
40865 (SIZE): Likewise.
40866 (__mpn_addmul_1): Do not use BP_SYM
40867 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
40868 "bp-asm.h".
40869 (PARMS): Do not use macros from bp-asm.h.
40870 (SIGMSK): Likewise.
40871 (_setjmp): Likewise. Do not use BP_SYM.
40872 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
40873 "bp-asm.h".
40874 (PARMS): Do not use macros from bp-asm.h.
40875 (SIGMSK): Likewise.
40876 (setjmp): Likewise. Do not use BP_SYM.
40877 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
40878 "bp-asm.h".
40879 (PARMS): Do not use macros from bp-asm.h.
40880 (__frexp): Do not use BP_SYM.
40881 (frexp): Likewise.
40882 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
40883 "bp-asm.h".
40884 (PARMS): Do not use macros from bp-asm.h.
40885 (__frexpf): Do not use BP_SYM.
40886 (frexpf): Likewise.
40887 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
40888 "bp-asm.h".
40889 (PARMS): Do not use macros from bp-asm.h.
40890 (__frexpl): Do not use BP_SYM.
40891 (frexpl): Likewise.
40892 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
40893 "bp-asm.h".
40894 (PARMS): Do not use macros from bp-asm.h.
40895 (__remquo): Do not use BP_SYM.
40896 (remquo): Likewise.
40897 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
40898 "bp-asm.h".
40899 (PARMS): Do not use macros from bp-asm.h.
40900 (__remquof): Do not use BP_SYM.
40901 (remquof): Likewise.
40902 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
40903 "bp-asm.h".
40904 (PARMS): Do not use macros from bp-asm.h.
40905 (__remquol): Do not use BP_SYM.
40906 (remquol): Likewise.
40907 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
40908 "bp-asm.h".
40909 (PARMS): Do not use macros from bp-asm.h.
40910 (DEST): Likewise.
40911 (SRC): Likewise.
40912 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
40913 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
40914 "bp-asm.h".
40915 (PARMS): Do not use macros from bp-asm.h.
40916 (strlen): Do not use BP_SYM.
40917 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
40918 "bp-asm.h".
40919 (PARMS): Do not use macros from bp-asm.h.
40920 (S1): Likewise.
40921 (S2): Likewise.
40922 (SIZE): Likewise.
40923 (__mpn_add_n): Do not use BP_SYM.
40924 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
40925 "bp-asm.h".
40926 (PARMS): Do not use macros from bp-asm.h.
40927 (S1): Likewise.
40928 (SIZE): Likewise.
40929 (__mpn_addmul_1): Do not use BP_SYM.
40930 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
40931 weak_alias.
40932 (bzero): Likewise.
40933 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
40934 "bp-asm.h".
40935 (PARMS): Do not use macros from bp-asm.h.
40936 (S): Likewise.
40937 (SIZE): Likewise.
40938 (__mpn_lshift): Do not use BP_SYM.
40939 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
40940 "bp-asm.h".
40941 (PARMS): Do not use macros from bp-asm.h.
40942 (DEST): Likewise.
40943 (SRC): Likewise.
40944 (LEN): Likewise.
40945 (memcpy): Likewise. Do not use BP_SYM.
40946 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
40947 libc_hidden_def and weak_alias.
40948 (mempcpy): Do not use BP_SYM in weak_alias.
40949 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
40950 "bp-asm.h".
40951 (PARMS): Do not use macros from bp-asm.h.
40952 (DEST): Likewise.
40953 (LEN): Likewise.
40954 [!BZERO_P] (CHR): Likewise.
40955 (memset): Likewise. Do not use BP_SYM.
40956 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
40957 "bp-asm.h".
40958 (PARMS): Do not use macros from bp-asm.h.
40959 (S1): Likewise.
40960 (SIZE): Likewise.
40961 (__mpn_mul_1): Do not use BP_SYM.
40962 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
40963 "bp-asm.h".
40964 (PARMS): Do not use macros from bp-asm.h.
40965 (S): Likewise.
40966 (SIZE): Likewise.
40967 (__mpn_rshift): Do not use BP_SYM.
40968 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
40969 "bp-asm.h".
40970 (PARMS): Do not use macros from bp-asm.h.
40971 (STR): Likewise.
40972 (CHR): Likewise.
40973 (strchr): Likewise. Do not use BP_SYM.
40974 (index): Do not use BP_SYM in weak_alias.
40975 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
40976 "bp-asm.h".
40977 (PARMS): Do not use macros from bp-asm.h.
40978 (DEST): Likewise.
40979 (SRC): Likewise.
40980 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
40981 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
40982 "bp-asm.h".
40983 (PARMS): Do not use macros from bp-asm.h.
40984 (strlen): Do not use BP_SYM.
40985 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
40986 "bp-asm.h".
40987 (PARMS): Do not use macros from bp-asm.h.
40988 (S1): Likewise.
40989 (S2): Likewise.
40990 (SIZE): Likewise.
40991 (__mpn_sub_n): Do not use BP_SYM.
40992 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
40993 "bp-asm.h".
40994 (PARMS): Do not use macros from bp-asm.h.
40995 (S1): Likewise.
40996 (SIZE): Likewise.
40997 (__mpn_submul_1): Do not use BP_SYM.
40998 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
40999 "bp-asm.h".
41000 (PARMS): Do not use macros from bp-asm.h.
41001 (S1): Likewise.
41002 (S2): Likewise.
41003 (SIZE): Likewise.
41004 (__mpn_add_n): Do not use BP_SYM.
41005 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
41006 weak_alias.
41007 (bzero): Likewise.
41008 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
41009 "bp-asm.h".
41010 (PARMS): Do not use macros from bp-asm.h.
41011 (BLK2): Likewise.
41012 (LEN): Likewise.
41013 (memcmp): Do not use BP_SYM.
41014 (bcmp): Do not use BP_SYM in weak_alias.
41015 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
41016 "bp-asm.h".
41017 (PARMS): Do not use macros from bp-asm.h.
41018 (DEST): Likewise.
41019 (SRC): Likewise.
41020 (LEN): Likewise.
41021 (memcpy): Likewise. Do not use BP_SYM.
41022 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
41023 "bp-asm.h".
41024 (PARMS): Do not use macros from bp-asm.h.
41025 (DEST): Likewise.
41026 (SRC): Likewise.
41027 (LEN): Likewise.
41028 (memmove): Likewise. Do not use BP_SYM.
41029 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
41030 "bp-asm.h".
41031 (PARMS): Do not use macros from bp-asm.h.
41032 (DEST): Likewise.
41033 (SRC): Likewise.
41034 (LEN): Likewise.
41035 (__mempcpy): Likewise. Do not use BP_SYM.
41036 (mempcpy): Do not use BP_SYM in weak_alias.
41037 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
41038 "bp-asm.h".
41039 (PARMS): Do not use macros from bp-asm.h.
41040 (DEST): Likewise.
41041 (LEN): Likewise.
41042 [!BZERO_P] (CHR): Likewise.
41043 (memset): Likewise. Do not use BP_SYM.
41044 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
41045 "bp-asm.h".
41046 (PARMS): Do not use macros from bp-asm.h.
41047 (STR2): Likewise.
41048 (strcmp): Do not use BP_SYM.
41049 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
41050 "bp-asm.h".
41051 (PARMS): Do not use macros from bp-asm.h.
41052 (STR): Likewise.
41053 (DELIM): Likewise.
41054 [USE_AS_STRTOK_R] (SAVE): Likewise.
41055 (FUNCTION): Likewise. Do not use BP_SYM.
41056 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
41057 aliases.
41058 (strtok_r): Likewise.
41059 (__GI___strtok_r): Likewise.
41060 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
41061 (PARMS): Do not use macros from bp-asm.h.
41062 (S): Likewise.
41063 (SIZE): Likewise.
41064 (__mpn_lshift): Do not use BP_SYM.
41065 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
41066 (PARMS): Do not use macros from bp-asm.h.
41067 (STR): Likewise.
41068 (CHR): Likewise.
41069 (__memchr): Do not use BP_SYM.
41070 (memchr): Do not use BP_SYM in weak_alias.
41071 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
41072 (PARMS): Do not use macros from bp-asm.h.
41073 (BLK2): Likewise.
41074 (LEN): Likewise.
41075 (memcmp): Do not use BP_SYM.
41076 (bcmp): Do not use BP_SYM in weak_alias.
41077 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
41078 (PARMS): Do not use macros from bp-asm.h.
41079 (S1): Likewise.
41080 (SIZE): Likewise.
41081 (__mpn_mul_1): Do not use BP_SYM.
41082 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
41083 "bp-asm.h".
41084 (PARMS): Do not use macros from bp-asm.h.
41085 (STR): Likewise.
41086 (CHR): Likewise.
41087 (__rawmemchr): Do not use BP_SYM.
41088 (rawmemchr): Do not use BP_SYM in weak_alias.
41089 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
41090 (PARMS): Do not use macros from bp-asm.h.
41091 (S): Likewise.
41092 (SIZE): Likewise.
41093 (__mpn_rshift): Do not use BP_SYM.
41094 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
41095 (PARMS): Do not use macros from bp-asm.h.
41096 (SIGMSK): Likewise.
41097 (__sigsetjmp): Likewise. Do not use BP_SYM.
41098 * sysdeps/i386/start.S: Do not include "bp-sym.h".
41099 (_start): Do not use BP_SYM.
41100 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
41101 (PARMS): Do not use macros from bp-asm.h.
41102 (DEST): Likewise.
41103 (SRC): Likewise.
41104 (__stpcpy): Likewise. Do not use BP_SYM.
41105 (stpcpy): Do not use BP_SYM in weak_alias.
41106 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
41107 "bp-asm.h".
41108 (PARMS): Do not use macros from bp-asm.h.
41109 (DEST): Likewise.
41110 (SRC): Likewise.
41111 (LEN): Likewise.
41112 (__stpncpy): Likewise. Do not use BP_SYM.
41113 (stpncpy): Do not use BP_SYM in weak_alias.
41114 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
41115 (PARMS): Do not use macros from bp-asm.h.
41116 (STR): Likewise.
41117 (CHR): Likewise.
41118 (strchr): Likewise. Do not use BP_SYM.
41119 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
41120 "bp-asm.h".
41121 (PARMS): Do not use macros from bp-asm.h.
41122 (STR): Likewise.
41123 (CHR): Likewise.
41124 (__strchrnul): Likewise. Do not use BP_SYM.
41125 (strchrnul): Do not use BP_SYM in weak_alias.
41126 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
41127 "bp-asm.h".
41128 (PARMS): Do not use macros from bp-asm.h.
41129 (STOP): Likewise.
41130 (strcspn): Do not use BP_SYM.
41131 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
41132 "bp-asm.h".
41133 (PARMS): Do not use macros from bp-asm.h.
41134 (STR): Likewise.
41135 (STOP): Likewise.
41136 (strpbrk): Likewise. Do not use BP_SYM.
41137 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
41138 "bp-asm.h".
41139 (PARMS): Do not use macros from bp-asm.h.
41140 (STR): Likewise.
41141 (CHR): Likewise.
41142 (strrchr): Likewise. Do not use BP_SYM.
41143 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
41144 (PARMS): Do not use macros from bp-asm.h.
41145 (SKIP): Likewise.
41146 (strspn): Do not use BP_SYM.
41147 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
41148 (PARMS): Do not use macros from bp-asm.h.
41149 (STR): Likewise.
41150 (DELIM): Likewise.
41151 (SAVE): Likewise.
41152 (FUNCTION): Likewise. Do not use BP_SYM.
41153 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
41154 aliases.
41155 (strtok_r): Likewise.
41156 (__GI___strtok_r): Likewise.
41157 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
41158 (PARMS): Do not use macros from bp-asm.h.
41159 (S1): Likewise.
41160 (S2): Likewise.
41161 (SIZE): Likewise.
41162 (__mpn_sub_n): Do not use BP_SYM.
41163 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
41164 "bp-asm.h".
41165 (PARMS): Do not use macros from bp-asm.h.
41166 (S1): Likewise.
41167 (SIZE): Likewise.
41168 (__mpn_submul_1): Do not use BP_SYM.
41169 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
41170 <bp-sym.h>.
41171 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
41172 and <bp-asm.h>.
41173 (PARMS): Do not use macros from bp-asm.h.
41174 (FLAGS): Likewise.
41175 (PTID): Likewise.
41176 (TLS): Likewise.
41177 (CTID): Likewise.
41178 (__clone): Do not use BP_SYM.
41179 (clone): Do not use BP_SYM in weak_alias.
41180 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
41181 and <bp-asm.h>.
41182 (PARMS): Do not use macros from bp-asm.h.
41183 (LEN): Likewise.
41184 (__mmap64): Do not use BP_SYM.
41185 (mmap64): Do not use BP_SYM in weak_alias.
41186 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
41187 <bp-sym.h> and <bp-asm.h>.
41188 (PARMS): Do not use macros from bp-asm.h.
41189 (__posix_fadvise64_l64): Do not use BP_SYM.
41190 * sysdeps/unix/sysv/linux/i386/semtimedop.S
41191 (PARMS): Do not use macros from bp-asm.h.
41192 (NSOPS): Likewise.
41193 (semtimedop): Do not use BP_SYM.
41194 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
41195 and <bp-asm.h>.
41196
41197 2013-02-21 Allan McRae <allan@archlinux.org>
41198
41199 * manual/message.texi (Charset conversion in gettext):
41200 Move @end statement to beginning of line.
41201
41202 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41203
41204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
41205 static.
41206 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
41207 Likewise.
41208
41209 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
41210 (denorm): Likewise.
41211 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
41212 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
41213
41214 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41215
41216 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
41217 tail-call to the resolved function if pltexit isn't needed.
41218
41219 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
41220
41221 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
41222 or Y being zero as being unlikely.
41223 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
41224 Likewise.
41225
41226 2013-02-20 Carlos O'Donell <carlos@redhat.com>
41227
41228 * manual/nss.texi (System Databases and Name Service Switch):
41229 Remove frobnicate @pxref.
41230
41231 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
41232
41233 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41234 __attribute__ ((unused)) to __attribute__ ((__unused__)).
41235
41236 2013-02-20 Petr Machata <pmachata@redhat.com>
41237
41238 * elf/elf.h (R_ARM_TARGET1): New macro.
41239 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
41240 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
41241 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
41242 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
41243 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
41244 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
41245 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
41246 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
41247 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
41248 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
41249 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
41250 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
41251 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
41252 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
41253 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
41254 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
41255 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
41256 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
41257 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
41258 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
41259 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
41260 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
41261 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
41262 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
41263 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
41264 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
41265 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
41266 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
41267 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
41268 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
41269 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
41270 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
41271 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
41272 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
41273 (R_ARM_THM_GOT_BREL12): Likewise.
41274 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
41275 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
41276 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
41277 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
41278 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
41279 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
41280 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
41281 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
41282 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
41283
41284 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
41285
41286 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
41287 __attribute_used__ to __attribute__ ((unused)).
41288
41289 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
41290
41291 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
41292 powerpc mpa.c.
41293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
41294 comment formatting.
41295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
41296
41297 2013-02-19 Joseph Myers <joseph@codesourcery.com>
41298
41299 [BZ #13550]
41300 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
41301 Remove macro.
41302 (ENTER): Remove both macro definitions.
41303 (LEAVE): Likewise.
41304 (CHECK_BOUNDS_LOW): Likewise.
41305 (CHECK_BOUNDS_HIGH): Likewise.
41306 (CHECK_BOUNDS_BOTH): Likewise.
41307 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
41308 (RETURN_BOUNDED_POINTER): Likewise.
41309 (RETURN_NULL_BOUNDED_POINTER): Likewise.
41310 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
41311 (POP_ERRNO_LOCATION_RETURN): Likewise.
41312 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
41313 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41314 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
41315 macros.
41316 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41317 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
41318 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
41319 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
41320 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
41321 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
41322 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
41323 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
41324 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
41325 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
41326 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
41327 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
41328 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41329 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
41330 removed macros.
41331 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41332 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
41333 macros.
41334 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41335 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
41336 * sysdeps/i386/i586/memset.S (memset): Likewise.
41337 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
41338 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41339 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
41340 macros.
41341 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41342 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
41343 Change uses of L(2) to L(out).
41344 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
41345 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
41346 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
41347 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41348 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
41349 removed macros.
41350 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41351 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
41352 macros.
41353 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41354 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
41355 (RETURN): Do not use macro LEAVE.
41356 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
41357 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
41358 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
41359 * sysdeps/i386/i686/memset.S (memset): Likewise.
41360 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
41361 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
41362 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
41363 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
41364 Likewise.
41365 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41366 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
41367 L(1_2) and L(1_3) into L(1).
41368 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41369 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
41370 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41371 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
41372 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
41373 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
41374 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
41375 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41376 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
41377 macros.
41378 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
41379 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
41380 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
41381 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
41382 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
41383 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
41384 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
41385 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
41386 * sysdeps/i386/strcspn.S (strcspn): Likewise.
41387 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
41388 * sysdeps/i386/strrchr.S (strrchr): Likewise.
41389 * sysdeps/i386/strspn.S (strspn): Likewise.
41390 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
41391 conditional code.
41392 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
41393 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
41394 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
41395 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
41396 L(1_3) into L(1_1).
41397 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
41398 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
41399 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
41400 macros.
41401 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
41402
41403 2013-02-19 Jakub Jelinek <jakub@redhat.com>
41404
41405 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
41406 macro.
41407
41408 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
41409
41410 * math/atest-exp.c (exp_mpn): Remove ROUND.
41411 * math/atest-exp2.c (exp_mpn): Likewise.
41412 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
41413
41414 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
41415 * stdlib/tst-tls-atexit-lib.c: Likewise.
41416 * stdlib/tst-tls-atexit.c: Likewise.
41417
41418 2013-02-18 Mike Frysinger <vapier@gentoo.org>
41419
41420 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
41421 and __attribute_alloc_size__.
41422
41423 2013-02-18 Mike Frysinger <vapier@gentoo.org>
41424
41425 * include/programs/xmalloc.h: Change __attribute_alloc_size to
41426 __attribute_alloc_size__.
41427 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
41428 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
41429
41430 2013-02-18 Mike Frysinger <vapier@gentoo.org>
41431
41432 * include/programs/xmalloc.h: New file.
41433 * catgets/gencat.c: Include it.
41434 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
41435 * elf/pldd.c: Likewise.
41436 * iconv/iconv_charmap.c: Likewise.
41437 * iconv/iconvconfig.c: Likewise.
41438 * iconv/strtab.c: Likewise.
41439 * locale/programs/locale.c: Likewise.
41440 * locale/programs/localedef.h: Likewise.
41441 * locale/programs/simple-hash.c: Likewise.
41442 * nscd/nscd.h: Likewise.
41443 * nss/makedb.c: Likewise.
41444 * sysdeps/generic/ldconfig.h: Likewise.
41445
41446 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
41447
41448 * Versions.def: Add GLIBC_2.18.
41449 * include/link.h (struct link_map): New member l_tls_dtor_count.
41450 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
41451 (__call_tls_dtors): Likewise.
41452 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
41453 __cxa_thread_atexit_impl.
41454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41455 Likewise.
41456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41457 Likewise.
41458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41459 Likewise.
41460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41461 Likewise.
41462 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41463 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
41464 Likewise.
41465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
41466 Likewise.
41467 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41468 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41469 Likewise.
41470 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
41471 (tests): Add test case tst-tls-atexit.
41472 (modules-names): Add shared library for tst-tls-atexit.
41473 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
41474 (GLIBC_PRIVATE): Add __call_tls_dtors.
41475 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
41476 for libstdc++.
41477 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
41478 * stdlib/tst-tls-atexit.c: New test case.
41479 * stdlib/tst-tls-atexit-lib.c: New test case.
41480
41481 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
41482
41483 * elf/Versions (ld): Add _dl_find_dso_for_object.
41484 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
41485 * elf/dl-open.c (_dl_find_dso_for_object): New function.
41486 (dl_open_worker): Use _dl_find_dso_for_object.
41487 * elf/dl-sym.c (do_sym): Likewise.
41488 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
41489
41490 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41491
41492 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
41493 Syntactic changes only.
41494 (_dl_runtime_profile): Do a tail-call to the resolved function.
41495
41496 2013-02-17 Joseph Myers <joseph@codesourcery.com>
41497
41498 [BZ #13550]
41499 * sysdeps/x86_64/bp-asm.h: Remove file.
41500 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
41501 <bp-sym.h> and <bp-asm.h>.
41502 (__clone): Do not use BP_SYM.
41503 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
41504 <bp-sym.h> and <bp-asm.h>.
41505 * sysdeps/unix/x86_64/sysdep.S: Likewise.
41506 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
41507 "bp-asm.h".
41508 (_setjmp): Do not use BP_SYM.
41509 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
41510 "bp-asm.h".
41511 (setjmp): Do not use BP_SYM.
41512 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
41513 libc_hidden_def.
41514 (mempcpy): Do not use BP_SYM in weak_alias.
41515 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
41516 "bp-asm.h".
41517 (strchr): Do not use BP_SYM.
41518 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
41519 "bp-asm.h".
41520 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
41521 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
41522 (_start): Do not use BP_SYM.
41523 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
41524 "bp-asm.h".
41525 (strcat): Do not use BP_SYM.
41526 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
41527 "bp-asm.h".
41528 (STRCMP): Do not use BP_SYM.
41529 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
41530 "bp-asm.h".
41531 (STRCPY): Do not use BP_SYM.
41532 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
41533 "bp-asm.h".
41534 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
41535 "bp-asm.h".
41536 (FUNCTION): Do not use BP_SYM.
41537 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
41538 weak_alias.
41539 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
41540
41541 2013-02-17 Andreas Jaeger <aj@suse.de>
41542
41543 * time/Versions: Sort entries.
41544 * string/Versions: Likewise.
41545 * resolv/Versions: Likewise.
41546 * posix/Versions: Likewise.
41547 * iconv/Versions: Likewise.
41548 * elf/Versions: Likewise.
41549 * wcsmbs/Versions: Likewise.
41550
41551 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41552
41553 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
41554 loop termination condition.
41555
41556 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
41557 variable to calculate EZ.
41558 (__sqr): Likewise.
41559
41560 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
41561 the lower precision input.
41562
41563 2013-02-15 Joseph Myers <joseph@codesourcery.com>
41564
41565 [BZ #13550]
41566 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
41567 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
41568 (run-via-rtld-prefix): Do not handle %-bp tests.
41569 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
41570 (all-object-suffixes): Remove .ob.
41571 (bppfx): Remove variable.
41572 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
41573 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
41574 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
41575 [$(build-bounded) = yes] (libtype.ob): Likewise.
41576 * Makerules (elide-routines.ob): Remove variable.
41577 (do-tests-clean): Do not handle *-bp.out.
41578 (common-mostlyclean): Do not handle *-bp and *-bp.out.
41579 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
41580 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
41581 (tests): Do not include $(tests-bp.out).
41582 (xtests): Do not include $(xtests-bp.out).
41583 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
41584 [$(build-bounded) = yes] ($(addprefix
41585 $(objpfx),$(binaries-bounded))): Remove rule.
41586 ($(objpfx)%-bp.out): Remove rule.
41587 * config.make.in (build-bounded): Remove variable.
41588 * crypt/Makefile [$(build-bounded) = yes]
41589 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
41590 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
41591 append to variable.
41592 [$(build-bounded) = yes] (install-lib): Likewise.
41593 [$(build-bounded) = yes] (generated): Likewise.
41594 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
41595 Remove rule.
41596 * intl/Makefile [$(build-bounded) = yes]
41597 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
41598 * math/Makefile [$(build-bounded) = yes]
41599 ($(tests:%=$(objpfx)%-bp): Likewise.
41600 * misc/Makefile [$(build-bounded) = yes]
41601 ($(objpfx)tst-tsearch-bp): Likewise.
41602 * nptl/Makeconfig (bounded-thread-library): Remove variable.
41603 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
41604 Remove dependency.
41605 * string/Makefile (o-objects.ob): Remove variable.
41606 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
41607 (CFLAGS-.ob): Remove variable.
41608 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
41609 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
41610 both definitions of variable.
41611 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
41612 (ASFLAGS-.ob): Remove variable.
41613
41614 2013-02-14 Joseph Myers <joseph@codesourcery.com>
41615
41616 [BZ #13550]
41617 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
41618 Remove __BOUNDED_POINTERS__ from condition.
41619 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
41620 * string/bits/string2.h [!__NO_STRING_INLINES &&
41621 !__BOUNDED_POINTERS__]: Likewise.
41622 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
41623 Likewise.
41624 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
41625 Remove conditional code.
41626 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
41627 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
41628 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
41629 condition.
41630
41631 [BZ #13550]
41632 * csu/libc-start.c: Do not include <bp-sym.h>.
41633 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
41634 * elf/dl-open.c: Do not include <bp-sym.h>.
41635 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
41636 * math/fegetenv.c: Do not include <bp-sym.h>.
41637 (fegetenv): Do not use BP_SYM in versioned symbols.
41638 * nptl/sysdeps/pthread/bits/libc-lockP.h
41639 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
41640 <bp-sym.h>.
41641 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41642 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
41643 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41644 (__pthread_mutex_destroy): Likewise.
41645 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41646 (__pthread_mutex_lock): Likewise.
41647 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41648 (__pthread_mutex_trylock): Likewise.
41649 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41650 (__pthread_mutex_unlock): Likewise.
41651 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41652 (__pthread_mutexattr_init): Likewise.
41653 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41654 (__pthread_mutexattr_destroy): Likewise.
41655 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41656 (__pthread_mutexattr_settype): Likewise.
41657 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41658 (__pthread_rwlock_init): Likewise.
41659 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41660 (__pthread_rwlock_destroy): Likewise.
41661 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41662 (__pthread_rwlock_rdlock): Likewise.
41663 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41664 (__pthread_rwlock_tryrdlock): Likewise.
41665 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41666 (__pthread_rwlock_wrlock): Likewise.
41667 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41668 (__pthread_rwlock_trywrlock): Likewise.
41669 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41670 (__pthread_rwlock_unlock): Likewise.
41671 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41672 (__pthread_key_create): Likewise.
41673 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41674 (__pthread_setspecific): Likewise.
41675 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41676 (__pthread_getspecific): Likewise.
41677 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
41678 Likewise.
41679 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41680 (_pthread_cleanup_push_defer): Likewise.
41681 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41682 (_pthread_cleanup_pop_restore): Likewise.
41683 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
41684 (pthread_setcancelstate): Likewise.
41685 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
41686 <bp-sym.h>.
41687 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
41688 (memchr): Do not use BP_SYM in weak_alias.
41689 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
41690 (fegetenv): Do not use BP_SYM in versioned symbols.
41691 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
41692 (fesetenv): Do not use BP_SYM in versioned symbols.
41693 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41694 (feupdateenv): Do not use BP_SYM in versioned symbols.
41695 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41696 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41697 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
41698 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
41699 (open64): Do not use BP_SYM in weak_alias.
41700 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
41701 (fegetenv): Do not use BP_SYM in versioned symbols.
41702 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
41703 (fesetenv): Do not use BP_SYM in versioned symbols.
41704 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
41705 (feupdateenv): Do not use BP_SYM in versioned symbols.
41706 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
41707 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
41708 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
41709 (feraiseexcept): Do not use BP_SYM in versioned symbols.
41710 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
41711 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
41712 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
41713 <bp-sym.h>.
41714 (__libc_start_main): Do not use BP_SYM.
41715
41716 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
41717
41718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
41719 redundant return line.
41720 (norm): Likewise.
41721 (denorm): Likewise.
41722 (dbl_mp): Likewise.
41723 (sub_magnitudes): Likewise.
41724 (__add): Likewise.
41725 (__sub): Likewise.
41726 (__mul): Likewise.
41727 (__inv): Likewise.
41728 (__dvd): Likewise.
41729 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
41730 (norm): Likewise.
41731 (denorm): Likewise.
41732 (dbl_mp): Likewise.
41733 (sub_magnitudes): Likewise.
41734 (__add): Likewise.
41735 (__sub): Likewise.
41736 (__mul): Likewise.
41737 (__inv): Likewise.
41738 (__dvd): Likewise.
41739
41740 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
41741 instead of __mul.
41742 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41743 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
41744 (cc32): Likewise.
41745
41746 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
41747 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
41748 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
41749 of __mul for squares.
41750 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
41751 function
41752 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
41753 Likewise.
41754 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
41755 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41756
41757 2013-02-13 Joseph Myers <joseph@codesourcery.com>
41758
41759 [BZ #13550]
41760 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
41761 code.
41762 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
41763 prototype or function definition. Rename ubp_* variables and
41764 parameters. Remove argv definitions conditional on
41765 [__BOUNDED_POINTERS__].
41766 * debug/backtrace.c (__backtrace): Do not use __unbounded.
41767 * elf/dl-runtime.c (_dl_fixup): Likewise.
41768 * include/set-hooks.h (RUN_HOOK): Likewise.
41769 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
41770 definition.
41771 * string/strcpy.c (strcpy): Do not use __unbounded.
41772 * sysdeps/generic/frame.h (struct layout): Likewise.
41773 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
41774 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
41775 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
41776 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
41777 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
41778 (__backtrace): Likewise.
41779 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
41780 use __ptrvalue.
41781 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
41782 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
41783 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
41784 Likewise.
41785 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
41786 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
41787 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
41788 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
41789 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
41790 Do not use __unbounded.
41791 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
41792 Rename __unboundedrlimits parameter to rlimits in prototype.
41793 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
41794 Do not use __unbounded.
41795 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
41796 not use __ptrvalue.
41797 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
41798 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
41799 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
41800 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
41801 __ptrvalue or __unbounded.
41802 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
41803 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
41804 use __unbounded.
41805 (__new_msgctl): Do not use __ptrvalue.
41806 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
41807 __unbounded.
41808 (__libc_msgrcv): Do not use __ptrvalue.
41809 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
41810 startup_info): Do not use __unbounded.
41811 (__libc_start_main): Likewise. Rename ubp_* variables and
41812 parameters. Remove argv definitions conditional on
41813 [__BOUNDED_POINTERS__].
41814 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
41815 __ptrvalue.
41816 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
41817 use __unbounded.
41818 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
41819 or __ptrvalue.
41820 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
41821 use __unbounded.
41822 (__new_shmctl): Do not use __ptrvalue.
41823 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
41824 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
41825 Likewise.
41826 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
41827 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
41828 (__libc_sigaction): Likewise.
41829 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
41830 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
41831 Likewise.
41832 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
41833
41834 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
41835
41836 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
41837
41838 * string/mempcpy.c: Implement by calling memcpy.
41839
41840 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
41841
41842 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
41843
41844 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
41845 evaluation.
41846
41847 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
41848 values in the mantissa.
41849
41850 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
41851 minimize writes to Z.
41852 (sub_magnitudes): Simplify code a bit.
41853
41854 2013-02-12 Roland McGrath <roland@hack.frob.com>
41855
41856 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
41857 from the message. The linker prefixes all warnings with that already.
41858
41859 2013-02-12 Andreas Schwab <schwab@suse.de>
41860
41861 [BZ #15078]
41862 * posix/regexec.c (extend_buffers): Add parameter min_len.
41863 (check_matching): Pass minimum needed length.
41864 (clean_state_log_if_needed): Likewise.
41865 (get_subexp): Likewise.
41866 * posix/Makefile (tests): Add bug-regex34.
41867 (bug-regex34-ENV): Define.
41868 * posix/bug-regex34.c: New file.
41869
41870 [BZ #11561]
41871 * posix/regcomp.c (parse_bracket_exp): When looking up collating
41872 elements compare against the byte sequence of it, not its name.
41873 * posix/Makefile (tests): Add bug-regex35.
41874 (bug-regex35-ENV): Define.
41875 * posix/bug-regex35.c: New file.
41876
41877 2013-02-11 Tom de Vries <tom@codesourcery.com>
41878
41879 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
41880 comment.
41881 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
41882 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
41883 (CHECK_EOL): Add undef.
41884
41885 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
41886
41887 * bits/stdlib-bsearch.h: New file.
41888 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
41889 * stdlib/stdlib.h: Likewise.
41890
41891 2013-02-11 Roland McGrath <roland@hack.frob.com>
41892
41893 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
41894 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
41895 declaration.
41896 * manual/search.texi (Array Search Function): Add missing const in
41897 lfind prototype.
41898 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
41899 declaration to use rlim_t.
41900 (Basic Scheduling Functions): Remove erroneous const from
41901 sched_getparam prototype. Remove erroneous * from
41902 sched_get_priority_max and sched_get_priority_min prototypes.
41903 (Resource Usage): Fix summary @comment on vtimes to refer to
41904 sys/vtimes.h rather than vtimes.h.
41905 Add missing *s in vtimes prototype.
41906 (Limits on Resources): Fix ulimit prototype to return long int.
41907 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
41908 prototypes to use long int rather than double.
41909 (BSD Random): Fix initstate and setstate to use char *, not void *.
41910 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
41911 prototype to make second argument 'struct aiocb64 *const[]'.
41912 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
41913 (Status of AIO Operations): Remove erroneous const in aio_return and
41914 aio_return64 prototypes.
41915 (Synchronizing I/O): Fix sync prototype to return void.
41916 * manual/startup.texi (Suboptions): Remove an erroneous const in
41917 getsubopt prototype.
41918 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
41919 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
41920 use size_t rather than int.
41921 (Scanning All Users): Likewise for getpwent_r.
41922 (Setting Groups): Add missing const to setgroups prototype.
41923 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
41924 * manual/socket.texi (Host Names): Fix gethostbyaddr and
41925 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
41926 'const void *' rather than 'const char *'.
41927 (Host Address Functions): Likewise for inet_ntop.
41928 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
41929 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
41930 ssize_t for return value.
41931 (Sending Data): Likewise for send, sendto, sendmsg.
41932 (Socket Option Functions): Add a missing const in setsockopt prototype.
41933 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
41934 use wchar_t for the argument.
41935 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
41936 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
41937 take no arguments.
41938 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
41939 double/float/long double for second argument.
41940 Fix return types of significand, significandf, significandl.
41941 * manual/filesys.texi (Setting Permissions): Use mode_t for second
41942 argument in fchmod prototype.
41943 (File Owner): Use uid_t and gid_t in fchown prototype.
41944 (File Times): Add const to utimes, futimes, and lutimes prototypes.
41945 (Making Special Files): Use mode_t and dev_t in mknod prototype.
41946 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
41947 use 'const struct dirent **' as argument types to CMP function pointer
41948 argument.
41949 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
41950 (File Times): Fix summary magic @comment for struct utimbuf and utime
41951 to refer to utime.h, not time.h.
41952 * manual/string.texi (Argz Functions): Add missing const in
41953 argz_extract and argz_next prototypes.
41954 (Finding Tokens in a String): Likewise for basename.
41955 (String/Array Comparison): Fix typo in wcscasecmp prototype.
41956 (Copying and Concatenation): Fix typo in wmemmove prototype.
41957 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
41958 (Signal Stack): Remove erroneous const in sigstack prototype.
41959 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
41960 prototype.
41961 (Simple Calendar Time): Likewise for stime.
41962 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
41963 prototype.
41964 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
41965 say sys/sysctl.h instead.
41966 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
41967 and vsyslog prototypes.
41968
41969 2013-02-11 Tom de Vries <tom@codesourcery.com>
41970
41971 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
41972 Remove.
41973
41974 2013-02-11 Roland McGrath <roland@hack.frob.com>
41975
41976 * misc/sys/mman.h: Fix typo in mremap comment.
41977
41978 2013-02-08 Roland McGrath <roland@hack.frob.com>
41979
41980 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
41981 the '\0' terminator.
41982
41983 2013-02-08 Joseph Myers <joseph@codesourcery.com>
41984
41985 [BZ #13550]
41986 * debug/segfault.c: Don't include <bp-checks.h>.
41987 * sysdeps/generic/bp-checks.h: Remove file.
41988 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
41989 (__GETDENTS): Don't use CHECK_N.
41990 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
41991 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
41992 (__getgroups): Don't use CHECK_N.
41993 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
41994 (setgroups): Don't use CHECK_N.
41995 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
41996 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
41997 (__libc_msgrcv): Don't use CHECK_N.
41998 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
41999 (__libc_msgsnd): Don't use CHECK_N.
42000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
42001 <bp-checks.h>.
42002 (__libc_pread): Don't use CHECK_N.
42003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
42004 include <bp-checks.h>.
42005 (__libc_pread64): Don't use CHECK_N.
42006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
42007 include <bp-checks.h>.
42008 (__libc_pwrite): Don't use CHECK_N.
42009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
42010 include <bp-checks.h>.
42011 (__libc_pwrite64): Don't use CHECK_N.
42012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
42013 <bp-checks.h>.
42014 (__libc_pread): Don't use CHECK_N.
42015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
42016 include <bp-checks.h>.
42017 (__libc_pread64): Don't use CHECK_N.
42018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
42019 include <bp-checks.h>.
42020 (__libc_pwrite): Don't use CHECK_N.
42021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
42022 include <bp-checks.h>.
42023 (__libc_pwrite64): Don't use CHECK_N.
42024 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
42025 (do_pread): Don't use CHECK_N.
42026 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
42027 (do_pread64): Don't use CHECK_N.
42028 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
42029 (do_pwrite): Don't use CHECK_N.
42030 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
42031 (do_pwrite64): Don't use CHECK_N.
42032 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
42033 (__libc_readv): Don't use CHECK_N.
42034 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
42035 (semop): Don't use CHECK_N.
42036 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
42037 <bp-checks.h>.
42038 (semtimedop): Don't use CHECK_N.
42039 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
42040 (__libc_pread): Don't use CHECK_N.
42041 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
42042 <bp-checks.h>.
42043 (__libc_pread64): Don't use CHECK_N.
42044 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
42045 <bp-checks.h>.
42046 (__libc_pwrite): Don't use CHECK_N.
42047 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
42048 <bp-checks.h>.
42049 (__libc_pwrite64): Don't use CHECK_N.
42050 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
42051 <bp-checks.h>.
42052 (__libc_msgrcv): Don't use CHECK_N.
42053 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
42054 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
42055 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
42056 (__libc_writev): Don't use CHECK_N.
42057
42058 2013-02-08 Roland McGrath <roland@hack.frob.com>
42059
42060 * string/strcpy.c: Removed unused variable.
42061
42062 * Makeconfig (+sysdep-includes): Define with := rather than =.
42063 Use an existing include/ subdir of each sysdeps dir before it.
42064
42065 2013-02-08 Carlos O'Donell <carlos@redhat.com>
42066
42067 * nscd/connection.c (register_traced_file): Comment function.
42068 [HAVE_INOTIFY] (union __inev): Define.
42069 [HAVE_INOTIFY] (inotify_check_files): New function.
42070 [HAVE_INOTIFY] (clear_db_cache): Likewise.
42071 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
42072 clear_db_cache.
42073 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
42074
42075 2013-02-08 Carlos O'Donell <carlos@redhat.com>
42076
42077 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
42078 loaded if not already and that a failure is permanent.
42079
42080 2013-02-08 Carlos O'Donell <carlos@redhat.com>
42081
42082 [BZ #15006]
42083 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
42084 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
42085
42086 2013-02-08 Joseph Myers <joseph@codesourcery.com>
42087
42088 [BZ #13550]
42089 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
42090 (CHECK_1_NULL_OK): Likewise.
42091 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
42092 (__fxstat): Do not use CHECK_1.
42093 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
42094 <bp-checks.h>.
42095 (___fxstat64): Do not use CHECK_1.
42096 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
42097 <bp-checks.h>.
42098 (__fxstatat): Do not use CHECK_1.
42099 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
42100 <bp-checks.h>.
42101 (__fxstatat64): Do not use CHECK_1.
42102 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
42103 <bp-checks.h>.
42104 (__fxstat): Do not use CHECK_1.
42105 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
42106 <bp-checks.h>.
42107 (__fxstatat): Do not use CHECK_1.
42108 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42109 <bp-checks.h>.
42110 (__getresgid): Do not use CHECK_1.
42111 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42112 <bp-checks.h>.
42113 (__getresuid): Do not use CHECK_1.
42114 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
42115 <bp-checks.h>.
42116 (__lxstat): Do not use CHECK_1.
42117 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42118 <bp-checks.h>.
42119 (__old_msgctl): Do not use CHECK_1.
42120 (__new_msgctl): Likewise.
42121 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
42122 <bp-checks.h>.
42123 (__new_setrlimit): Do not use CHECK_1.
42124 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42125 <bp-checks.h>.
42126 (__old_shmctl): Do not use CHECK_1.
42127 (__new_shmctl): Likewise.
42128 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
42129 <bp-checks.h>.
42130 (__xstat): Do not use CHECK_1.
42131 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
42132 (__lxstat): Do not use CHECK_1.
42133 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
42134 <bp-checks.h>.
42135 (___lxstat64): Do not use CHECK_1.
42136 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
42137 (__old_msgctl): Do not use CHECK_1.
42138 (__new_msgctl): Likewise.
42139 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
42140 <bp-checks.h>.
42141 (__gettimeofday): Do not use CHECK_1.
42142 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
42143 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
42144 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
42145 <bp-checks.h>.
42146 (__gettimeofday): Do not use CHECK_1.
42147 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
42148 (__old_shmctl): Do not use CHECK_1_NULL_OK.
42149 (__new_shmctl): Do not use CHECK_1.
42150 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
42151 <bp-checks.h>.
42152 (do_sigtimedwait): Do not use CHECK_1.
42153 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
42154 <bp-checks.h>.
42155 (do_sigwaitinfo): Do not use CHECK_1.
42156 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
42157 <bp-checks.h>.
42158 (msgctl): Do not use CHECK_1.
42159 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
42160 <bp-checks.h>.
42161 (shmctl): Do not use CHECK_1.
42162 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
42163 (ustat): Do not use CHECK_1.
42164 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
42165 <bp-checks.h>.
42166 (__fxstat): Do not use CHECK_1.
42167 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
42168 <bp-checks.h>.
42169 (__fxstatat): Do not use CHECK_1.
42170 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
42171 <bp-checks.h>.
42172 (__lxstat): Do not use CHECK_1.
42173 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
42174 <bp-checks.h>.
42175 (__xstat): Do not use CHECK_1.
42176 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
42177 (__xstat): Do not use CHECK_1.
42178 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
42179 (___xstat64): Do not use CHECK_1.
42180
42181 [BZ #13550]
42182 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
42183 definitions.
42184 (CHECK_BOUNDS_HIGH): Likewise.
42185 * string/strcpy.c: Do not include <bp-checks.h>.
42186 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
42187
42188 2013-02-07 Roland McGrath <roland@hack.frob.com>
42189
42190 * nscd/nscd-client.h (__nscd_drop_map_ref):
42191 Add __attribute__ ((unused)).
42192 * nis/nss-nisplus.h (niserr2nss): Likewise.
42193
42194 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
42195 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
42196
42197 * csu/libc-tls.c (init_static_tls, init_slotinfo):
42198 Remove inline keyword.
42199 * include/rounding-mode.h (round_away): Likewise.
42200 * libio/wfileops.c (adjust_wide_data): Likewise.
42201 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
42202 (__m128i_strloadu_tolower): Likewise.
42203 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
42204 (__m128i_strloadu_tolower): Likewise.
42205 * time/mktime.c (ydhms_diff): Likewise.
42206 * locale/elem-hash.h (elem_hash): Likewise.
42207 * locale/setlocale.c (setdata): Likewise.
42208 * posix/regex_internal.h (re_string_char_size_at): Likewise.
42209 (re_string_wchar_at): Likewise.
42210 (bitset_not, bitset_merge, bitset_mask): Likewise.
42211 [!(__GNUC__ > 3)] (inline): Remove macro.
42212 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
42213 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
42214 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
42215 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
42216 * string/memcmp.c (memcmp_bytes): Likewise.
42217 * locale/programs/locarchive.c (compute_hashval): Likewise.
42218 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
42219 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
42220 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
42221 * nss/getent.c (print_rpc, print_protocols): Likewise.
42222 (print_passwd, print_group, print_aliases): Likewise.
42223 * nis/nss-nisplus.h (niserr2nss): Likewise.
42224 * nscd/connections.c (restart_p): Likewise.
42225 Change return type to bool.
42226
42227 2013-02-05 Roland McGrath <roland@hack.frob.com>
42228
42229 * Makeconfig (all-Depend-files): Add existing
42230 $(sorted-subdirs:=/Depend) files.
42231 (all-subdirs): Remove nss.
42232 * sysdeps/unix/inet/Subdirs: Add it here instead.
42233 * hesiod/Depend: New file.
42234
42235 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
42236 instead of calling alloca.
42237
42238 * io/lseek.c (__lseek): Rename to __libc_lseek.
42239 Define __lseek as an alias.
42240
42241 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
42242
42243 2013-02-04 Carlos O'Donell <carlos@redhat.com>
42244
42245 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
42246 else clause and remove check for non-standard endianness.
42247
42248 2013-02-04 David S. Miller <davem@davemloft.net>
42249
42250 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42251
42252 2013-02-04 Joseph Myers <joseph@codesourcery.com>
42253
42254 [BZ #13550]
42255 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
42256 (__ubp_memchr): Remove prototype.
42257 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
42258 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42259 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
42260 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
42261 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
42262 Remove alias.
42263 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
42264 (__ubp_memchr): Likewise.
42265 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
42266 (__ubp_memchr): Likewise.
42267 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
42268 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
42269 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
42270 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
42271 CHECK_STRING.
42272 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42273 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
42274 (__getcwd): Do not use CHECK_STRING.
42275 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42276 <bp-checks.h>.
42277 (__real_chown): Do not use CHECK_STRING.
42278 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
42279 <bp-checks.h>.
42280 (fchownat): Do not use CHECK_STRING.
42281 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
42282 CHECK_STRING.
42283 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42284 <bp-checks.h>.
42285 (__lchown): Do not use CHECK_STRING.
42286 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
42287 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
42288 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
42289 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
42290 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42291 include <bp-checks.h>.
42292 (truncate64): Do not use CHECK_STRING.
42293 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42294 <bp-checks.h>.
42295 (__real_chown): Do not use CHECK_STRING.
42296 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42297 <bp-checks.h>.
42298 (__lchown): Do not use CHECK_STRING.
42299 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42300 <bp-checks.h>.
42301 (__chown): Do not use CHECK_STRING.
42302 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
42303 <bp-checks.h>.
42304 (truncate64): Do not use CHECK_STRING.
42305 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
42306 Likewise.
42307 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
42308 (__xmknod): Do not use CHECK_STRING.
42309 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
42310 <bp-checks.h>.
42311 (__xmknodat): Do not use CHECK_STRING.
42312 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
42313 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
42314
42315 2013-02-04 Andreas Schwab <schwab@suse.de>
42316
42317 [BZ #14142]
42318 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
42319 * include/netdb.h: Likewise for h_errno.
42320 * elf/tst-stackguard1.c: Include <tls.h>.
42321
42322 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
42323
42324 * elf/link.h (struct link_map): Extend the l_addr comment.
42325 * include/link.h (struct link_map): Likewise.
42326
42327 2013-02-01 Joseph Myers <joseph@codesourcery.com>
42328
42329 [BZ #13550]
42330 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
42331 (BOUNDED_1): Remove macro.
42332 * debug/backtrace.c: Don't include <bp-checks.h>.
42333 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
42334 (__backtrace): Likewise.
42335 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
42336 <bp-checks.h>.
42337 (__backtrace): Don't use BOUNDED_1.
42338 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
42339 <bp-checks.h>.
42340 (__backtrace): Don't use BOUNDED_1.
42341 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
42342 (__backtrace): Don't use BOUNDED_1.
42343 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
42344 (shmat): Don't use BOUNDED_N.
42345
42346 2013-01-31 Joseph Myers <joseph@codesourcery.com>
42347
42348 [BZ #13550]
42349 * sysdeps/generic/bp-start.h: Remove file.
42350 * csu/libc-start.c: Don't include <bp-start.h>.
42351 (LIBC_START_MAIN): Set up __environ directly instead of using
42352 INIT_ARGV_and_ENVIRON.
42353 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
42354 <bp-start.h>.
42355
42356 [BZ #13550]
42357 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
42358 definitions.
42359 (CHECK_FCNTL): Likewise.
42360 (CHECK_N_PAGES): Likewise.
42361
42362 [BZ #13550]
42363 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
42364 definitions.
42365 (CHECK_SIGSET_NULL_OK): Likewise.
42366 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
42367 <bp-checks.h>.
42368 (sigpending): Don't use CHECK_SIGSET.
42369 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
42370 <bp-checks.h>.
42371 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42372 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
42373 <bp-checks.h>.
42374 (do_sigsuspend): Don't use CHECK_SIGSET.
42375 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
42376 use CHECK_SIGSET.
42377 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
42378 (do_sigwait): Don't use CHECK_SIGSET.
42379 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
42380 use CHECK_SIGSET.
42381 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
42382 include <bp-checks.h>.
42383 (sigpending): Don't use CHECK_SIGSET.
42384 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
42385 include <bp-checks.h>.
42386 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42387 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
42388 <bp-checks.h>.
42389 (sigpending): Don't use CHECK_SIGSET.
42390 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
42391 <bp-checks.h>.
42392 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
42393
42394 [BZ #13550]
42395 * sysdeps/generic/bp-semctl.h: Remove file.
42396 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
42397 <bp-checks.h> and <bp-semctl.h>.
42398 (__old_semctl): Don't use CHECK_SEMCTL.
42399 (__new_semctl): Likewise.
42400 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
42401 and <bp-semctl.h>.
42402 (__old_semctl): Don't use CHECK_SEMCTL.
42403 (__new_semctl): Likewise.
42404 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
42405 <bp-checks.h> and <bp-semctl.h>.
42406 (__old_semctl): Don't use CHECK_SEMCTL.
42407 (__new_semctl): Likewise.
42408 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
42409 <bp-checks.h> and <bp-semctl.h>.
42410 (semctl): Don't use CHECK_SEMCTL.
42411
42412 [BZ #13550]
42413 * Makerules (elide-bp-thunks): Remove variable.
42414 (elide-routines.oS): Don't use $(elide-bp-thunks).
42415 (elide-routines.os): Likewise.
42416 (elide-routines.o): Likewise.
42417 (elide-routines.op): Likewise.
42418 (elide-routines.og): Likewise.
42419 (objects): Don't use $(bp-thunks).
42420 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
42421 include.
42422 (common-generated): Do not add s-proto-bp.d.
42423 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
42424 (int): Likewise.
42425 (typ): Likewise.
42426 Do not generate makefile rules for bounded-pointer thunks.
42427 * sysdeps/generic/bp-thunks.h: Remove file.
42428 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
42429 * sysdeps/unix/s-proto-bp.S: Likewise.
42430
42431 [BZ #15062]
42432 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
42433 parts of result separately when argument is not close to line from
42434 -i to i and one part of argument is small.
42435 * math/k_casinhf.c (__kernel_casinhf): Likewise.
42436 * math/k_casinhl.c (__kernel_casinhl): Likewise.
42437 * math/libm-test.inc (cacos_test): Add more tests.
42438 (casin_test): Likewise.
42439 (casinh_test): Likewise.
42440 * sysdeps/i386/fpu/libm-test-ulps: Update.
42441 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42442
42443 2013-01-31 David S. Miller <davem@davemloft.net>
42444
42445 * po/de.po: Update from translation team.
42446
42447 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
42448
42449 * time/tzfile.c: Include stdint.h for SIZE_MAX.
42450
42451 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
42452
42453 * configure.in (_AC_PROG_CC_C89): New definition.
42454 * configure: Regenerate.
42455
42456 * configure.in (AC_PROG_CPP): New definition.
42457 * configure: Regenerate.
42458
42459 2013-01-23 Joseph Myers <joseph@codesourcery.com>
42460
42461 * debug/tst-backtrace.h: New file.
42462 * debug/tst-backtrace2.c: Include tst-backtrace.h.
42463 (ret): Remove variable.
42464 (x): Likewise.
42465 (FAIL): Remove macro.
42466 (NO_INLINE): Likewise.
42467 (fn1): Use match function instead of strstr.
42468 * debug/tst-backtrace3.c: Include tst-backtrace.h.
42469 (ret): Remove variable.
42470 (x): Likewise.
42471 (FAIL): Remove macro.
42472 (NO_INLINE): Likewise.
42473 (fn): Use match function instead of strstr.
42474 * debug/tst-backtrace4.c: Include tst-backtrace.h.
42475 (ret): Remove variable.
42476 (x): Likewise.
42477 (FAIL): Remove macro.
42478 (NO_INLINE): Likewise.
42479 (handle_signal): Use match function instead of strstr.
42480 * debug/tst-backtrace5.c: Include tst-backtrace.h.
42481 (ret): Remove variable.
42482 (x): Likewise.
42483 (FAIL): Remove macro.
42484 (NO_INLINE): Likewise.
42485 (handle_signal): Use match function instead of strstr.
42486
42487 2013-01-23 Roland McGrath <roland@hack.frob.com>
42488
42489 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
42490
42491 2013-01-23 David S. Miller <davem@davemloft.net>
42492
42493 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
42494 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
42495 argument of CAS if possible.
42496 * sysdeps/sparc/sparc64/bits/atomic.h
42497 (__arch_compare_and_exchange_val_32_acq): Likewise.
42498 (__arch_compare_and_exchange_val_64_acq): Likewise.
42499
42500 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
42501
42502 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
42503 * sysdeps/posix/ulimit.c: ... this.
42504 Include <limits.h>.
42505 * sysdeps/unix/bsd/ulimit.c: Remove file.
42506
42507 2013-01-23 Adam Conrad <adconrad@0c3.net>
42508
42509 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
42510 (LDFLAGS-tst-array5): Likewise.
42511
42512 2013-01-23 Joseph Myers <joseph@codesourcery.com>
42513
42514 [BZ #15036]
42515 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
42516 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
42517 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
42518 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
42519
42520 2013-01-21 David S. Miller <davem@davemloft.net>
42521
42522 * sysdeps/sparc/backtrace.c: New file.
42523 * sysdeps/sparc/sparc32/backtrace.h: New file.
42524 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
42525 * sysdeps/sparc/sparc64/backtrace.h: New file.
42526 * sysdeps/sparc/sparc64/backtrace.c: Delete.
42527 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
42528 -funwind-tables.
42529
42530 2013-01-21 Andreas Schwab <schwab@suse.de>
42531
42532 [BZ #15020]
42533 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
42534 closed its stdout.
42535
42536 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
42537
42538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
42539 "mpa2.h".
42540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42541
42542 2013-01-18 Joseph Myers <joseph@codesourcery.com>
42543 Mark Mitchell <mark@codesourcery.com>
42544 Tom de Vries <tom@codesourcery.com>
42545 Paul Pluzhnikov <ppluzhnikov@google.com>
42546
42547 * debug/tst-backtrace2.c: New file.
42548 * debug/tst-backtrace3.c: Likewise.
42549 * debug/tst-backtrace4.c: Likewise.
42550 * debug/tst-backtrace5.c: Likewise.
42551 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
42552 (CFLAGS-tst-backtrace3.c): Likewise.
42553 (CFLAGS-tst-backtrace4.c): Likewise.
42554 (CFLAGS-tst-backtrace5.c): Likewise.
42555 (LDFLAGS-tst-backtrace2): Likewise.
42556 (LDFLAGS-tst-backtrace3): Likewise.
42557 (LDFLAGS-tst-backtrace4): Likewise.
42558 (LDFLAGS-tst-backtrace5): Likewise.
42559 (tests): Add new tests tst-backtrace2, tst-backtrace3,
42560 tst-backtrace4 and tst-backtrace5.
42561
42562 2013-01-18 Anton Blanchard <anton@samba.org>
42563 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42564
42565 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
42566 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
42567 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
42568 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
42569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
42570 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
42571 "+r" and remove output regs list as redundant. Add explicit inline
42572 asm to specify register of return val to work around compiler codegen
42573 bug. Remove (int) cast on return value. Add return type parameter to
42574 use in macro so that this macro does not truncate return value for
42575 64-bit values.
42576 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
42577 pass to INTERNAL_VSYSCALL_NCS.
42578 (INLINE_VSYSCALL): Add 'long int' as return type to
42579 INTERNAL_VSYSCALL_NCS macro invocation.
42580 (INTERNAL_VSYSCALL): Add 'long int' as return type to
42581 INTERNAL_VSYSCALL_NCS macro invocation.
42582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
42583
42584 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
42585
42586 [BZ #14496]
42587 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
42588 Fix application of SIMD FP exception mask.
42589
42590 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
42591 mp_no from a power of two.
42592 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
42593 __mpexp_twomm1. Use __pow_mp.
42594
42595 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
42596 multiplication.
42597
42598 2013-01-17 David S. Miller <davem@davemloft.net>
42599
42600 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42601
42602 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42603
42604 [BZ #15023]
42605 * include/complex.h: Condition contents on [!_COMPLEX_H].
42606 (__kernel_casinhf): New prototype.
42607 (__kernel_casinh): Likewise.
42608 (__kernel_casinhl): Likewise.
42609 * math/Makefile (libm_calls): Add k_casinh.
42610 * math/k_casinh.c: New file.
42611 * math/k_casinhf.c: Likewise.
42612 * math/k_casinhl.c: Likewise.
42613 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
42614 finite nonzero arguments.
42615 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
42616 finite nonzero arguments.
42617 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
42618 finite nonzero arguments.
42619 * math/s_casinh.c: Do not include <float.h>.
42620 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
42621 * math/s_casinhf.c: Do not include <float.h>.
42622 (__casinhf): Move code for finite nonzero arguments to
42623 k_casinhf.c.
42624 * math/s_casinhl.c: Do not include <float.h>.
42625 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
42626 redefine.
42627 (__casinhl): Move code for finite nonzero arguments to
42628 k_casinhl.c.
42629 * math/libm-test.inc (cacos_test): Add more tests.
42630 * sysdeps/i386/fpu/libm-test-ulps: Update.
42631 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42632
42633 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
42634
42635 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
42636 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
42637 [!HAVE_MREMAP]: Remove [defined linux] case.
42638 * malloc/arena.c: Do not include <malloc-sysdep.h>.
42639
42640 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
42641
42642 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
42643
42644 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
42645
42646 * elf/elf.h (R_386_SIZE32): New relocation.
42647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
42648 R_386_SIZE32.
42649 (elf_machine_rela): Likewise.
42650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42651 R_X86_64_SIZE64 and R_X86_64_SIZE32.
42652
42653 2013-01-17 Joseph Myers <joseph@codesourcery.com>
42654
42655 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
42656 (FP_FAST_FMA): Do not define.
42657 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
42658 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
42659 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
42660 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
42661 !_SOFT_FLOAT]: Likewise.
42662 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
42663 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
42664 value.
42665 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
42666 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
42667 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
42668 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
42669 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
42670 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
42671 file.
42672
42673 2013-01-16 Andreas Schwab <schwab@suse.de>
42674
42675 [BZ #14327]
42676 * include/stdlib.h (__mktemp): Add declaration.
42677 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
42678 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
42679
42680 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
42681
42682 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
42683 definitions.
42684 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
42685 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
42686 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
42687 definitions here.
42688 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
42689 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
42690 definitions.
42691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
42692 and ONE.
42693 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
42694 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
42695 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
42696 definitions.
42697 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
42698 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
42699 definitions.
42700 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
42701
42702 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
42703
42704 2013-01-15 David S. Miller <davem@davemloft.net>
42705
42706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42707 trunc{,f} to libm-sysdep_routes.
42708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
42710 file.
42711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
42712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
42713 file.
42714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
42715 file.
42716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
42717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
42718 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
42719 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
42720 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
42721 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
42722 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
42723 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
42724
42725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42726 nearbyint{,f} to libm-sysdep_routes.
42727 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
42729 New file.
42730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
42731 file.
42732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
42733 New file.
42734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
42735 file.
42736 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
42737 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
42738 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
42739 file.
42740 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
42741 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
42742 file.
42743 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
42744 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
42745 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
42746
42747 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
42748 libc_feholdexcept and libc_fesetenv.
42749
42750 2013-01-15 Mike Frysinger <vapier@gentoo.org>
42751
42752 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
42753
42754 2013-01-14 David S. Miller <davem@davemloft.net>
42755
42756 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
42757 (SPARC_ASM_VIS2_IFUNC): Likewise.
42758 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
42759 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
42760 use of 'siam' instruction.
42761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
42762 Likewise.
42763 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
42764 Likewise.
42765 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
42766 Likewise.
42767 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
42768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
42769 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
42770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
42771 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
42772 file.
42773 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
42774 file.
42775 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
42776 file.
42777 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
42778 file.
42779 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
42780 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
42781 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
42782 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
42783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
42784 new VIS2 routines.
42785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
42786 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
42788 Likewise.
42789 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
42790 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
42791 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
42792 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
42793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
42794 routines to libm-sysdep_routines.
42795 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
42796
42797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
42798 fdim/fdimf to libm-sysdep_routines.
42799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
42800 file.
42801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
42802 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
42803 file.
42804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
42805 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
42806 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
42807 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
42808 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
42809 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
42810 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
42811
42812 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
42813
42814 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
42815 to optimize copies.
42816
42817 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
42818 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
42819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
42820
42821 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
42822 local variable MPTWO.
42823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
42824 Likewise.
42825
42826 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42827
42828 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
42829 GLOB_NOESCAPE.
42830
42831 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42832
42833 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
42834
42835 2013-01-13 Mike Frysinger <vapier@gentoo.org>
42836
42837 * manual/pattern.texi (glob_t): Document gl_flags.
42838 (glob64_t): Likewise.
42839
42840 2013-01-11 David S. Miller <davem@davemloft.net>
42841
42842 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
42843 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
42844 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
42845 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
42846 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
42847 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
42848 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
42849 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
42850 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
42851 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
42852 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
42853 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
42854 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
42855
42856 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
42857 sparc V9 rather than using V8 code.
42858 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
42859 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
42860
42861 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
42862 Move to...
42863 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
42864 Here.
42865
42866 2013-01-11 Roland McGrath <roland@hack.frob.com>
42867
42868 [BZ #14941]
42869 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
42870 not in the main loop.
42871 * configure: Regenerated.
42872
42873 2013-01-11 Joseph Myers <joseph@codesourcery.com>
42874
42875 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
42876 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
42877 to just #else.
42878 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
42879 [!__GLIBC_HAVE_LONG_LONG] case.
42880 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
42881 condition to just #else.
42882 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
42883 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
42884 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
42885 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
42886 unconditional.
42887 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
42888 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42889 #elif condition to just #else.
42890 * sysdeps/unix/sysv/linux/sys/sysmacros.h
42891 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
42892 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
42893 #elif condition to just #else.
42894
42895 2013-01-11 Steve Ellcey <sellcey@mips.com>
42896
42897 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
42898 (EF_MIPS_ARCH_64): Fix value.
42899 (EF_MIPS_ARCH_32R2): New.
42900 (EF_MIPS_ARCH_64R2): New.
42901
42902 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
42903
42904 * Makeconfig (+link-pie-before-libc): New.
42905 (+link-pie-after-libc): Likewise.
42906 (+link-pie-tests): Likewise.
42907 (+link-pie): Rewritten.
42908 (link-before-libc): Remove $(config-LDFLAGS).
42909 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
42910 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
42911 (config-LDFLAGS): Renamed to ...
42912 (rtld-LDFLAGS): This.
42913 (rtld-tests-LDFLAGS): New macro.
42914 (link-libc-rpath-link): Likewise.
42915 (link-libc-tests-rpath-link): Likewise.
42916 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
42917 (link-libc): Prepand $(link-libc-rpath-link).
42918 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
42919 (test-program-prefix): New macro.
42920 (test-via-rtld-prefix): Likewise.
42921 (test-program-cmd): Likewise.
42922 (host-test-program-cmd): Likewise.
42923 * Makefile ($(common-objpfx)testrun.sh): Replace
42924 $(run-program-prefix) with $(test-program-prefix).
42925 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
42926 $(rtld-LDFLAGS).
42927 ($(common-objpfx)shlib.lds): Likewise.
42928 (build-module-helper): Likewise.
42929 ($(common-objpfx)format.lds): Likewise.
42930 * Rules (binaries-pie-tests): New.
42931 (binaries-pie-notests): Likewise.
42932 (binaries-pie): Rewritten.
42933 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
42934 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
42935 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
42936 (make-test-out): Replace $(host-built-program-cmd) with
42937 $(host-test-program-cmd).
42938 * config.make.in (build-hardcoded-path-in-tests): New variable.
42939 * configure.in (--enable-hardcoded-path-in-tests): New configure
42940 option.
42941 (hardcoded_path_in_tests): New AC_SUBST.
42942 * configure: Regenerated.
42943 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
42944 $(built-program-cmd) with $(test-program-cmd).
42945 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
42946 (test_program_cmd): This.
42947 * elf/Makefile ($(objpfx)order.out): Run test with
42948 $(test-program-prefix).
42949 ($(objpfx)order2.out): Likewise.
42950 ($(objpfx)tst-initorder.out): Likewise.
42951 ($(objpfx)tst-initorder2.out): Likewise.
42952 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
42953 $(test-program-cmd).
42954 ($(objpfx)tst-array1-static.out): Likewise.
42955 ($(objpfx)tst-array2.out): Likewise.
42956 ($(objpfx)tst-array3.out): Likewise.
42957 ($(objpfx)tst-array4.out): Likewise.
42958 ($(objpfx)tst-array5.out): Likewise.
42959 ($(objpfx)tst-array5-static.out): Likewise.
42960 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
42961 $(test-program-cmd).
42962 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
42963 $(run-program-prefix) with $(test-program-prefix).
42964 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
42965 (test_program_prefix): This.
42966 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
42967 $(run-program-prefix) with $(test-program-prefix).
42968 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
42969 (test_program_prefix): This.
42970 * iconvdata/tst-tables.sh: Likewise.
42971 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
42972 $(run-program-prefix) with $(test-program-prefix).
42973 ($(objpfx)tst-translit.out): Likewise.
42974 ($(objpfx)tst-gettext2.out): Likewise.
42975 ($(objpfx)tst-gettext4.out): Likewise.
42976 ($(objpfx)tst-gettext6.out): Likewise.
42977 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
42978 (test_program_prefix): This.
42979 * intl/tst-gettext2.sh: Likewise.
42980 * intl/tst-gettext4.sh Likewise.
42981 * intl/tst-gettext6.sh: Likewise.
42982 * intl/tst-translit.sh: Likewise.
42983 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
42984 with $(test-program-cmd).
42985 * libio/Makefile ($(objpfx)test-freopen.out): Replace
42986 $(run-program-prefix) with $(test-program-prefix).
42987 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
42988 (test_program_prefix): This.
42989 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
42990 $(run-program-prefix) with $(test-program-prefix).
42991 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
42992 (test_program_prefix): This.
42993 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
42994 * posix/Makefile ($(objpfx)globtest.out): Replace
42995 $(run-via-rtld-prefix) and $(test-wrapper) with
42996 $(test-program-prefix) and $(test-via-rtld-prefix).
42997 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
42998 $(test-program-prefix).
42999 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
43000 $(host-test-program-cmd).
43001 (tst-spawn-ARGS): Likewise.
43002 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
43003 $(test-program-prefix).
43004 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
43005 (test_via_rtld_prefix): This.
43006 (test_wrapper): Renamed to ...
43007 (test_program_prefix): This.
43008 (run_program_prefix): Replaced by test_program_prefix.
43009 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
43010 (test_program_prefix): This.
43011 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
43012 with $(host-test-program-cmd).
43013 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
43014 $(run-program-prefix) with $(test-program-prefix).
43015 ($(objpfx)tst-printf.out): Likewise.
43016 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
43017 $(test-program-cmd).
43018 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
43019 (test_program_prefix): This.
43020 * stdio-common/tst-unbputc.sh: Likewise.
43021 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
43022 $(run-program-prefix) with $(test-program-prefix).
43023 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
43024 (test_program_prefix): This.
43025 * string/Makefile ($(objpfx)tst-svc.out): Replace
43026 $(built-program-cmd) with $(test-program-cmd).
43027
43028 2013-01-11 Andreas Jaeger <aj@suse.de>
43029
43030 [BZ #15003]
43031 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
43032 value. Sync with Linux 3.7.
43033
43034 2013-01-10 David S. Miller <davem@davemloft.net>
43035
43036 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
43037 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43038 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43039
43040 2013-01-10 Roland McGrath <roland@hack.frob.com>
43041
43042 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
43043 never set.
43044 * configure: Regenerated.
43045
43046 2013-01-10 David S. Miller <davem@davemloft.net>
43047
43048 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
43049 sparc V9 rather than using V8 code.
43050 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
43051 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
43052
43053 2013-01-10 Roland McGrath <roland@hack.frob.com>
43054
43055 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
43056 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
43057 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
43058 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
43059 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
43060 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
43061 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
43062 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
43063 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
43064 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
43065 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
43066 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
43067 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
43068 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
43069 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
43070 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
43071 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
43072 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
43073 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
43074 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
43075 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
43076 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
43077 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
43078 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
43079 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
43080 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
43081 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
43082
43083 2013-01-10 David S. Miller <davem@davemloft.net>
43084
43085 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43086
43087 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
43088
43089 * posix/Makefile (tests-static): New variable.
43090 (tests): Add $(tests-static).
43091 (tst-exec-static-ARGS): New variable.
43092 (tst-spawn-static-ARGS): Likewise.
43093 * posix/tst-exec-static.c: New file.
43094 * posix/tst-spawn-static.c: Likewise.
43095 * posix/tst-exec.c: Support run directly.
43096 * posix/tst-spawn.c: Likewise.
43097
43098 2013-01-10 Joseph Myers <joseph@codesourcery.com>
43099
43100 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
43101 long.
43102 * math/bits/mathcalls.h (llrint): Likewise.
43103 (llround): Likewise.
43104 * stdlib/stdlib.h (struct drand48_data): Likewise.
43105 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
43106 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
43107 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
43108 Likewise.
43109 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
43110 Likewise.
43111 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
43112 (elf_greg_t): Likewise.
43113 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
43114 (__jmp_buf): Likewise.
43115 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
43116 definitions.
43117 (llrint): Likewise, for all definitions.
43118 (llrintl): Likewise.
43119
43120 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
43121 Remove [__GNUC__] condition.
43122 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
43123 condition to just [__USE_ISOC99].
43124 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
43125
43126 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
43127
43128 [BZ #14200]
43129 * sysdeps/unix/sysv/linux/x86/bits/environments.h
43130 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
43131 defined.
43132 (_POSIX_V6_ILP32_OFF32): Likewise.
43133 (_XBS5_ILP32_OFF32): Likewise.
43134 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
43135 (__ILP32_OFFBIG_LDFLAGS): Likewise.
43136
43137 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43138
43139 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
43140
43141 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
43142 doubles __mpexp_twomm1. Adjust usage.
43143 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
43144 Remove.
43145
43146 2013-01-10 Andreas Schwab <schwab@suse.de>
43147
43148 [BZ #14964]
43149 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
43150 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
43151
43152 2013-01-09 David S. Miller <davem@davemloft.net>
43153
43154 [BZ #15003]
43155 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
43156 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
43157 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
43158 (TCP_FASTOPEN): Define.
43159 (tcp_repair_opt): New structure.
43160 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
43161 enum values.
43162 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
43163 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
43164 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
43165 (tcp_cookie_transactions): New structure.
43166
43167 2013-01-09 Anton Blanchard <anton@samba.org>
43168
43169 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
43170 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
43171 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
43172 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
43173
43174 2013-01-09 Joseph Myers <joseph@codesourcery.com>
43175
43176 * include/features.h (__USE_ANSI): Remove.
43177
43178 2013-01-09 Roland McGrath <roland@hack.frob.com>
43179
43180 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
43181
43182 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
43183
43184 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
43185
43186 * sysdeps/s390/fpu/libm-test-ulps: Update.
43187
43188 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43189
43190 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
43191 (__acr): Likewise.
43192 (__cpy): Likewise.
43193 (norm): Likewise.
43194 (denorm): Likewise.
43195 (__mp_dbl): Likewise.
43196 (__dbl_mp): Likewise.
43197 (add_magnitudes): Likewise.
43198 (sub_magnitudes): Likewise.
43199 (__add): Likewise.
43200 (__sub): Likewise.
43201 (__mul): Likewise.
43202 (__inv): Likewise.
43203 (__dvd): Likewise.
43204 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
43205 (__acr): Likewise.
43206 (__cpy): Likewise.
43207 (norm): Likewise.
43208 (denorm): Likewise.
43209 (__mp_dbl): Likewise.
43210 (__dbl_mp): Likewise.
43211 (add_magnitudes): Likewise.
43212 (sub_magnitudes): Likewise.
43213 (__add): Likewise.
43214 (__sub): Likewise.
43215 (__mul): Likewise.
43216 (__inv): Likewise.
43217 (__dvd): Likewise.
43218 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
43219 (__acr): Likewise.
43220 (__cpy): Likewise.
43221 (norm): Likewise.
43222 (denorm): Likewise.
43223 (__mp_dbl): Likewise.
43224 (__dbl_mp): Likewise.
43225 (add_magnitudes): Likewise.
43226 (sub_magnitudes): Likewise.
43227 (__add): Likewise.
43228 (__sub): Likewise.
43229 (__mul): Likewise.
43230 (__inv): Likewise.
43231 (__dvd): Likewise.
43232
43233 2013-01-08 Joseph Myers <joseph@codesourcery.com>
43234
43235 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
43236 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
43237 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
43238 2 && __USE_EXTERN_INLINES]: Likewise.
43239
43240 2013-01-08 Andreas Jaeger <aj@suse.de>
43241
43242 [BZ# 14985]
43243 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
43244 Remove.
43245 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43246 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
43247
43248 2013-01-07 Anton Blanchard <anton@samba.org>
43249
43250 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
43251 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
43252 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
43253 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
43254 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
43255 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
43256 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
43257 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43258 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43259 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43260 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
43261 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
43262 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
43263 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
43264 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
43265 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
43266 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
43267 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
43268 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
43269 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
43270 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
43271 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
43272 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
43273 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
43274 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
43275 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
43276 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43277 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
43278 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
43279 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
43280 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
43281 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43282 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43283 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
43284 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
43285 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
43286 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
43287 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
43288 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
43289 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
43290 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
43291 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43292 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
43293
43294 2013-01-07 Joseph Myers <joseph@codesourcery.com>
43295
43296 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
43297 (__MALLOC_PMT): Likewise.
43298 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
43299 [__GNUC__], only on [_LIBC].
43300 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43301 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
43302 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
43303 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
43304 forward declaration.
43305 (realloc_hook_ini): Likewise.
43306 (memalign_hook_ini): Likewise.
43307 (__libc_memalign): Do not use __MALLOC_PMT in variable
43308 declaration.
43309 (__libc_valloc): Likewise.
43310 (__libc_pvalloc): Likewise.
43311 (__libc_calloc): Likewise.
43312 (__posix_memalign): Likewise.
43313
43314 [BZ #14996]
43315 * math/s_casinh.c: Include <float.h>.
43316 (__casinh): Do not do computation with squaring and square root
43317 for large arguments.
43318 * math/s_casinhf.c: Include <float.h>.
43319 (__casinhf): Do not do computation with squaring and square root
43320 for large arguments.
43321 * math/s_casinhl.c: Include <float.h>.
43322 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
43323 (__casinhl): Do not do computation with squaring and square root
43324 for large arguments.
43325 * math/libm-test.inc (casin_test): Add more tests.
43326 (casinh_test): Likewise.
43327 * sysdeps/i386/fpu/libm-test-ulps: Update.
43328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43329
43330 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
43331
43332 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
43333 (__x86_64_raw_data_cache_size): Likewise.
43334 (__x86_64_data_cache_size_half): Likewise.
43335 (__x86_64_raw_data_cache_size_half): Likewise.
43336 (__x86_64_shared_cache_size): Likewise.
43337 (__x86_64_raw_shared_cache_size): Likewise.
43338 (__x86_64_shared_cache_size_half): Likewise.
43339 (__x86_64_raw_shared_cache_size_half): Likewise.
43340 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
43341 to ...
43342 (__x86_data_cache_size): This.
43343 (__x86_64_raw_data_cache_size): Renamed to ...
43344 (__x86_raw_data_cache_size): This.
43345 (__x86_64_data_cache_size_half): Renamed to ...
43346 (__x86_data_cache_size_half): This.
43347 (__x86_64_raw_data_cache_size_half): Renamed to ...
43348 (__x86_raw_data_cache_size_half): This.
43349 (__x86_64_shared_cache_size): Renamed to ...
43350 (__x86_shared_cache_size): This.
43351 (__x86_64_raw_shared_cache_size): Renamed to ...
43352 (__x86_raw_shared_cache_size): This.
43353 (__x86_64_shared_cache_size_half): Renamed to ...
43354 (__x86_shared_cache_size_half): This.
43355 (__x86_64_raw_shared_cache_size_half): Renamed to ...
43356 (__x86_raw_shared_cache_size_half): This.
43357 * sysdeps/x86_64/memcpy.S: Updated.
43358 * sysdeps/x86_64/memset.S: Likewise.
43359 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
43360 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
43361 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
43362
43363 2013-01-04 David S. Miller <davem@davemloft.net>
43364
43365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43366
43367 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
43368
43369 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
43370 1 to avoid redefinition warning.
43371 (__USE_GNU): Don't define.
43372 (init_signaling_nan): Protoize.
43373
43374 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43375
43376 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43377
43378 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
43379 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
43380 (__cpymn): Likewise.
43381 (norm): Remove commented code.
43382 (denorm): Likewise.
43383 (__mp_dbl): Likewise.
43384 (__inv): Likewise.
43385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
43386 (__cpymn): Likewise.
43387 (norm): Remove commented code.
43388 (denorm): Likewise.
43389 (__mp_dbl): Likewise.
43390 (__inv): Likewise.
43391
43392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
43393 mp_no value for 1.0 and 2.0.
43394 (norm): Use RADIXI instead of radixi.d.
43395 (denorm): Likewise.
43396 (__mul): Use 0.0 instead of zero.d.
43397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
43398 mp_no value for 1.0 and 2.0.
43399 (norm): Use RADIXI instead of radixi.d.
43400 (denorm): Likewise.
43401 (__mul): Use 0.0 instead of zero.d.
43402
43403 2013-01-04 Joseph Myers <joseph@codesourcery.com>
43404
43405 [BZ #14994]
43406 * math/s_casinh.c (__casinh): Reduce finite argument to first
43407 quadrant then set signs of results at the end.
43408 * math/s_casinhf.c (__casinhf): Likewise.
43409 * math/s_casinhl.c (__casinhl): Likewise.
43410 * math/libm-test.inc (casin_test): Add more tests.
43411 (casinh_test): Likewise.
43412 * sysdeps/i386/fpu/libm-test-ulps: Update.
43413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43414
43415 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
43416
43417 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
43418
43419 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
43420
43421 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
43422 declarations.
43423 (denorm): Likewise.
43424 (__mp_dbl): Likewise.
43425 (__inv): Likewise.
43426
43427 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
43428 and adjust the header comment.
43429
43430 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
43431 variable name from declaration.
43432
43433 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
43434
43435 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43436 Initialize COMMON_CPUID_INDEX_7 element.
43437 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
43438 (CPUID_RTM): Likewise.
43439 (HAS_RTM): Likewise.
43440 (COMMON_CPUID_INDEX_7): New enum.
43441
43442 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
43443
43444 [BZ #14981]
43445 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
43446 size is zero, record memory as freed.
43447
43448 2013-01-03 Andreas Jaeger <aj@suse.de>
43449
43450 * po/ia.po: Add new Interlingua translation.
43451
43452 2012-01-03 Allan McRae <allan@archlinux.org>
43453
43454 * locale/programs/localedef.c: Fix description of '--posix' flag.
43455
43456 2013-01-02 Joseph Myers <joseph@codesourcery.com>
43457
43458 * NEWS: Update dates in second copyright notice.
43459 * README: Update copyright dates in example.
43460 * manual/libc.texinfo: Update copyright dates.
43461 * scripts/test-installation.pl: Update copyright date in --version
43462 output.
43463
43464 * hurd/ctty-input.c: Fix copyright notice formatting.
43465 * hurd/ctty-output.c: Likewise.
43466 * hurd/dtable.c: Likewise.
43467 * hurd/hurd-raise.c: Likewise.
43468 * hurd/hurdprio.c: Likewise.
43469 * hurd/msgportdemux.c: Likewise.
43470 * misc/sys/file.h: Likewise.
43471 * misc/sys/ioctl.h: Likewise.
43472 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
43473 * sysdeps/mach/hurd/chdir.c: Likewise.
43474 * sysdeps/mach/hurd/fchdir.c: Likewise.
43475 * sysdeps/mach/hurd/rename.c: Likewise.
43476 * sysdeps/mach/hurd/rmdir.c: Likewise.
43477 * sysdeps/mach/hurd/seekdir.c: Likewise.
43478 * sysdeps/mach/hurd/setsid.c: Likewise.
43479 * sysdeps/posix/wait3.c: Likewise.
43480
43481 * All files with FSF copyright notices: Update copyright dates
43482 using scripts/update-copyrights.
43483 * intl/plural.c: Regenerated.
43484 * locale/programs/charmap-kw.h: Likewise.
43485 * locale/programs/locfile-kw.h: Likewise.
43486
43487 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
43488
43489 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
43490 four values.
43491
43492 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
43493 calculation loop and add branch prediction.
43494
43495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
43496 check access beyond bounds of m1np.
43497
43498 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43499 MPTWO.
43500 (__inv): Remove local variable MPTWO to use the global
43501 constant.
43502 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
43503 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43504 variable MPTWO.
43505 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
43506 MP3HALFS static const.
43507
43508 2013-01-01 David S. Miller <davem@davemloft.net>
43509
43510 * po/ca.po: Update from translation team.
43511
43512 2013-01-01 Joseph Myers <joseph@codesourcery.com>
43513
43514 * scripts/update-copyrights: New file.
43515 * Makeconfig: Reformat copyright notice.
43516 * ctype/ctype.h: Likewise.
43517 * debug/swprintf_chk.c: Likewise.
43518 * elf/dl-cache.c: Likewise.
43519 * elf/dl-debug.c: Likewise.
43520 * elf/dl-object.c: Likewise.
43521 * grp/initgroups.c: Likewise.
43522 * hurd/Makefile: Likewise.
43523 * hurd/hurd/signal.h: Likewise.
43524 * hurd/hurdfault.c: Likewise.
43525 * hurd/hurdioctl.c: Likewise.
43526 * hurd/hurdlookup.c: Likewise.
43527 * hurd/intr-msg.c: Likewise.
43528 * iconv/gconv_open.c: Likewise.
43529 * libio/swprintf.c: Likewise.
43530 * locale/lc-ctype.c: Likewise.
43531 * locale/nl_langinfo.c: Likewise.
43532 * mach/Machrules: Likewise.
43533 * mach/Makefile: Likewise.
43534 * malloc/obstack.h: Likewise.
43535 * manual/Makefile: Likewise.
43536 * manual/tsort.awk: Likewise.
43537 * misc/bits/stab.def: Likewise.
43538 * nis/nis_print_group_entry.c: Likewise.
43539 * nis/nis_table.c: Likewise.
43540 * nis/nss_compat/compat-pwd.c: Likewise.
43541 * nis/nss_compat/compat-spwd.c: Likewise.
43542 * po/Makefile: Likewise.
43543 * posix/fnmatch.c: Likewise.
43544 * posix/regex.h: Likewise.
43545 * resolv/Makefile: Likewise.
43546 * resolv/nss_dns/dns-network.c: Likewise.
43547 * resolv/res_hconf.c: Likewise.
43548 * scripts/gen-sorted.awk: Likewise.
43549 * soft-fp/soft-fp.h: Likewise.
43550 * stdio-common/printf.h: Likewise.
43551 * stdlib/monetary.h: Likewise.
43552 * stdlib/random.c: Likewise.
43553 * stdlib/random_r.c: Likewise.
43554 * sysdeps/generic/Makefile: Likewise.
43555 * sysdeps/gnu/Makefile: Likewise.
43556 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43558 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43559 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43560 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43561 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43562 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43563 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43564 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43565 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43566 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
43567 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
43568 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
43569 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
43570 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
43571 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
43572 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
43573 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43574 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43575 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43576 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43577 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43578 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43579 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
43580 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
43581 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43582 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
43583 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
43584 * sysdeps/mach/hurd/errnos.awk: Likewise.
43585 * sysdeps/mach/hurd/fork.c: Likewise.
43586 * sysdeps/mach/hurd/getcwd.c: Likewise.
43587 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
43588 * sysdeps/mach/hurd/mmap.c: Likewise.
43589 * sysdeps/mach/hurd/utimes.c: Likewise.
43590 * sysdeps/mach/hurd/xmknod.c: Likewise.
43591 * sysdeps/posix/profil.c: Likewise.
43592 * sysdeps/posix/readdir_r.c: Likewise.
43593 * sysdeps/powerpc/bits/mathdef.h: Likewise.
43594 * sysdeps/powerpc/bits/setjmp.h: Likewise.
43595 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
43596 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
43597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
43598 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43599 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43600 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
43601 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
43602 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43603 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43604 * sysdeps/pthread/lio_listio.c: Likewise.
43605 * sysdeps/sparc/dl-procinfo.h: Likewise.
43606 * sysdeps/unix/i386/sysdep.S: Likewise.
43607 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
43608 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
43609 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
43610 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
43611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43612 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
43613 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
43614 * sysdeps/unix/sysv/linux/speed.c: Likewise.
43615 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
43616 * sysdeps/wordsize-32/divdi3.c: Likewise.
43617 * time/sys/time.h: Likewise.
43618 * wcsmbs/Makefile: Likewise.
43619
43620 2013-01-01 David S. Miller <davem@davemloft.net>
43621
43622 * po/fr.po: Update from translation team.
43623
43624 * catgets/gencat.c: Update copyright year.
43625 * csu/version.c: Likewise.
43626 * debug/catchsegv.sh: Likewise.
43627 * debug/pcprofiledump.c: Likewise.
43628 * debug/xtrace.sh: Likewise.
43629 * elf/ldconfig.c: Likewise.
43630 * elf/ldd.bash.in: Likewise.
43631 * elf/pldd.c: Likewise.
43632 * elf/sotruss.ksh: Likewise.
43633 * elf/sprof.c: Likewise.
43634 * iconv/iconv_prog.c: Likewise.
43635 * iconv/iconvconfig.c: Likewise.
43636 * locale/programs/locale.c: Likewise.
43637 * locale/programs/localedef.c: Likewise.
43638 * login/programs/pt_chown.c: Likewise.
43639 * malloc/memusage.sh: Likewise.
43640 * malloc/memusagestat.c: Likewise.
43641 * malloc/mtrace.pl: Likewise.
43642 * nscd/nscd.c: Likewise.
43643 * nss/getent.c: Likewise.
43644 * nss/makedb.c: Likewise.
43645 * posix/getconf.c: Likewise.
43646
43647 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43648
43649 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
43650 numbers.
43651
43652 2012-12-30 Mike Frysinger <vapier@gentoo.org>
43653
43654 * math/bits/mathcalls.h (modf): Use __nonnull.
43655
43656 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43657
43658 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
43659 (split): Use macro CN instead of the bare value.
43660 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
43661 could be used.
43662 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
43663 instead of the bare value.
43664 (power1): Likewise.
43665
43666 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43667
43668 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
43669 __ATAN_TWOM.
43670 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43671
43672 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
43673 their values.
43674 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
43675 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
43676 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
43677 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
43678
43679 2012-12-28 Andreas Jaeger <aj@suse.de>
43680
43681 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
43682 values are from Linux 3.7.
43683
43684 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
43685 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
43686
43687 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43688
43689 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
43690 TRUE case.
43691
43692 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
43693 (norm): Likewise.
43694 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
43695 variables with preprocessor constants.
43696 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
43697 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
43698 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
43699
43700 2012-12-27 Bruno Haible <bruno@clisp.org>
43701
43702 [BZ #14317]
43703 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
43704 only if needed.
43705
43706 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43707
43708 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
43709 and use variable directly.
43710 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
43711
43712 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
43713 MPONE.
43714 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
43715 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
43716 variable MPONE.
43717 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
43718 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43719 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
43720 include directive. Remove local variable MPONE.
43721 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
43722 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
43723 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
43724
43725 2012-12-25 David S. Miller <davem@davemloft.net>
43726
43727 * version.h (RELEASE): Set to "development".
43728 (VERSION): Set to "2.17.90".
43729 * NEWS: Add 2.18 section.
43730
43731 2012-12-21 David S. Miller <davem@davemloft.net>
43732
43733 * po/hr.po: Update from translation team.
43734
43735 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43736
43737 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
43738
43739 2012-12-19 Steve Ellcey <sellcey@mips.com>
43740
43741 * NEWS: Mention new memcpy for MIPS.
43742
43743 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
43744
43745 * manual/contrib.texi (Contributors): Spelling correction.
43746
43747 2012-12-15 David S. Miller <davem@davemloft.net>
43748
43749 * po/ru.po: Update from translation team.
43750
43751 2012-12-13 David S. Miller <davem@davemloft.net>
43752
43753 * NEWS: Mention IFUNC testsuite enhancements.
43754
43755 * po/pl.po: Update from translation team.
43756 * po/bg.po: Likewise.
43757
43758 * manual/contrib.texi (Contributors): Update entries for Hongjiu
43759 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
43760
43761 2012-12-11 David S. Miller <davem@davemloft.net>
43762
43763 * po/sv.po: Update from translation team.
43764
43765 * po/vi.po: Update from translation team.
43766
43767 * po/cs.po: Update from translation team.
43768
43769 * po/de.po: Update from translation team.
43770 * po/eo.po: Likewise.
43771 * po/nl.po: Likewise.
43772
43773 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
43774
43775 [BZ #14246]
43776 * manual/argp.texi (Argp Helper Functions): Move node to follow
43777 Argp Parsing State.
43778
43779 [BZ #14872]
43780 * manual/conf.texi (Limits on File System Capacity): Mention if
43781 terminating null is included in the max size.
43782
43783 2012-12-10 Andreas Jaeger <aj@suse.de>
43784
43785 * po/cs.po: Update from translation team.
43786
43787 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
43788
43789 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
43790 void pointer and cast to uintptr_t.
43791 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
43792 path.
43793 * sysdeps/s390/s390-64/memcpy.S: Likewise.
43794 * sysdeps/s390/s390-64/memset.S: Likewise.
43795
43796 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
43797
43798 [BZ #14833]
43799 * menual/message.texi (Message Translation): Fix typos.
43800 (Helper programs for gettext): Likewise.
43801
43802 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
43803
43804 [BZ #14898]
43805 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
43806 Change to -1.
43807
43808 2012-12-07 David S. Miller <davem@davemloft.net>
43809
43810 * po/libc.pot: Update.
43811
43812 2012-12-07 Richard Henderson <rth@redhat.com>
43813
43814 [BZ #10114]
43815 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
43816 normal/normal case to before the switch.
43817 (_FP_DIV): Likewise.
43818
43819 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
43820 Mike Frysinger <vapier@gentoo.org>
43821
43822 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
43823 check for __NR_fadvise64_64.
43824
43825 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
43826
43827 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
43828 0, not just to plain "0" as a statement.
43829 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
43830 with cw.
43831
43832 2012-12-06 Joseph Myers <joseph@codesourcery.com>
43833
43834 * NEWS: Use sourceware.org in Bugzilla URL.
43835
43836 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
43837
43838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
43839 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43840
43841 * stdio-common/tst-put-error.c (do_test): Add newline to the
43842 padded test to ensure flush.
43843
43844 2012-12-05 Jeff Law <law@redhat.com>
43845
43846 * sunrpc/etc.rpc (fedfs_admin): Add entry.
43847
43848 2012-12-05 Joseph Myers <joseph@codesourcery.com>
43849
43850 * README: Don't refer to ports add-on as distributed separately.
43851 Mention AArch64 in list of systems supported in the ports add-on.
43852
43853 * LICENSES: Add more non-FSF copyright and license notices.
43854
43855 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
43856 ((unused)).
43857
43858 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
43859
43860 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
43861 10000 as width of padded output.
43862
43863 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43864
43865 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
43866
43867 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
43868 variable LX with __attribute__ ((unused)).
43869 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
43870 Likewise.
43871 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
43872 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43873 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
43874 with __attribute__ ((unused)).
43875
43876 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
43877
43878 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
43879
43880 2012-12-04 Joseph Myers <joseph@codesourcery.com>
43881
43882 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
43883 (CFLAGS-nldbl-acos.c): New variable.
43884 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
43885 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
43886 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
43887 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
43888 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
43889 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
43890 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
43891 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
43892 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
43893 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
43894 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
43895 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
43896 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
43897 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
43898 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
43899 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
43900 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
43901 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
43902 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
43903 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
43904 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
43905 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
43906 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
43907 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
43908 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
43909 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
43910 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
43911 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
43912 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
43913 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
43914 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
43915 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
43916 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
43917 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
43918 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
43919 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
43920 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
43921 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
43922 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
43923 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
43924 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
43925 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
43926 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
43927 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
43928 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
43929 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
43930 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
43931 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
43932 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
43933 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
43934 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
43935 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
43936 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
43937 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
43938 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
43939 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
43940 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
43941 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
43942 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
43943 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
43944 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
43945 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
43946 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
43947 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
43948 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
43949 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
43950 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
43951 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
43952 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
43953 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
43954 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
43955 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
43956 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
43957 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
43958 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
43959 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
43960 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
43961 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
43962 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
43963 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
43964 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
43965 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
43966 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
43967 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
43968 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
43969 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
43970 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
43971 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
43972 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
43973 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
43974 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
43975 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
43976 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
43977 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
43978 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
43979 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
43980 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
43981
43982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
43983 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
43984
43985 [BZ #14914]
43986 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
43987 whole low double instead of just low 47 bits when splitting values
43988 into two parts.
43989
43990 2012-12-03 Allan McRae <allan@archlinux.org>
43991
43992 * manual/stdio.texi (Predefined Printf Handlers): Remove
43993 @hsep and @vsep usage.
43994
43995 2012-12-03 Mike Frysinger <vapier@gentoo.org>
43996
43997 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
43998 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
43999
44000 2012-12-03 Jeff Law <law@redhat.com>
44001
44002 * time/sys/time.h (settimeofday): Do not mark TV argument
44003 as __nonnull.
44004
44005 2012-12-01 Mike Frysinger <vapier@gentoo.org>
44006
44007 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
44008 when currently writing and seek to current position when not.
44009 * libio/Makefile (tests): Remove bug-fclose1.
44010 * libio/bug-fclose1.c: Delete.
44011
44012 2012-12-01 Joseph Myers <joseph@codesourcery.com>
44013
44014 * manual/arith.texi (feenableexcept): Fix typo.
44015 (fedisableexcept): Likewise.
44016
44017 2012-11-30 Roland McGrath <roland@hack.frob.com>
44018
44019 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
44020 second, differently-typed declaration, rather than a cast.
44021
44022 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
44023
44024 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
44025 * include/rpc/svc.h: ... here.
44026
44027 2012-11-30 Aurelien Jarno <aurel32@debian.org>
44028
44029 [BZ #13013]
44030 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
44031 depending n and resplen2 to catch cases where answer
44032 equals answerp2.
44033
44034 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
44035
44036 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
44037 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
44038
44039 2012-11-29 Mike Frysinger <vapier@gentoo.org>
44040
44041 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
44042
44043 2012-11-29 Roland McGrath <roland@hack.frob.com>
44044
44045 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
44046
44047 2012-11-28 Jeff Law <law@redhat.com>
44048
44049 [BZ #13761]
44050 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
44051 dataset_temporary. Track alloca usage into alloca_used.
44052 If dataset is large allocate and release it via malloc/free.
44053
44054 2012-06-04 Florian Weimer <fweimer@redhat.com>
44055
44056 [BZ #14197]
44057 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
44058
44059 2012-11-28 David S. Miller <davem@davemloft.net>
44060
44061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44062
44063 2012-11-28 Joseph Myers <joseph@codesourcery.com>
44064
44065 [BZ #14803]
44066 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
44067 of pi/2 rounded to nearest to 64 bits.
44068 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
44069 nearest to 64 bits.
44070 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
44071 bits.
44072
44073 2012-11-28 Jeff Law <law@redhat.com>
44074 Martin Osvald <mosvald@redhat.com>
44075
44076 [BZ #14889]
44077 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
44078 * sunrpc/svc.c: Include time.h.
44079 (__svc_accept_failed): New function.
44080 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
44081 any reason other than EINTR, call __svc_accept_failed.
44082 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
44083 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
44084
44085 2012-11-28 Andreas Schwab <schwab@suse.de>
44086
44087 * scripts/abilist.awk: Also handle indirect functions in .opd
44088 section.
44089
44090 2012-11-28 Joseph Myers <joseph@codesourcery.com>
44091
44092 [BZ #13881]
44093 * sysdeps/x86/fpu/powl_helper.c: New file.
44094 * sysdeps/x86/fpu/Makefile: Likewise.
44095 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
44096 (p3): New object.
44097 (__ieee754_powl): Use __powl_helper for finite arguments except
44098 integer exponents below 8.
44099 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
44100 (p3): New object.
44101 (__ieee754_powl): Use __powl_helper for finite arguments except
44102 integer exponents below 8.
44103 * math/libm-test.inc (pow_test): Add more tests and enable some
44104 previously disabled tests.
44105 * sysdeps/i386/fpu/libm-test-ulps: Update.
44106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44107
44108 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
44109 Carlos O'Donell <carlos_odonell@mentor.com>
44110
44111 * nss/makedb.c (is_prime): Assert that input is odd and greater
44112 than 4. Note that fact in a comment too.
44113 (next_prime): Add 4 to input.
44114
44115 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
44116
44117 [BZ #11741]
44118 * libio/Makefile (tests): Add test case tst-fwrite-error.
44119 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
44120 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
44121 * libio/tst-fwrite-error.c: New test case.
44122
44123 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
44124
44125 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
44126 before casting to void *.
44127 * include/libc-internal.h (__pointer_type): New macro.
44128 (__integer_if_pointer_type_sub): Likewise.
44129 (__integer_if_pointer_type): Likewise.
44130 (cast_to_integer): Likewise.
44131 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
44132 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
44133 before casting to atomic64_t.
44134 (atomic_exchange_acq): Likewise.
44135 (__arch_exchange_and_add_body): Likewise.
44136 (__arch_add_body): Likewise.
44137 (atomic_add_negative): Likewise.
44138 (atomic_add_zero): Likewise.
44139
44140 2012-11-26 Joseph Myers <joseph@codesourcery.com>
44141
44142 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
44143 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
44144 (add_fdes): Likewise.
44145 (linear_search_fdes): Likewise.
44146 (binary_search_unencoded_fdes): Likewise.
44147
44148 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
44149
44150 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
44151
44152 2012-11-24 Adam Conrad <adconrad@0c3.net>
44153
44154 * configure.in: Autodetect C++ header directories.
44155 * configure: Regenerated.
44156
44157 2012-11-23 Mike Frysinger <vapier@gentoo.org>
44158
44159 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
44160
44161 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
44162
44163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44164
44165 2012-11-22 Joseph Myers <joseph@codesourcery.com>
44166
44167 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
44168 LDBL_MANT_DIG == 106]: Disable some tests.
44169 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44170 Likewise.
44171 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
44172 Likewise.
44173
44174 [BZ #14871]
44175 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
44176 input for small inputs. Return +/- pi/2 for large inputs.
44177 * math/libm-test.inc (atan_test): Add more tests.
44178
44179 * sysdeps/generic/unwind-dw2-fde-glibc.c
44180 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
44181 __attribute__ ((unused)).
44182
44183 [BZ #14645]
44184 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
44185 x * y if x and y are nonzero and z is zero.
44186
44187 [BZ #14811]
44188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
44189 nonzero exponents with absolute value below 0x1p-117 to +/-
44190 0x1p-117.
44191
44192 [BZ #14869]
44193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
44194 up arguments below 2**-450, not just those below 2**-500.
44195 * math/libm-test.inc (hypot_test): Add another test.
44196
44197 [BZ #14868]
44198 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
44199 Return a+b for ratio over 2**120, not 2**60.
44200 * math/libm-test.inc (hypot_test): Add another test.
44201
44202 * math/libm-test.inc (clog_test): Use
44203 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
44204 (clog10_test): Likewise.
44205
44206 [BZ #6778]
44207 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
44208
44209 2012-11-22 Andreas Schwab <schwab@suse.de>
44210
44211 * sysdeps/i386/fpu/libm-test-ulps: Update.
44212
44213 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
44214
44215 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
44216 printf output with newline.
44217
44218 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
44219
44220 [BZ #14865]
44221 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
44222 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
44223 -z nodlopen, -z initfirst and -z execstack support.
44224 * configure: Regenerated.
44225
44226 * elf/elf.h (DF_1_NODIRECT): New macro.
44227 (DF_1_IGNMULDEF): Likewise.
44228 (DF_1_NOKSYMS): Likewise.
44229 (DF_1_NOHDR): Likewise.
44230 (DF_1_EDITED): Likewise.
44231 (DF_1_NORELOC): Likewise.
44232 (DF_1_SYMINTPOSE): Likewise.
44233 (DF_1_GLOBAUDIT): Likewise.
44234 (DF_1_SINGLETON): Likewise.
44235 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
44236 DT_1_SUPPORTED_MASK bits.
44237 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
44238
44239 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
44240
44241 * sysdeps/unix/make-syscalls.sh: Document prefixes.
44242
44243 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
44244
44245 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
44246 macro.
44247
44248 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
44249 (sendmmsg): Move declarations...
44250 * socket/sys/socket.h: ... here.
44251 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
44252 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
44253 include it from...
44254 * socket/recvmmsg.c: ... this new file.
44255 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
44256 (sendmmsg): Rename to __sendmmsg, create weak alias and make
44257 definition of __sendmmsg hidden.
44258 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
44259 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
44260 Move ENOSYS stub into and include it from...
44261 * socket/sendmmsg.c: ... this new file.
44262 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
44263 (sysdep_routines): Move recvmmsg and sendmmsg...
44264 * socket/Makefile (routines): ... here.
44265 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
44266 (GLIBC_PRIVATE): Add __sendmmsg.
44267 * include/sys/socket.h (__sendmmsg): Add declarations.
44268 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
44269 sendmmsg.
44270
44271 2012-11-20 Joseph Myers <joseph@codesourcery.com>
44272
44273 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
44274 variable I1 with __attribute__ ((unused)).
44275 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44276
44277 2012-11-19 Joseph Myers <joseph@codesourcery.com>
44278
44279 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
44280 DUMMY variables with __attribute__ ((unused)).
44281
44282 * bits/byteswap.h: Include <bits/types.h>.
44283 (__bswap_64): Use __uint64_t instead of unsigned long long int.
44284
44285 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
44286
44287 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
44288 string_t. Do not manually set errno.
44289 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
44290 length with __strnlen. Make sure to both set errno and return it on
44291 failure.
44292
44293 2012-11-19 David S. Miller <davem@davemloft.net>
44294
44295 With help from Joseph Myers.
44296 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
44297 very large arguments properly.
44298 * math/libm-test.inc (atan_test): New tests.
44299 (atan2_test): New tests.
44300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44302
44303 2012-11-19 Joseph Myers <joseph@codesourcery.com>
44304
44305 [BZ #14856]
44306 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
44307 Define to 3.
44308
44309 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
44310 [POSIX] (EADDRNOTAVAIL): Likewise.
44311 [POSIX] (EAFNOSUPPORT): Likewise.
44312 [POSIX] (EALREADY): Likewise.
44313 [POSIX] (ECONNABORTED): Likewise.
44314 [POSIX] (ECONNREFUSED): Likewise.
44315 [POSIX] (ECONNRESET): Likewise.
44316 [POSIX] (EDESTADDRREQ): Likewise.
44317 [POSIX] (EDQUOT): Likewise.
44318 [POSIX] (EHOSTUNREACH): Likewise.
44319 [POSIX] (EIDRM): Likewise.
44320 [POSIX] (EISCONN): Likewise.
44321 [POSIX] (ELOOP): Likewise.
44322 [POSIX] (EMULTIHOP): Likewise.
44323 [POSIX] (ENETDOWN): Likewise.
44324 [POSIX] (ENETUNREACH): Likewise.
44325 [POSIX] (ENOBUFS): Likewise.
44326 [POSIX] (ENODATA): Likewise.
44327 [POSIX] (ENOLINK): Likewise.
44328 [POSIX] (ENOMSG): Likewise.
44329 [POSIX] (ENOPROTOOPT): Likewise.
44330 [POSIX] (ENOSR): Likewise.
44331 [POSIX] (ENOSTR): Likewise.
44332 [POSIX] (ENOTCONN): Likewise.
44333 [POSIX] (ENOTSOCK): Likewise.
44334 [POSIX] (EOPNOTSUPP): Likewise.
44335 [POSIX] (EOVERFLOW): Likewise.
44336 [POSIX] (EPROTO): Likewise.
44337 [POSIX] (EPROTONOSUPPORT): Likewise.
44338 [POSIX] (EPROTOTYPE): Likewise.
44339 [POSIX] (ESTALE): Likewise.
44340 [POSIX] (ETIME): Likewise.
44341 [POSIX] (ETXTBSY): Likewise.
44342 [POSIX] (EWOULDBLOCK): Likewise.
44343 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
44344 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
44345 [POSIX] (SEEK_CUR): Likewise.
44346 [POSIX] (SEEK_END): Likewise.
44347 [POSIX || UNIX98] (mode_t): Do not require.
44348 [POSIX] (off_t): Likewise.
44349 [POSIX] (pid_t): Likewise.
44350 [POSIX] (sys/stat.h): Do not allow header.
44351 [POSIX] (unistd.h): Likewise.
44352 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
44353 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
44354 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
44355 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
44356 require.
44357 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
44358 sigevent): Specify elements.
44359 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
44360 entry.
44361 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
44362 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
44363
44364 * conform/data/cpio.h-data [POSIX]: Disable whole file.
44365 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
44366 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
44367 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
44368 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
44369 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
44370 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
44371 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
44372 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
44373 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
44374 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
44375 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
44376 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
44377 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
44378 Likewise.
44379 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
44380 Likewise.
44381 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
44382 Likewise.
44383 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
44384 Likewise.
44385 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
44386 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
44387 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
44388 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
44389 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
44390 Specify lower bound on value.
44391 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
44392 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
44393 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
44394 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
44395 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
44396 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
44397 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
44398 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
44399 value.
44400 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
44401 as optional.
44402 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
44403 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
44404 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
44405 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
44406 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
44407 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
44408 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
44409 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
44410 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
44411 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
44412 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
44413 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
44414 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
44415 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
44416 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
44417 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
44418 entry.
44419 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
44420 optional.
44421 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
44422 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
44423 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
44424 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
44425 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
44426 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
44427 Likewise.
44428 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
44429 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
44430 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
44431 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
44432 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
44433 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
44434 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
44435 as optional.
44436 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
44437 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
44438 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
44439 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
44440 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
44441 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
44442 specify as optional.
44443 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
44444 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
44445 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
44446 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
44447 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
44448 [XPG3] (NL_LANGMAX): Likewise.
44449 [POSIX || XPG3] (NL_MSGMAX): Likewise.
44450 [POSIX || XPG3] (NL_NMAX): Likewise.
44451 [POSIX || XPG3] (NL_SETMAX): Likewise.
44452 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
44453 [XPG3] (NZERO): Likewise.
44454 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
44455 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
44456 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
44457 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
44458 (REG_ERANGE): Expect.
44459 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
44460 optional-constant.
44461 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
44462 Use (void) in prototype.
44463 [POSIX] (*_t): Allow.
44464 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
44465 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
44466 (WRDE_BADVAL): Expect.
44467
44468 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
44469 expect.
44470 [XPG3 || XPG4] (O_RSYNC): Likewise.
44471 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
44472 Likewise.
44473 [XPG3 || XPG4] (pthread_sigmask): Likewise.
44474 [XPG3 || XPG4] (sigqueue): Likewise.
44475 [XPG3 || XPG4] (sigtimedwait): Likewise.
44476 [XPG3 || XPG4] (sigwaitinfo): Likewise.
44477 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
44478 [XPG3 || XPG4] (vsnprintf): Likewise.
44479 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
44480 Likewise.
44481 [XPG3 || XPG4] (blksize_t): Likewise.
44482 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
44483 Likewise.
44484 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
44485 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
44486 [XPG3 || XPG4] (struct itimerspec): Likewise.
44487 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
44488 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
44489 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
44490 [XPG3 || XPG4] (clockid_t): Likewise.
44491 [XPG3 || XPG4] (timer_t): Likewise.
44492 [XPG3 || XPG4] (clock_getres): Likewise.
44493 [XPG3 || XPG4] (clock_gettime): Likewise.
44494 [XPG3 || XPG4] (clock_settime): Likewise.
44495 [XPG3 || XPG4] (nanosleep): Likewise.
44496 [XPG3 || XPG4] (timer_create): Likewise.
44497 [XPG3 || XPG4] (timer_delete): Likewise.
44498 [XPG3 || XPG4] (timer_gettime): Likewise.
44499 [XPG3 || XPG4] (timer_getoverrun): Likewise.
44500 [XPG3 || XPG4] (timer_settime): Likewise.
44501 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
44502 [XPG3 || XPG4] (getlogin_r): Likewise.
44503 [XPG3 || XPG4] (pread): Likewise.
44504 [XPG3 || XPG4] (pthread_atfork): Likewise.
44505 [XPG3 || XPG4] (pwrite): Likewise.
44506
44507 [BZ #14835]
44508 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
44509 <bits/siginfo.h>.
44510
44511 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
44512
44513 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
44514 finalizing MALLSTREAM.
44515
44516 * sysdeps/mach/hurd/syncfs.c: New file.
44517
44518 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
44519
44520 [BZ #14719]
44521 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
44522 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
44523 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
44524 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
44525 (_nss_dns_gethostbyname4_r): Likewise.
44526 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
44527 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
44528
44529 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
44530
44531 [BZ #13763]
44532 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
44533
44534 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
44535
44536 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
44537 * elf/cache.c (print_entry): Print ",AArch64" for
44538 FLAG_AARCH64_LIB64
44539
44540 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
44541 * elf/cache.c (print_entry): Print ",hard-float" for
44542 FLAG_ARM_LIBHF.
44543
44544 2012-11-18 David S. Miller <davem@davemloft.net>
44545
44546 With help from Joseph Myers.
44547 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
44548 cutoff to 2**-13.
44549 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
44550 cutoff to 2**-25.
44551 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
44552 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
44553 small.
44554 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
44555 * math/libm-test.inc (y0_test): New tests.
44556 (y1_test): New tests.
44557 * sysdeps/i386/fpu/libm-test-ulps: Update.
44558 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44560
44561 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
44562
44563 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
44564 64-bit targets.
44565 * configure: Regenerated.
44566
44567 2012-11-17 David S. Miller <davem@davemloft.net>
44568
44569 [BZ #14811]
44570 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
44571 nonzero exponents with absolute value below 0x1p-128 to +/-
44572 0x1p-128.
44573
44574 2012-11-17 Joseph Myers <joseph@codesourcery.com>
44575
44576 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
44577
44578 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
44579
44580 * posix/getconf-speclist.c: New file.
44581 * posix/posix-envs.def: Likewise.
44582 * posix/confstr.c (START_ENV_GROUP): New macro.
44583 (END_ENV_GROUP): Likewise.
44584 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44585 (KNOWN_PRESENT_ENV_STRING): Likewise.
44586 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44587 (UNKNOWN_ENVIRONMENT): Likewise.
44588 (confstr): Include posix-envs.def instead of handling
44589 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
44590 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
44591 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
44592 (END_ENV_GROUP): Likewise.
44593 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
44594 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
44595 (UNKNOWN_ENVIRONMENT): Likewise.
44596 (__sysconf): Include posix-envs.def instead of handling associated
44597 cases directly here.
44598 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
44599 preprocessing getconf-speclist.c rather than running getconf or
44600 generating empty file.
44601
44602 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
44603
44604 * scripts/check-local-headers.sh: Ignore 'mach' headers.
44605
44606 2012-11-16 Andrej Lajovic <natrij@gmail.com>
44607
44608 [BZ #14672]
44609 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
44610
44611 2012-11-16 David S. Miller <davem@davemloft.net>
44612
44613 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
44614 smaller than LDBL_EPSILON/2.0L, just return xm1.
44615
44616 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
44617
44618 * elf/tst-array1.c (init): Set constructor priority to 1000.
44619 (fini): Set destructor priority to 1000.
44620 * elf/tst-array2dep.c: Likewise.
44621
44622 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44623
44624 [BZ #11741]
44625 * libio/fileops.c (_IO_new_file_write): Correctly return error.
44626 (_IO_new_file_xsputn): Also return EOF if none of the input
44627 data was written when overflow failed.
44628 * libio/iopadn.c (_IO_padn): Likewise.
44629 * libio/iowpadn.c (_IO_wpadn): Likewise.
44630 * stdio-common/tst-put-error.c: Add copyright notice.
44631 (do_test): Add case for printing padded string.
44632 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
44633 _IO_padn returned error.
44634 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
44635 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
44636 return EOF.
44637
44638 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
44639
44640 * libio/libioP.h: Add comment note that the references to C++
44641 bits are now obsolete.
44642
44643 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44644
44645 * math/libm-test.inc (check_complex): Use asprintf.
44646
44647 2012-11-14 Joseph Myers <joseph@codesourcery.com>
44648
44649 * debug/pcprofiledump.c (print_version): Update copyright year.
44650 * malloc/memusagestat.c (print_version): Likewise.
44651
44652 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
44653
44654 [BZ #14831]
44655 * elf/Makefile (tests): Add tst-audit8.
44656 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
44657 ($(objpfx)tst-audit8.out): New target.
44658 (tst-audit8-ENV): New variable.
44659 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
44660 audit if l_reloc_result is NULL.
44661 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
44662 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
44663 * elf/tst-audit8.c: New file.
44664
44665 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44666
44667 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
44668 * misc/Makefile (CFLAGS-select.c): Define.
44669 * posix/Makefile (CFLAGS-pause.c): Define.
44670
44671 2012-11-13 David S. Miller <davem@davemloft.net>
44672
44673 * crypt/Makefile: Move test targets after toplevel Rules
44674 inclusion. Grab any necessary sysdep routines when linking.
44675 * crypt/md5.c (md5_process_block): Remove define, we will always
44676 name it __md5_process_block.
44677 (md5_finish_ctx): Update md5_process_block call.
44678 (md5_stream): Likewise.
44679 (md5_process_bytes): Likewise.
44680 (md5_process_block): Rename to __md5_process_block and move to ...
44681 * crypt/md5-block.c: ... here.
44682 * crypt/sha256.c (sha256_process_block): Move to ...
44683 * crypt/sha256-block.c: ... here.
44684 * crypt/sha512.c (sha512_process_block): Move to ...
44685 * crypt/sha512-block.c: ... here.
44686 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
44687 path.
44688 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
44689 * sysdeps/sparc/sparc64/multiarch/Makefile
44690 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
44691 crypt subdir.
44692 (localedef-aux): Add md5 crypto assembler when in locale subdir.
44693 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
44694 multiarch changes.
44695 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
44696 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
44697 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
44698 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
44699 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
44700 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
44701 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
44702 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
44703 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
44704 file.
44705 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
44706 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
44707 file.
44708 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
44709
44710 2012-11-13 Joseph Myers <joseph@codesourcery.com>
44711
44712 * timezone/tzselect.ksh: Update from tzcode git revision
44713 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
44714 * timezone/zdump.c: Likewise.
44715 * timezone/zic.c: Likewise.
44716 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
44717 in TZVERSION setting, not $(PKGVERSION).
44718 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
44719 REPORT_BUGS_TO settings.
44720
44721 [BZ #14838]
44722 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
44723 macro.
44724
44725 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44726
44727 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
44728 detection to immediately after _FP_ROUND().
44729 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
44730 bits are 0.
44731
44732 2012-11-11 David S. Miller <davem@davemloft.net>
44733
44734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
44735 inttypes.h
44736 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
44737 __close rather than their public counterparts.
44738
44739 2012-11-10 Joseph Myers <joseph@codesourcery.com>
44740
44741 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
44742 file.
44743 [UNIX98] (sem_timedwait): Do not expect.
44744 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
44745 [XPG4 || UNIX98] (sockatmark): Do not expect.
44746 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
44747 (clock_getcpuclockid): Do not expect.
44748 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
44749 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
44750 Do not expect.
44751 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
44752 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
44753 [UNIX98] (vwscanf): Likewise.
44754 [UNIX98] (vswscanf): Likewise.
44755
44756 2012-11-09 Joseph Myers <joseph@codesourcery.com>
44757
44758 * timezone/version.h: Remove file.
44759 * timezone/README: Do not refer to version.h.
44760 * timezone/Makefile ($(objpfx)zic.o): New dependency on
44761 $(objpfx)version.h.
44762 ($(objpfx)zdump.o): Likewise.
44763 ($(objpfx)version.h): New target.
44764
44765 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
44766 2012i.
44767 * timezone/README: Don't mention modification to tzselect.ksh.
44768 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
44769 work on unmodified tzselect.ksh. Substitute version numbers in
44770 tzselect.ksh.
44771
44772 * Makefile (format-me): Remove.
44773 (INSTALL): Adjust indentation. Use commands directly instead of
44774 using $(format-me).
44775
44776 * aclocal.m4 (ACX_PKGVERSION): New macro.
44777 (ACX_BUGURL): Likewise.
44778 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
44779 (PKGVERSION): New AC_DEFINE_UNQUOTED.
44780 (REPORT_BUGS_TO): Likewise.
44781 * configure: Regenerated.
44782 * config.h.in (PKGVERSION): New macro.
44783 (REPORT_BUGS_TO): Likewise.
44784 * config.make.in (PKGVERSION): New variable.
44785 (PKGVERSION_TEXI): Likewise.
44786 (REPORT_BUGS_TO): Likewise.
44787 (REPORT_BUGS_TEXI): Likewise.
44788 * Makefile (format-me): Use -I$(common-objpfx)manual.
44789 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
44790 ($(common-objpfx)manual/%): New target.
44791 (manual/%): Remove target.
44792 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
44793 (print_version): Use PKGVERSION.
44794 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
44795 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
44796 and REPORT_BUGS_TO.
44797 ($(objpfx)xtrace): Likewise.
44798 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
44799 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
44800 (print_version): Use PKGVERSION.
44801 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
44802 (do_version): Use PKGVERSION.
44803 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
44804 REPORT_BUGS_TO.
44805 (common-ldd-rewrite): Likewise.
44806 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
44807 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
44808 (print_version): Use PKGVERSION.
44809 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
44810 * elf/pldd.c (argp_program_bug_address): Remove variable.
44811 (more_help): New function.
44812 (argp): Use more_help.
44813 (print_version): Use PKGVERSION.
44814 * elf/sln.c (main): Use PKGVERSION.
44815 (usage): Use REPORT_BUGS_TO.
44816 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
44817 (top level): Use PKGVERSION.
44818 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
44819 (print_version): Use PKGVERSION.
44820 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
44821 (print_version): Use PKGVERSION.
44822 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
44823 (print_version): Use PKGVERSION.
44824 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
44825 (print_version): Use PKGVERSION.
44826 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
44827 (print_version): Use PKGVERSION.
44828 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
44829 (print_version): Use PKGVERSION.
44830 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
44831 and BUGURL.
44832 ($(objpfx)memusage): Likewise.
44833 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
44834 (do_version): Use PKGVERSION.
44835 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
44836 (print_version): Use PKGVERSION.
44837 * malloc/mtrace.pl ($PACKAGE): Remove variable.
44838 ($PKGVERSION): New variable.
44839 ($REPORT_BUGS_TO): Likewise.
44840 (usage): Use $REPORT_BUGS_TO.
44841 (top level): Use $PKGVERSION.
44842 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
44843 ($(objpfx)pkgvers.texi): New rule.
44844 ($(objpfx)stamp-pkgvers): Likewise.
44845 * manual/install.texi: Include pkgvers.texi.
44846 (--with-pkgversion): Document new configure option.
44847 (--with-bugurl): Likewise.
44848 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
44849 than necessarily for this particular distribution. Use
44850 REPORT_BUGS_TO for where to report bugs.
44851 * INSTALL: Regenerated.
44852 * manual/libc.texinfo: Include pkgvers.texi.
44853 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
44854 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
44855 (print_version): Use PKGVERSION.
44856 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
44857 (print_version): Use PKGVERSION.
44858 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
44859 (print_version): Use PKGVERSION.
44860 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
44861 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
44862 macro.
44863 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
44864 (print_version): Use PKGVERSION.
44865 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
44866 (print_version): Use PKGVERSION.
44867 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
44868 and PKGVERSION.
44869
44870 * timezone/checktab.awk: Update from tzcode 2012i.
44871 * timezone/ialloc.c: Likewise.
44872 * timezone/private.h: Likewise.
44873 * timezone/scheck.c: Likewise.
44874 * timezone/tzfile.h: Likewise.
44875 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
44876 (TZVERSION): Hardcode tzcode version number.
44877 * timezone/zdump.c: Update from tzcode 2012i.
44878 * timezone/zic.c: Likewise.
44879 * timezone/version.h: New file.
44880 * timezone/README: Describe version.h. Update upstream location.
44881
44882 [BZ #14824]
44883 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
44884 (mktemp): Enable declaration.
44885 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
44886 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
44887 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
44888 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
44889 Likewise.
44890 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
44891 Likewise.
44892 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
44893 Likewise.
44894 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
44895 Likewise.
44896 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
44897 Likewise.
44898 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
44899 Likewise.
44900
44901 [BZ #14821]
44902 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
44903 offset in buffer as u_int32_t not u_long. Consistently use memcpy
44904 for copies of such integer values.
44905 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44906 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44907
44908 2012-11-09 Andreas Jaeger <aj@suse.de>
44909
44910 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
44911 definitions and declarations that are provided by
44912 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
44913
44914 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
44915
44916 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
44917 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
44918 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
44919 definition.
44920
44921 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
44922
44923 * elf/elf.h: Update comment before AArch64 relocations.
44924
44925 2012-11-07 David S. Miller <davem@davemloft.net>
44926
44927 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
44928 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44929 (__start_context): Declare.
44930 (__makecontext_ret): Delete.
44931 (__makecontext): Hook up __start_context instead of
44932 __makecontext_ret.
44933 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
44934 (sysdep_routines): Add __start_context when in stdlib.
44935
44936 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44937
44938 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
44939 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
44940 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
44941 hardcoded "nm".
44942 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
44943 (READELF): New variable. Use it instead of hardcoded "readelf".
44944
44945 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
44946
44947 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
44948 * sysdeps/x86/Makefile: Here.
44949 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
44950 * sysdeps/x86/tst-xmmymm.sh: This.
44951
44952 2012-11-07 Joseph Myers <joseph@codesourcery.com>
44953
44954 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
44955 expectations.
44956 [UNIX98] (pthread_barrier_t): Do not expect.
44957 [UNIX98] (pthread_barrierattr_t): Likewise.
44958 [UNIX98] (pthread_spinlock_t): Likewise.
44959 [UNIX98] (pthread_barrier_destroy): Likewise.
44960 [UNIX98] (pthread_barrier_init): Likewise.
44961 [UNIX98] (pthread_barrier_wait): Likewise.
44962 [UNIX98] (pthread_barrierattr_destroy): Likewise.
44963 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
44964 [UNIX98] (pthread_barrierattr_init): Likewise.
44965 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
44966 [UNIX98] (pthread_getcpuclockid): Likewise.
44967 [UNIX98] (pthread_mutex_timedlock): Likewise.
44968 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
44969 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
44970 [UNIX98] (pthread_sigmask): Likewise.
44971 [UNIX98] (pthread_spin_destroy): Likewise.
44972 [UNIX98] (pthread_spin_init): Likewise.
44973 [UNIX98] (pthread_spin_lock): Likewise.
44974 [UNIX98] (pthread_spin_trylock): Likewise.
44975 [UNIX98] (pthread_spin_unlock): Likewise.
44976 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
44977 Do not expect.
44978 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
44979 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
44980 [XPG3 || XPG4] (pthread_cond_t): Likewise.
44981 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
44982 [XPG3 || XPG4] (pthread_key_t): Likewise.
44983 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
44984 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
44985 [XPG3 || XPG4] (pthread_once_t): Likewise.
44986 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
44987 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
44988 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
44989 [XPG3 || XPG4] (pthread_t): Likewise.
44990
44991 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
44992 not expect.
44993 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
44994
44995 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
44996 Change function return type to int.
44997
44998 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
44999 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
45000 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
45001 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
45002 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
45003 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
45004 [!POSIX] (posix_madvise): Likewise.
45005 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
45006 && !UNIX98].
45007 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
45008 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
45009 (mode_t): Likewise.
45010 (posix_mem_offset): Likewise.
45011 (posix_typed_mem_get_info): Likewise.
45012 (posix_typed_mem_open): Likewise.
45013
45014 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
45015 Change condition to [XOPEN2K8].
45016
45017 * conform/conformtest.pl: Preprocess allow-header data with -x c
45018 instead of from stdin.
45019 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
45020 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
45021 [C99-based standards] (cerfc): Likewise.
45022 [C99-based standards] (cexp2): Likewise.
45023 [C99-based standards] (cexpm1): Likewise.
45024 [C99-based standards] (clog10): Likewise.
45025 [C99-based standards] (clog1p): Likewise.
45026 [C99-based standards] (clog2): Likewise.
45027 [C99-based standards] (clgamma): Likewise.
45028 [C99-based standards] (ctgamma): Likewise.
45029 [C99-based standards] (cerff): Likewise.
45030 [C99-based standards] (cerfcf): Likewise.
45031 [C99-based standards] (cexp2f): Likewise.
45032 [C99-based standards] (cexpm1f): Likewise.
45033 [C99-based standards] (clog10f): Likewise.
45034 [C99-based standards] (clog1pf): Likewise.
45035 [C99-based standards] (clog2f): Likewise.
45036 [C99-based standards] (clgammaf): Likewise.
45037 [C99-based standards] (ctgammaf): Likewise.
45038 [C99-based standards] (cerfl): Likewise.
45039 [C99-based standards] (cerfcl): Likewise.
45040 [C99-based standards] (cexp2l): Likewise.
45041 [C99-based standards] (cexpm1l): Likewise.
45042 [C99-based standards] (clog10l): Likewise.
45043 [C99-based standards] (clog1pl): Likewise.
45044 [C99-based standards] (clog2l): Likewise.
45045 [C99-based standards] (clgammal): Likewise.
45046 [C99-based standards] (ctgammal): Likewise.
45047 * conform/data/inttypes.h-data [C99-based standards]: Include
45048 stdint.h-data. Remove all expectations for stdint.h contents.
45049 [C99-based standards] (PRI*): Do not allow.
45050 [C99-based standards] (SCN*): Likewise.
45051 [C99-based standards] (*_t): Likewise.
45052 [C99-based-standards] (PRId8): Expect macro.
45053 [C99-based-standards] (PRIi8): Likewise.
45054 [C99-based-standards] (PRIo8): Likewise.
45055 [C99-based-standards] (PRIu8): Likewise.
45056 [C99-based-standards] (PRIx8): Likewise.
45057 [C99-based-standards] (PRIX8): Likewise.
45058 [C99-based-standards] (SCNd8): Likewise.
45059 [C99-based-standards] (SCNi8): Likewise.
45060 [C99-based-standards] (SCNo8): Likewise.
45061 [C99-based-standards] (SCNu8): Likewise.
45062 [C99-based-standards] (SCNx8): Likewise.
45063 [C99-based-standards] (PRIdLEAST8): Likewise.
45064 [C99-based-standards] (PRIiLEAST8): Likewise.
45065 [C99-based-standards] (PRIoLEAST8): Likewise.
45066 [C99-based-standards] (PRIuLEAST8): Likewise.
45067 [C99-based-standards] (PRIxLEAST8): Likewise.
45068 [C99-based-standards] (PRIXLEAST8): Likewise.
45069 [C99-based-standards] (SCNdLEAST8): Likewise.
45070 [C99-based-standards] (SCNiLEAST8): Likewise.
45071 [C99-based-standards] (SCNoLEAST8): Likewise.
45072 [C99-based-standards] (SCNuLEAST8): Likewise.
45073 [C99-based-standards] (SCNxLEAST8): Likewise.
45074 [C99-based-standards] (PRIdFAST8): Likewise.
45075 [C99-based-standards] (PRIiFAST8): Likewise.
45076 [C99-based-standards] (PRIoFAST8): Likewise.
45077 [C99-based-standards] (PRIuFAST8): Likewise.
45078 [C99-based-standards] (PRIxFAST8): Likewise.
45079 [C99-based-standards] (PRIXFAST8): Likewise.
45080 [C99-based-standards] (SCNdFAST8): Likewise.
45081 [C99-based-standards] (SCNiFAST8): Likewise.
45082 [C99-based-standards] (SCNoFAST8): Likewise.
45083 [C99-based-standards] (SCNuFAST8): Likewise.
45084 [C99-based-standards] (SCNxFAST8): Likewise.
45085 [C99-based-standards] (PRId16): Likewise.
45086 [C99-based-standards] (PRIi16): Likewise.
45087 [C99-based-standards] (PRIo16): Likewise.
45088 [C99-based-standards] (PRIu16): Likewise.
45089 [C99-based-standards] (PRIx16): Likewise.
45090 [C99-based-standards] (PRIX16): Likewise.
45091 [C99-based-standards] (SCNd16): Likewise.
45092 [C99-based-standards] (SCNi16): Likewise.
45093 [C99-based-standards] (SCNo16): Likewise.
45094 [C99-based-standards] (SCNu16): Likewise.
45095 [C99-based-standards] (SCNx16): Likewise.
45096 [C99-based-standards] (PRIdLEAST16): Likewise.
45097 [C99-based-standards] (PRIiLEAST16): Likewise.
45098 [C99-based-standards] (PRIoLEAST16): Likewise.
45099 [C99-based-standards] (PRIuLEAST16): Likewise.
45100 [C99-based-standards] (PRIxLEAST16): Likewise.
45101 [C99-based-standards] (PRIXLEAST16): Likewise.
45102 [C99-based-standards] (SCNdLEAST16): Likewise.
45103 [C99-based-standards] (SCNiLEAST16): Likewise.
45104 [C99-based-standards] (SCNoLEAST16): Likewise.
45105 [C99-based-standards] (SCNuLEAST16): Likewise.
45106 [C99-based-standards] (SCNxLEAST16): Likewise.
45107 [C99-based-standards] (PRIdFAST16): Likewise.
45108 [C99-based-standards] (PRIiFAST16): Likewise.
45109 [C99-based-standards] (PRIoFAST16): Likewise.
45110 [C99-based-standards] (PRIuFAST16): Likewise.
45111 [C99-based-standards] (PRIxFAST16): Likewise.
45112 [C99-based-standards] (PRIXFAST16): Likewise.
45113 [C99-based-standards] (SCNdFAST16): Likewise.
45114 [C99-based-standards] (SCNiFAST16): Likewise.
45115 [C99-based-standards] (SCNoFAST16): Likewise.
45116 [C99-based-standards] (SCNuFAST16): Likewise.
45117 [C99-based-standards] (SCNxFAST16): Likewise.
45118 [C99-based-standards] (PRId32): Likewise.
45119 [C99-based-standards] (PRIi32): Likewise.
45120 [C99-based-standards] (PRIo32): Likewise.
45121 [C99-based-standards] (PRIu32): Likewise.
45122 [C99-based-standards] (PRIx32): Likewise.
45123 [C99-based-standards] (PRIX32): Likewise.
45124 [C99-based-standards] (SCNd32): Likewise.
45125 [C99-based-standards] (SCNi32): Likewise.
45126 [C99-based-standards] (SCNo32): Likewise.
45127 [C99-based-standards] (SCNu32): Likewise.
45128 [C99-based-standards] (SCNx32): Likewise.
45129 [C99-based-standards] (PRIdLEAST32): Likewise.
45130 [C99-based-standards] (PRIiLEAST32): Likewise.
45131 [C99-based-standards] (PRIoLEAST32): Likewise.
45132 [C99-based-standards] (PRIuLEAST32): Likewise.
45133 [C99-based-standards] (PRIxLEAST32): Likewise.
45134 [C99-based-standards] (PRIXLEAST32): Likewise.
45135 [C99-based-standards] (SCNdLEAST32): Likewise.
45136 [C99-based-standards] (SCNiLEAST32): Likewise.
45137 [C99-based-standards] (SCNoLEAST32): Likewise.
45138 [C99-based-standards] (SCNuLEAST32): Likewise.
45139 [C99-based-standards] (SCNxLEAST32): Likewise.
45140 [C99-based-standards] (PRIdFAST32): Likewise.
45141 [C99-based-standards] (PRIiFAST32): Likewise.
45142 [C99-based-standards] (PRIoFAST32): Likewise.
45143 [C99-based-standards] (PRIuFAST32): Likewise.
45144 [C99-based-standards] (PRIxFAST32): Likewise.
45145 [C99-based-standards] (PRIXFAST32): Likewise.
45146 [C99-based-standards] (SCNdFAST32): Likewise.
45147 [C99-based-standards] (SCNiFAST32): Likewise.
45148 [C99-based-standards] (SCNoFAST32): Likewise.
45149 [C99-based-standards] (SCNuFAST32): Likewise.
45150 [C99-based-standards] (SCNxFAST32): Likewise.
45151 [C99-based-standards] (PRId64): Likewise.
45152 [C99-based-standards] (PRIi64): Likewise.
45153 [C99-based-standards] (PRIo64): Likewise.
45154 [C99-based-standards] (PRIu64): Likewise.
45155 [C99-based-standards] (PRIx64): Likewise.
45156 [C99-based-standards] (PRIX64): Likewise.
45157 [C99-based-standards] (SCNd64): Likewise.
45158 [C99-based-standards] (SCNi64): Likewise.
45159 [C99-based-standards] (SCNo64): Likewise.
45160 [C99-based-standards] (SCNu64): Likewise.
45161 [C99-based-standards] (SCNx64): Likewise.
45162 [C99-based-standards] (PRIdLEAST64): Likewise.
45163 [C99-based-standards] (PRIiLEAST64): Likewise.
45164 [C99-based-standards] (PRIoLEAST64): Likewise.
45165 [C99-based-standards] (PRIuLEAST64): Likewise.
45166 [C99-based-standards] (PRIxLEAST64): Likewise.
45167 [C99-based-standards] (PRIXLEAST64): Likewise.
45168 [C99-based-standards] (SCNdLEAST64): Likewise.
45169 [C99-based-standards] (SCNiLEAST64): Likewise.
45170 [C99-based-standards] (SCNoLEAST64): Likewise.
45171 [C99-based-standards] (SCNuLEAST64): Likewise.
45172 [C99-based-standards] (SCNxLEAST64): Likewise.
45173 [C99-based-standards] (PRIdFAST64): Likewise.
45174 [C99-based-standards] (PRIiFAST64): Likewise.
45175 [C99-based-standards] (PRIoFAST64): Likewise.
45176 [C99-based-standards] (PRIuFAST64): Likewise.
45177 [C99-based-standards] (PRIxFAST64): Likewise.
45178 [C99-based-standards] (PRIXFAST64): Likewise.
45179 [C99-based-standards] (SCNdFAST64): Likewise.
45180 [C99-based-standards] (SCNiFAST64): Likewise.
45181 [C99-based-standards] (SCNoFAST64): Likewise.
45182 [C99-based-standards] (SCNuFAST64): Likewise.
45183 [C99-based-standards] (SCNxFAST64): Likewise.
45184 [C99-based-standards] (PRIdMAX): Likewise.
45185 [C99-based-standards] (PRIiMAX): Likewise.
45186 [C99-based-standards] (PRIoMAX): Likewise.
45187 [C99-based-standards] (PRIuMAX): Likewise.
45188 [C99-based-standards] (PRIxMAX): Likewise.
45189 [C99-based-standards] (PRIXMAX): Likewise.
45190 [C99-based-standards] (SCNdMAX): Likewise.
45191 [C99-based-standards] (SCNiMAX): Likewise.
45192 [C99-based-standards] (SCNoMAX): Likewise.
45193 [C99-based-standards] (SCNuMAX): Likewise.
45194 [C99-based-standards] (SCNxMAX): Likewise.
45195 [C99-based-standards] (PRIdPTR): Likewise.
45196 [C99-based-standards] (PRIiPTR): Likewise.
45197 [C99-based-standards] (PRIoPTR): Likewise.
45198 [C99-based-standards] (PRIuPTR): Likewise.
45199 [C99-based-standards] (PRIxPTR): Likewise.
45200 [C99-based-standards] (PRIXPTR): Likewise.
45201 [C99-based-standards] (SCNdPTR): Likewise.
45202 [C99-based-standards] (SCNiPTR): Likewise.
45203 [C99-based-standards] (SCNoPTR): Likewise.
45204 [C99-based-standards] (SCNuPTR): Likewise.
45205 [C99-based-standards] (SCNxPTR): Likewise.
45206 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
45207 allow.
45208 * conform/data/stdint.h-data: Update comments to clarify
45209 requirements.
45210 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
45211 type.
45212 [C99-based standards] (INT8_MAX): Likewise.
45213 [C99-based standards] (INT16_MIN): Likewise.
45214 [C99-based standards] (INT16_MAX): Likewise.
45215 [C99-based standards] (INT32_MIN): Likewise.
45216 [C99-based standards] (INT32_MAX): Likewise.
45217 [C99-based standards] (INT64_MIN): Likewise.
45218 [C99-based standards] (INT64_MAX): Likewise.
45219 [C99-based standards] (UINT8_MAX): Likewise.
45220 [C99-based standards] (UINT16_MAX): Likewise.
45221 [C99-based standards] (UINT32_MAX): Likewise.
45222 [C99-based standards] (UINT64_MAX): Likewise.
45223 [C99-based standards] (INT_LEAST8_MIN): Likewise.
45224 [C99-based standards] (INT_LEAST8_MAX): Likewise.
45225 [C99-based standards] (INT_LEAST16_MIN): Likewise.
45226 [C99-based standards] (INT_LEAST16_MAX): Likewise.
45227 [C99-based standards] (INT_LEAST32_MIN): Likewise.
45228 [C99-based standards] (INT_LEAST32_MAX): Likewise.
45229 [C99-based standards] (INT_LEAST64_MIN): Likewise.
45230 [C99-based standards] (INT_LEAST64_MAX): Likewise.
45231 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
45232 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
45233 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
45234 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
45235 [C99-based standards] (INT_FAST8_MIN): Likewise.
45236 [C99-based standards] (INT_FAST8_MAX): Likewise.
45237 [C99-based standards] (INT_FAST16_MIN): Likewise.
45238 [C99-based standards] (INT_FAST16_MAX): Likewise.
45239 [C99-based standards] (INT_FAST32_MIN): Likewise.
45240 [C99-based standards] (INT_FAST32_MAX): Likewise.
45241 [C99-based standards] (INT_FAST64_MIN): Likewise.
45242 [C99-based standards] (INT_FAST64_MAX): Likewise.
45243 [C99-based standards] (UINT_FAST8_MAX): Likewise.
45244 [C99-based standards] (UINT_FAST16_MAX): Likewise.
45245 [C99-based standards] (UINT_FAST32_MAX): Likewise.
45246 [C99-based standards] (UINT_FAST64_MAX): Likewise.
45247 [C99-based standards] (INTPTR_MIN): Likewise.
45248 [C99-based standards] (INTPTR_MAX): Likewise.
45249 [C99-based standards] (UINTPTR_MAX): Likewise.
45250 [C99-based standards] (INTMAX_MIN): Likewise.
45251 [C99-based standards] (INTMAX_MAX): Likewise.
45252 [C99-based standards] (UINTMAX_MAX): Likewise.
45253 [C99-based standards] (PTRDIFF_MIN): Likewise.
45254 [C99-based standards] (PTRDIFF_MAX): Likewise.
45255 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
45256 [C99-based standards] (SIZE_MAX): Likewise.
45257 [C99-based standards] (WCHAR_MAX): Likewise.
45258 [C99-based standards] (WINT_MAX): Likewise.
45259 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
45260 constraint on value.
45261 [C99-based standards] (WCHAR_MIN): Likewise.
45262 [C99-based standards] (WINT_MIN): Likewise.
45263 [C99-based standards] (*_t): Allow.
45264 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
45265 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
45266 Include math.h-data and complex.h-data. Remove all expectations
45267 of math.h and complex.h contents.
45268 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
45269 at end of line.
45270 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
45271 (struct tm): Expect tag.
45272 [C99-based-standards] (wcstof): Expect function.
45273 [C99-based-standards] (wcstold): Likewise.
45274 [C99-based-standards] (wcstoll): Likewise.
45275 [C99-based-standards] (wcstoull): Likewise.
45276 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
45277 macro-int-constant. Specify type.
45278 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
45279 constraint on value.
45280 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45281 Specify type.
45282 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
45283 Specify value.
45284 [ISO C standards]: Do not allow headers.
45285 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
45286 wcs[abcdefghijklmnopqrstuvwxyz]*.
45287 [ISO C standards] (*_t): Do not allow.
45288 * conform/data/wctype.h-data [C99-based standards] (iswblank):
45289 Expect function.
45290 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
45291 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
45292 Specify type.
45293 [ISO C standards]: Do not allow headers.
45294 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
45295 is[abcdefghijklmnopqrstuvwxyz]*.
45296 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
45297 to[abcdefghijklmnopqrstuvwxyz]*.
45298 [ISO C standards] (*_t): Do not allow.
45299 * conform/data/stdalign.h-data: New file.
45300 * conform/data/stdbool.h-data: Likewise.
45301 * conform/data/stdnoreturn.h-data: Likewise.
45302
45303 2012-11-07 Roland McGrath <roland@hack.frob.com>
45304
45305 [BZ #14815]
45306 * manual/filesys.texi (Directory Entries): Typo fix.
45307 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
45308
45309 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
45310
45311 * elf/elf.h (EM_AARCH64): New macro.
45312 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
45313 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
45314 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
45315 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
45316 (R_AARCH64_TLSDESC): Likewise.
45317 (NT_ARM_TLS): Likewise.
45318 (NT_ARM_HW_BREAK): Likewise.
45319 (NT_ARM_HW_WATCH): Likewise.
45320
45321 2012-11-07 Joseph Myers <joseph@codesourcery.com>
45322
45323 [BZ #14811]
45324 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
45325 (__ieee754_powl): Saturate nonzero exponents with absolute value
45326 below 0x1p-79 to +/- 0x1p-79.
45327 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
45328 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
45329 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
45330 nonzero exponents with absolute value below 0x1p-32 to +/-
45331 0x1p-32.
45332 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
45333 (__ieee754_powl): Saturate nonzero exponents with absolute value
45334 below 0x1p-79 to +/- 0x1p-79.
45335 * math/libm-test.inc (pow_test): Add more tests.
45336
45337 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45338
45339 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
45340 _dl_s390_cap_flags with kernel. Increase string length.
45341 (_dl_s390_platforms): Add z196 and zEC12.
45342
45343 2012-11-07 Joseph Myers <joseph@codesourcery.com>
45344
45345 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
45346 Change XOPEN21K to XOPEN2K.
45347
45348 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
45349
45350 * string/memmove.c: Use memcpy when possible.
45351
45352 2012-11-06 Andreas Jaeger <aj@suse.de>
45353
45354 * po/eo.po: Update from translation team.
45355
45356 2012-11-06 Joseph Myers <joseph@codesourcery.com>
45357
45358 [BZ #14793]
45359 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
45360 exponent and small x and y exponents, scale x or y up. Increase
45361 by 2 the exponent used in scaling up.
45362 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45363 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45364 * math/libm-test.inc (fma_test): Add more tests.
45365 (fma_test_towardzero): Likewise.
45366 (fma_test_downward): Likewise.
45367 (fma_test_upward): Likewise.
45368
45369 2012-11-05 Joseph Myers <joseph@codesourcery.com>
45370
45371 [BZ #14805]
45372 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
45373 fenv_t *.
45374
45375 [BZ #14801]
45376 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
45377 namespace for names of struct fields.
45378 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
45379 fenv_t fields.
45380 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
45381 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
45382
45383 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
45384
45385 [BZ #3665]
45386 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
45387
45388 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
45389
45390 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
45391 PTR_DEMANGLE.
45392
45393 [BZ #5246]
45394 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
45395 PTR_DEMANGLE.
45396
45397 2012-11-04 Joseph Myers <joseph@codesourcery.com>
45398
45399 [BZ #14797]
45400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
45401 definitely overflow as x * y not x * y + z.
45402 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45403 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45404 * math/libm-test.inc (fma_test): Add more tests.
45405 (fma_test_towardzero): Likewise.
45406 (fma_test_downward): Likewise.
45407 (fma_test_upward): Likewise.
45408
45409 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
45410
45411 [BZ #157]
45412
45413 * include/stub-tag.h: Remove file.
45414 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
45415 '#include' of it.
45416 * manual/maint.texi (Porting): Don't reference it.
45417 * Makerules ($(objpfx)stubs): Likewise.
45418 * dirent/closedir.c: Don't include <stub-tag.h>.
45419 * dirent/dirfd.c: Likewise.
45420 * dirent/fdopendir.c: Likewise.
45421 * dirent/getdents.c: Likewise.
45422 * dirent/getdents64.c: Likewise.
45423 * dirent/opendir.c: Likewise.
45424 * dirent/readdir.c: Likewise.
45425 * dirent/readdir64.c: Likewise.
45426 * dirent/readdir64_r.c: Likewise.
45427 * dirent/readdir_r.c: Likewise.
45428 * dirent/rewinddir.c: Likewise.
45429 * dirent/seekdir.c: Likewise.
45430 * dirent/telldir.c: Likewise.
45431 * gmon/profil.c: Likewise.
45432 * grp/setgroups.c: Likewise.
45433 * inet/if_index.c: Likewise.
45434 * io/access.c: Likewise.
45435 * io/chdir.c: Likewise.
45436 * io/chmod.c: Likewise.
45437 * io/chown.c: Likewise.
45438 * io/close.c: Likewise.
45439 * io/dup.c: Likewise.
45440 * io/dup2.c: Likewise.
45441 * io/dup3.c: Likewise.
45442 * io/euidaccess.c: Likewise.
45443 * io/faccessat.c: Likewise.
45444 * io/fchdir.c: Likewise.
45445 * io/fchmod.c: Likewise.
45446 * io/fchmodat.c: Likewise.
45447 * io/fchown.c: Likewise.
45448 * io/fchownat.c: Likewise.
45449 * io/fcntl.c: Likewise.
45450 * io/flock.c: Likewise.
45451 * io/fstatfs.c: Likewise.
45452 * io/fstatfs64.c: Likewise.
45453 * io/fstatvfs.c: Likewise.
45454 * io/fstatvfs64.c: Likewise.
45455 * io/futimens.c: Likewise.
45456 * io/fxstat.c: Likewise.
45457 * io/fxstat64.c: Likewise.
45458 * io/fxstatat.c: Likewise.
45459 * io/fxstatat64.c: Likewise.
45460 * io/getcwd.c: Likewise.
45461 * io/isatty.c: Likewise.
45462 * io/lchmod.c: Likewise.
45463 * io/lchown.c: Likewise.
45464 * io/link.c: Likewise.
45465 * io/linkat.c: Likewise.
45466 * io/lseek.c: Likewise.
45467 * io/lseek64.c: Likewise.
45468 * io/lxstat64.c: Likewise.
45469 * io/mkdir.c: Likewise.
45470 * io/mkdirat.c: Likewise.
45471 * io/mkfifo.c: Likewise.
45472 * io/mkfifoat.c: Likewise.
45473 * io/open.c: Likewise.
45474 * io/open64.c: Likewise.
45475 * io/openat.c: Likewise.
45476 * io/openat64.c: Likewise.
45477 * io/pipe.c: Likewise.
45478 * io/pipe2.c: Likewise.
45479 * io/poll.c: Likewise.
45480 * io/posix_fadvise.c: Likewise.
45481 * io/posix_fadvise64.c: Likewise.
45482 * io/posix_fallocate.c: Likewise.
45483 * io/posix_fallocate64.c: Likewise.
45484 * io/read.c: Likewise.
45485 * io/readlink.c: Likewise.
45486 * io/readlinkat.c: Likewise.
45487 * io/rmdir.c: Likewise.
45488 * io/sendfile.c: Likewise.
45489 * io/sendfile64.c: Likewise.
45490 * io/statfs.c: Likewise.
45491 * io/statfs64.c: Likewise.
45492 * io/statvfs.c: Likewise.
45493 * io/statvfs64.c: Likewise.
45494 * io/symlink.c: Likewise.
45495 * io/symlinkat.c: Likewise.
45496 * io/ttyname.c: Likewise.
45497 * io/ttyname_r.c: Likewise.
45498 * io/umask.c: Likewise.
45499 * io/unlink.c: Likewise.
45500 * io/unlinkat.c: Likewise.
45501 * io/utime.c: Likewise.
45502 * io/utimensat.c: Likewise.
45503 * io/write.c: Likewise.
45504 * io/xmknod.c: Likewise.
45505 * io/xmknodat.c: Likewise.
45506 * io/xstat.c: Likewise.
45507 * io/xstat64.c: Likewise.
45508 * login/getpt.c: Likewise.
45509 * login/grantpt.c: Likewise.
45510 * login/unlockpt.c: Likewise.
45511 * math/e_acoshl.c: Likewise.
45512 * math/e_acosl.c: Likewise.
45513 * math/e_asinl.c: Likewise.
45514 * math/e_atan2l.c: Likewise.
45515 * math/e_atanhl.c: Likewise.
45516 * math/e_coshl.c: Likewise.
45517 * math/e_expl.c: Likewise.
45518 * math/e_fmodl.c: Likewise.
45519 * math/e_gammal_r.c: Likewise.
45520 * math/e_hypotl.c: Likewise.
45521 * math/e_j0l.c: Likewise.
45522 * math/e_j1l.c: Likewise.
45523 * math/e_jnl.c: Likewise.
45524 * math/e_lgammal_r.c: Likewise.
45525 * math/e_log10l.c: Likewise.
45526 * math/e_log2l.c: Likewise.
45527 * math/e_logl.c: Likewise.
45528 * math/e_powl.c: Likewise.
45529 * math/e_rem_pio2l.c: Likewise.
45530 * math/e_sinhl.c: Likewise.
45531 * math/e_sqrtl.c: Likewise.
45532 * math/fclrexcpt.c: Likewise.
45533 * math/fedisblxcpt.c: Likewise.
45534 * math/feenablxcpt.c: Likewise.
45535 * math/fegetenv.c: Likewise.
45536 * math/fegetexcept.c: Likewise.
45537 * math/fegetround.c: Likewise.
45538 * math/feholdexcpt.c: Likewise.
45539 * math/fesetenv.c: Likewise.
45540 * math/fesetround.c: Likewise.
45541 * math/feupdateenv.c: Likewise.
45542 * math/fgetexcptflg.c: Likewise.
45543 * math/fraiseexcpt.c: Likewise.
45544 * math/fsetexcptflg.c: Likewise.
45545 * math/ftestexcept.c: Likewise.
45546 * math/k_cosl.c: Likewise.
45547 * math/k_rem_pio2l.c: Likewise.
45548 * math/k_sinl.c: Likewise.
45549 * math/k_tanl.c: Likewise.
45550 * math/s_asinhl.c: Likewise.
45551 * math/s_atanl.c: Likewise.
45552 * math/s_cbrtl.c: Likewise.
45553 * math/s_erfl.c: Likewise.
45554 * math/s_expm1l.c: Likewise.
45555 * math/s_log1pl.c: Likewise.
45556 * math/s_tanhl.c: Likewise.
45557 * misc/acct.c: Likewise.
45558 * misc/brk.c: Likewise.
45559 * misc/chflags.c: Likewise.
45560 * misc/chroot.c: Likewise.
45561 * misc/fchflags.c: Likewise.
45562 * misc/fgetxattr.c: Likewise.
45563 * misc/flistxattr.c: Likewise.
45564 * misc/fremovexattr.c: Likewise.
45565 * misc/fsetxattr.c: Likewise.
45566 * misc/fsync.c: Likewise.
45567 * misc/ftruncate.c: Likewise.
45568 * misc/futimes.c: Likewise.
45569 * misc/futimesat.c: Likewise.
45570 * misc/getdomain.c: Likewise.
45571 * misc/getdtsz.c: Likewise.
45572 * misc/gethostid.c: Likewise.
45573 * misc/gethostname.c: Likewise.
45574 * misc/getloadavg.c: Likewise.
45575 * misc/getpagesize.c: Likewise.
45576 * misc/getsysstats.c: Likewise.
45577 * misc/getxattr.c: Likewise.
45578 * misc/gtty.c: Likewise.
45579 * misc/ioctl.c: Likewise.
45580 * misc/lgetxattr.c: Likewise.
45581 * misc/listxattr.c: Likewise.
45582 * misc/llistxattr.c: Likewise.
45583 * misc/lremovexattr.c: Likewise.
45584 * misc/lsetxattr.c: Likewise.
45585 * misc/lutimes.c: Likewise.
45586 * misc/madvise.c: Likewise.
45587 * misc/mincore.c: Likewise.
45588 * misc/mlock.c: Likewise.
45589 * misc/mlockall.c: Likewise.
45590 * misc/mmap.c: Likewise.
45591 * misc/mprotect.c: Likewise.
45592 * misc/msync.c: Likewise.
45593 * misc/munlock.c: Likewise.
45594 * misc/munlockall.c: Likewise.
45595 * misc/munmap.c: Likewise.
45596 * misc/preadv.c: Likewise.
45597 * misc/preadv64.c: Likewise.
45598 * misc/ptrace.c: Likewise.
45599 * misc/pwritev.c: Likewise.
45600 * misc/pwritev64.c: Likewise.
45601 * misc/readv.c: Likewise.
45602 * misc/reboot.c: Likewise.
45603 * misc/remap_file_pages.c: Likewise.
45604 * misc/removexattr.c: Likewise.
45605 * misc/revoke.c: Likewise.
45606 * misc/select.c: Likewise.
45607 * misc/setdomain.c: Likewise.
45608 * misc/setegid.c: Likewise.
45609 * misc/seteuid.c: Likewise.
45610 * misc/sethostid.c: Likewise.
45611 * misc/sethostname.c: Likewise.
45612 * misc/setregid.c: Likewise.
45613 * misc/setreuid.c: Likewise.
45614 * misc/setxattr.c: Likewise.
45615 * misc/sstk.c: Likewise.
45616 * misc/stty.c: Likewise.
45617 * misc/swapoff.c: Likewise.
45618 * misc/swapon.c: Likewise.
45619 * misc/sync.c: Likewise.
45620 * misc/syncfs.c: Likewise.
45621 * misc/syscall.c: Likewise.
45622 * misc/truncate.c: Likewise.
45623 * misc/ualarm.c: Likewise.
45624 * misc/usleep.c: Likewise.
45625 * misc/ustat.c: Likewise.
45626 * misc/utimes.c: Likewise.
45627 * misc/vhangup.c: Likewise.
45628 * misc/writev.c: Likewise.
45629 * posix/_exit.c: Likewise.
45630 * posix/alarm.c: Likewise.
45631 * posix/execve.c: Likewise.
45632 * posix/fexecve.c: Likewise.
45633 * posix/fork.c: Likewise.
45634 * posix/fpathconf.c: Likewise.
45635 * posix/getaddrinfo.c: Likewise.
45636 * posix/getegid.c: Likewise.
45637 * posix/geteuid.c: Likewise.
45638 * posix/getgid.c: Likewise.
45639 * posix/getgroups.c: Likewise.
45640 * posix/getlogin.c: Likewise.
45641 * posix/getlogin_r.c: Likewise.
45642 * posix/getpgid.c: Likewise.
45643 * posix/getpid.c: Likewise.
45644 * posix/getppid.c: Likewise.
45645 * posix/getresgid.c: Likewise.
45646 * posix/getresuid.c: Likewise.
45647 * posix/getsid.c: Likewise.
45648 * posix/getuid.c: Likewise.
45649 * posix/glob64.c: Likewise.
45650 * posix/nanosleep.c: Likewise.
45651 * posix/pathconf.c: Likewise.
45652 * posix/pause.c: Likewise.
45653 * posix/posix_madvise.c: Likewise.
45654 * posix/pread.c: Likewise.
45655 * posix/pread64.c: Likewise.
45656 * posix/pwrite.c: Likewise.
45657 * posix/pwrite64.c: Likewise.
45658 * posix/sched_getaffinity.c: Likewise.
45659 * posix/sched_getp.c: Likewise.
45660 * posix/sched_gets.c: Likewise.
45661 * posix/sched_primax.c: Likewise.
45662 * posix/sched_primin.c: Likewise.
45663 * posix/sched_rr_gi.c: Likewise.
45664 * posix/sched_setaffinity.c: Likewise.
45665 * posix/sched_setp.c: Likewise.
45666 * posix/sched_sets.c: Likewise.
45667 * posix/sched_yield.c: Likewise.
45668 * posix/setgid.c: Likewise.
45669 * posix/setlogin.c: Likewise.
45670 * posix/setpgid.c: Likewise.
45671 * posix/setresgid.c: Likewise.
45672 * posix/setresuid.c: Likewise.
45673 * posix/setsid.c: Likewise.
45674 * posix/setuid.c: Likewise.
45675 * posix/sleep.c: Likewise.
45676 * posix/spawni.c: Likewise.
45677 * posix/sysconf.c: Likewise.
45678 * posix/times.c: Likewise.
45679 * posix/wait.c: Likewise.
45680 * posix/wait3.c: Likewise.
45681 * posix/wait4.c: Likewise.
45682 * posix/waitpid.c: Likewise.
45683 * resolv/gai_sigqueue.c: Likewise.
45684 * resource/getpriority.c: Likewise.
45685 * resource/getrlimit.c: Likewise.
45686 * resource/getrusage.c: Likewise.
45687 * resource/nice.c: Likewise.
45688 * resource/setpriority.c: Likewise.
45689 * resource/setrlimit.c: Likewise.
45690 * resource/ulimit.c: Likewise.
45691 * rt/aio_cancel.c: Likewise.
45692 * rt/aio_fsync.c: Likewise.
45693 * rt/aio_read.c: Likewise.
45694 * rt/aio_sigqueue.c: Likewise.
45695 * rt/aio_suspend.c: Likewise.
45696 * rt/aio_write.c: Likewise.
45697 * rt/clock_getres.c: Likewise.
45698 * rt/clock_gettime.c: Likewise.
45699 * rt/clock_nanosleep.c: Likewise.
45700 * rt/clock_settime.c: Likewise.
45701 * rt/lio_listio.c: Likewise.
45702 * rt/mq_close.c: Likewise.
45703 * rt/mq_getattr.c: Likewise.
45704 * rt/mq_notify.c: Likewise.
45705 * rt/mq_open.c: Likewise.
45706 * rt/mq_receive.c: Likewise.
45707 * rt/mq_send.c: Likewise.
45708 * rt/mq_setattr.c: Likewise.
45709 * rt/mq_timedreceive.c: Likewise.
45710 * rt/mq_timedsend.c: Likewise.
45711 * rt/mq_unlink.c: Likewise.
45712 * rt/shm_open.c: Likewise.
45713 * rt/shm_unlink.c: Likewise.
45714 * rt/timer_create.c: Likewise.
45715 * rt/timer_delete.c: Likewise.
45716 * rt/timer_getoverr.c: Likewise.
45717 * rt/timer_gettime.c: Likewise.
45718 * rt/timer_settime.c: Likewise.
45719 * setjmp/__longjmp.c: Likewise.
45720 * setjmp/setjmp.c: Likewise.
45721 * signal/kill.c: Likewise.
45722 * signal/killpg.c: Likewise.
45723 * signal/raise.c: Likewise.
45724 * signal/sigaction.c: Likewise.
45725 * signal/sigaltstack.c: Likewise.
45726 * signal/sigblock.c: Likewise.
45727 * signal/sigignore.c: Likewise.
45728 * signal/sigintr.c: Likewise.
45729 * signal/signal.c: Likewise.
45730 * signal/sigpause.c: Likewise.
45731 * signal/sigpending.c: Likewise.
45732 * signal/sigqueue.c: Likewise.
45733 * signal/sigreturn.c: Likewise.
45734 * signal/sigset.c: Likewise.
45735 * signal/sigsetmask.c: Likewise.
45736 * signal/sigstack.c: Likewise.
45737 * signal/sigsuspend.c: Likewise.
45738 * signal/sigtimedwait.c: Likewise.
45739 * signal/sigvec.c: Likewise.
45740 * signal/sigwait.c: Likewise.
45741 * signal/sigwaitinfo.c: Likewise.
45742 * signal/sysv_signal.c: Likewise.
45743 * socket/accept.c: Likewise.
45744 * socket/accept4.c: Likewise.
45745 * socket/bind.c: Likewise.
45746 * socket/connect.c: Likewise.
45747 * socket/getpeername.c: Likewise.
45748 * socket/getsockname.c: Likewise.
45749 * socket/getsockopt.c: Likewise.
45750 * socket/isfdtype.c: Likewise.
45751 * socket/listen.c: Likewise.
45752 * socket/recv.c: Likewise.
45753 * socket/recvfrom.c: Likewise.
45754 * socket/recvmsg.c: Likewise.
45755 * socket/send.c: Likewise.
45756 * socket/sendmsg.c: Likewise.
45757 * socket/sendto.c: Likewise.
45758 * socket/setsockopt.c: Likewise.
45759 * socket/shutdown.c: Likewise.
45760 * socket/sockatmark.c: Likewise.
45761 * socket/socket.c: Likewise.
45762 * socket/socketpair.c: Likewise.
45763 * stdio-common/ctermid.c: Likewise.
45764 * stdio-common/cuserid.c: Likewise.
45765 * stdio-common/remove.c: Likewise.
45766 * stdio-common/rename.c: Likewise.
45767 * stdio-common/renameat.c: Likewise.
45768 * stdio-common/tempname.c: Likewise.
45769 * stdlib/getcontext.c: Likewise.
45770 * stdlib/makecontext.c: Likewise.
45771 * stdlib/setcontext.c: Likewise.
45772 * stdlib/swapcontext.c: Likewise.
45773 * stdlib/system.c: Likewise.
45774 * streams/fattach.c: Likewise.
45775 * streams/fdetach.c: Likewise.
45776 * streams/getmsg.c: Likewise.
45777 * streams/getpmsg.c: Likewise.
45778 * streams/putmsg.c: Likewise.
45779 * streams/putpmsg.c: Likewise.
45780 * sysdeps/unix/bsd/getpt.c: Likewise.
45781 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
45782 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
45783 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
45785 Likewise.
45786 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
45787 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
45788 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45789 * sysvipc/msgctl.c: Likewise.
45790 * sysvipc/msgget.c: Likewise.
45791 * sysvipc/msgrcv.c: Likewise.
45792 * sysvipc/msgsnd.c: Likewise.
45793 * sysvipc/semctl.c: Likewise.
45794 * sysvipc/semget.c: Likewise.
45795 * sysvipc/semop.c: Likewise.
45796 * sysvipc/semtimedop.c: Likewise.
45797 * sysvipc/shmat.c: Likewise.
45798 * sysvipc/shmctl.c: Likewise.
45799 * sysvipc/shmdt.c: Likewise.
45800 * sysvipc/shmget.c: Likewise.
45801 * termios/tcdrain.c: Likewise.
45802 * termios/tcflow.c: Likewise.
45803 * termios/tcflush.c: Likewise.
45804 * termios/tcgetattr.c: Likewise.
45805 * termios/tcgetpgrp.c: Likewise.
45806 * termios/tcsendbrk.c: Likewise.
45807 * termios/tcsetattr.c: Likewise.
45808 * termios/tcsetpgrp.c: Likewise.
45809 * time/adjtime.c: Likewise.
45810 * time/clock.c: Likewise.
45811 * time/getitimer.c: Likewise.
45812 * time/gettimeofday.c: Likewise.
45813 * time/setitimer.c: Likewise.
45814 * time/settimeofday.c: Likewise.
45815 * time/stime.c: Likewise.
45816 * time/time.c: Likewise.
45817
45818 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
45819
45820 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
45821 /usr/old/bin.
45822
45823 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
45824 instead of spaces.
45825 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
45826
45827 2012-11-03 Joseph Myers <joseph@codesourcery.com>
45828
45829 [BZ #14796]
45830 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
45831 FE_TONEAREST before applying Dekker multiplication and Knuth
45832 addition. Clear inexact exceptions and check for exact zero
45833 results afterwards.
45834 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
45835 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
45836 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
45837 * math/libm-test.inc (fma_test): Add more tests.
45838 (fma_test_towardzero): Likewise.
45839 (fma_test_downward): Likewise.
45840 (fma_test_upward): Likewise.
45841 * sysdeps/generic/math_private.h (default_libc_fesetround): New
45842 function.
45843 (libc_fesetround): New macro.
45844 (libc_fesetroundf): Likewise.
45845 (libc_fesetroundl): Likewise.
45846 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
45847 function.
45848 (libc_fesetround_387): Likewise.
45849 (libc_fesetroundf): New macro.
45850 (libc_fesetround): Likewise.
45851 (libc_fesetroundl): Likewise.
45852 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
45853 function.
45854 (libc_fesetroundf): New macro.
45855 (libc_fesetround): Likewise.
45856 (libc_fesetroundl): Likewise.
45857 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
45858 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
45859 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
45860 libm_hidden_ver.
45861 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
45862 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
45863 libm_hidden_def.
45864 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
45865 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
45866 libm_hidden_ver.
45867 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
45868 libm_hidden_def.
45869
45870 [BZ #3439]
45871 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
45872 integer constant usable in #if and use that to give value to enum
45873 constant.
45874 (FE_DIVBYZERO): Likewise.
45875 (FE_UNDERFLOW): Likewise.
45876 (FE_OVERFLOW): Likewise.
45877 (FE_INVALID): Likewise.
45878 (FE_INVALID_SNAN): Likewise.
45879 (FE_INVALID_ISI): Likewise.
45880 (FE_INVALID_IDI): Likewise.
45881 (FE_INVALID_ZDZ): Likewise.
45882 (FE_INVALID_IMZ): Likewise.
45883 (FE_INVALID_COMPARE): Likewise.
45884 (FE_INVALID_SOFTWARE): Likewise.
45885 (FE_INVALID_SQRT): Likewise.
45886 (FE_INVALID_INTEGER_CONVERSION): Likewise.
45887 (FE_TONEAREST): Likewise.
45888 (FE_TOWARDZERO): Likewise.
45889 (FE_UPWARD): Likewise.
45890 (FE_DOWNWARD): Likewise.
45891 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
45892 (FE_DIVBYZERO): Likewise.
45893 (FE_OVERFLOW): Likewise.
45894 (FE_UNDERFLOW): Likewise.
45895 (FE_INEXACT): Likewise.
45896 (FE_TONEAREST): Likewise.
45897 (FE_DOWNWARD): Likewise.
45898 (FE_UPWARD): Likewise.
45899 (FE_TOWARDZERO): Likewise.
45900 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
45901 (FE_UNDERFLOW): Likewise.
45902 (FE_OVERFLOW): Likewise.
45903 (FE_DIVBYZERO): Likewise.
45904 (FE_INVALID): Likewise.
45905 (FE_TONEAREST): Likewise.
45906 (FE_TOWARDZERO): Likewise.
45907 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
45908 (FE_OVERFLOW): Likewise.
45909 (FE_UNDERFLOW): Likewise.
45910 (FE_DIVBYZERO): Likewise.
45911 (FE_INEXACT): Likewise.
45912 (FE_TONEAREST): Likewise.
45913 (FE_TOWARDZERO): Likewise.
45914 (FE_UPWARD): Likewise.
45915 (FE_DOWNWARD): Likewise.
45916 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
45917 (FE_DIVBYZERO): Likewise.
45918 (FE_OVERFLOW): Likewise.
45919 (FE_UNDERFLOW): Likewise.
45920 (FE_INEXACT): Likewise.
45921 (FE_TONEAREST): Likewise.
45922 (FE_DOWNWARD): Likewise.
45923 (FE_UPWARD): Likewise.
45924 (FE_TOWARDZERO): Likewise.
45925
45926 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
45927
45928 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
45929
45930 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
45931
45932 * scripts/cross-test-ssh.sh (command): Use newlines to separate
45933 commands. Quote $PWD.
45934 (blacklist_exports): Don't use remove_newlines. Replace "declare
45935 -x" by "export".
45936 (remove_newlines): Remove.
45937
45938 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
45939
45940 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
45941 * stdlib/stdlib.h (atof): Moved to ...
45942 * include/bits/stdlib-float.h: Here. New file.
45943 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
45944 * stdlib/bits/stdlib-float.h: New file.
45945 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
45946 -mno-sse -mno-mmx.
45947 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
45948 <xmmintrin.h>.
45949
45950 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45951
45952 * conform/conformtest.pl (@headers): Add fenv.h.
45953 * conform/data/fenv.h-data: New file.
45954 * include/fenv.h [_ISOMAC]: Disable all contents of file except
45955 include of <math/fenv.h>.
45956
45957 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
45958 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
45959 && !UNIX98]. Enables tests for XOPEN2K8.
45960 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
45961 POSIX2008]: Likewise.
45962
45963 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
45964 (struct rusage): Do not expect type or its members.
45965
45966 [BZ #3439]
45967 * math/math.h (FP_NAN): Define macro to integer constant usable in
45968 #if and use that to give value to enum constant.
45969 (FP_INFINITE): Likewise.
45970 (FP_ZERO): Likewise.
45971 (FP_SUBNORMAL): Likewise.
45972 (FP_NORMAL): Likewise.
45973
45974 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
45975
45976 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
45977 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
45978 arguments.
45979
45980 2012-11-02 Roland McGrath <roland@hack.frob.com>
45981
45982 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
45983 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
45984 autoconf-time if not.
45985 * configure.in: Remove AC_PREREQ.
45986
45987 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45988
45989 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
45990 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
45991 of the internal implementation.
45992
45993 2012-11-02 Joseph Myers <joseph@codesourcery.com>
45994
45995 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
45996 except include of <misc/sys/syslog.h>.
45997
45998 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
45999
46000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
46001 function returns with a NULL context exit with zero.
46002
46003 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46004
46005 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
46006
46007 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
46008
46009 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
46010 (run_program_cmd): This.
46011 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
46012 (tst_langinfo): New variable. Use it.
46013
46014 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
46015
46016 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
46017 floating point opcodes.
46018
46019 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
46020
46021 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
46022 variable.
46023
46024 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
46025
46026 * sysdeps/mach/hurd/powerpc: Remove directory.
46027 * sysdeps/mach/powerpc: Likewise.
46028
46029 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
46030
46031 * scripts/check-local-headers.sh: Ignore c++ headers.
46032
46033 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
46034
46035 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
46036 __libc_cleanup_region_start argument.
46037
46038 2012-11-01 Joseph Myers <joseph@codesourcery.com>
46039
46040 [BZ #14784]
46041 [BZ #14785]
46042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
46043 x * y using scaling, not as x * y + z.
46044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46045 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46046 * math/libm-test.inc (fma_test): Add more tests.
46047 (fma_test_towardzero): Likewise.
46048 (fma_test_downward): Likewise.
46049 (fma_test_upward): Likewise.
46050
46051 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
46052
46053 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
46054
46055 2012-10-31 Joseph Myers <joseph@codesourcery.com>
46056
46057 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
46058 New variable.
46059
46060 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
46061
46062 * rt/tst-shm.c (worker): Correct checking for mmap failure.
46063
46064 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
46065
46066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46067 Fix sort order.
46068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46069 Likewise.
46070
46071 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46072
46073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46074 Fix the order of the list for glibc 2.17.
46075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46076 Likewise.
46077
46078 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
46079
46080 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46081
46082 2012-10-31 Joseph Myers <joseph@codesourcery.com>
46083
46084 [BZ #14610]
46085 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
46086 for low part of x being zero before using __atanl (y).
46087 * math/libm-test.inc (atan2_test): Add another test.
46088
46089 * manual/install.texi (Configuring and compiling): Document
46090 general use of test-wrapper and test-wrapper-env.
46091 * INSTALL: Regenerated.
46092
46093 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
46094 (__fma): Do not extract and scale down low bits on after-rounding
46095 systems when result rounded to normal precision would have normal
46096 exponent.
46097 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
46098 (__fmal): Do not extract and scale down low bits on after-rounding
46099 systems when result rounded to normal precision would have normal
46100 exponent.
46101 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
46102 (__fmal): Do not extract and scale down low bits on after-rounding
46103 systems when result rounded to normal precision would have normal
46104 exponent.
46105 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
46106 macro.
46107 (fma_test): Add more tests.
46108 (fma_test_towardzero): Likewise.
46109 (fma_test_downward): Likewise.
46110 (fma_test_upward): Likewise.
46111
46112 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
46113
46114 * sysdeps/i386/tininess.h: Renamed to ...
46115 * sysdeps/x86/tininess.h: This.
46116 * sysdeps/x86_64/tininess.h: Removed.
46117
46118 2012-10-30 Joseph Myers <joseph@codesourcery.com>
46119
46120 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
46121 input. Use $(build-program-cmd).
46122 ($(objpfx)tst-array1-static.out): Likewise.
46123 ($(objpfx)tst-array2.out): Likewise.
46124 ($(objpfx)tst-array3.out): Likewise.
46125 ($(objpfx)tst-array4.out): Likewise.
46126 ($(objpfx)tst-array5.out): Likewise.
46127 ($(objpfx)tst-array5-static.out): Likewise.
46128
46129 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
46130
46131 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
46132 if defined.
46133
46134 * nss/nsswitch.h (nss_interface_function): Provide new
46135 macro for use with NSS functions.
46136 * grp/initgroups.c: Use new macro.
46137 * nss/getXXbyYY.c: Likewise.
46138 * nss/getXXbyYY_r.c: Likewise.
46139 * nss/getXXent.c: Likewise.
46140 * nss/getXXent_r.c: Likewise.
46141 * sysdeps/posix/getaddrinfo.c: Likewise.
46142
46143 2012-10-30 Andreas Jaeger <aj@suse.de>
46144
46145 * po/ru.po: Update Russion translation from translation project.
46146
46147 2012-10-30 Joseph Myers <joseph@codesourcery.com>
46148
46149 [BZ #14152]
46150 [BZ #14783]
46151 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
46152 result and shift together with sticky bit instead of replicating
46153 round-to-nearest rounding.
46154 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46155 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46156 * math/libm-test.inc (fma_test): Add more tests. Do not permit
46157 missing underflow exceptions.
46158 (fma_test_towardzero): Add more tests.
46159 (fma_test_downward): Likewise.
46160 (fma_test_upward): Likewise.
46161
46162 [BZ #14047]
46163 * sysdeps/generic/tininess.h: New file.
46164 * sysdeps/i386/tininess.h: Likewise.
46165 * sysdeps/sh/tininess.h: Likewise.
46166 * sysdeps/x86_64/tininess.h: Likewise.
46167 * stdlib/tst-strtod-underflow.c: Likewise.
46168 * stdlib/tst-tininess.c: Likewise.
46169 * stdlib/strtod_l.c: Include <tininess.h>.
46170 (round_and_return): Do not set errno for exact underflow cases.
46171 Force an underflow exception when setting errno for underflow.
46172 Determine underflow based on rounding to normal precision if
46173 TININESS_AFTER_ROUNDING.
46174 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
46175 ERANGE for exact underflow cases.
46176 * stdlib/Makefile (tests): Add tst-tininess and
46177 tst-strtod-underflow.
46178 ($(objpfx)tst-tininess): Use $(link-libm).
46179 ($(objpfx)tst-strtod-underflow): Likewise.
46180
46181 2012-10-30 Andreas Jaeger <aj@suse.de>
46182
46183 [BZ#14767]
46184 * elf/Makefile (tests): Remove conditional for have-initfini-array
46185 since this is now always required and the variable does not exist
46186 anymore.
46187 (tests-static): Likewise.
46188 (modules-names): Likewise.
46189
46190 * po/eo.po: Add Esperanto translation from translation project.
46191
46192 * elf/tst-array1.c (fini_array): Make writeable so that it can be
46193 merged with constructor/destructor.
46194 (init_array): Likewise.
46195 * elf/tst-array2dep.c (fini_array): Likewise.
46196 (init_array): Likewise.
46197
46198 2012-10-29 Mike Frysinger <vapier@gentoo.org>
46199
46200 * manual/message.texi: Delete @cartouche tags.
46201
46202 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
46203
46204 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
46205 EOPNOTSUPP.
46206 * sysdeps/mach/hurd/fsync.c: Likewise.
46207
46208 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
46209 [_POSIX_REALTIME_SIGNALS]: Change condition to
46210 [_POSIX_REALTIME_SIGNALS > 0].
46211
46212 2012-10-27 Andreas Jaeger <aj@suse.de>
46213
46214 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
46215 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
46216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
46217 [__WORDSIZE != 64]: Likewise.
46218
46219 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
46220
46221 * iconvdata/tst-table.sh: Remove ${SHELL}.
46222 * iconvdata/tst-tables.sh: Likewise.
46223
46224 2012-10-25 David S. Miller <davem@davemloft.net>
46225
46226 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46227 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
46228 of strtoull.
46229
46230 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
46231 ifunc-impl-list.c
46232 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46233 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
46234 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
46235 file.
46236
46237 2012-10-25 Roland McGrath <roland@hack.frob.com>
46238
46239 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46240 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
46241 __getdirentries.
46242
46243 2012-10-25 Joseph Myers <joseph@codesourcery.com>
46244 Jim Blandy <jimb@codesourcery.com>
46245
46246 * scripts/cross-test-ssh.sh: New file.
46247 * manual/install.texi (Configuring and compiling): Document use of
46248 cross-test-ssh.sh.
46249 * INSTALL: Regenerated.
46250
46251 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
46252
46253 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
46254 EOPNOTSUPP.
46255
46256 2012-10-25 Joseph Myers <joseph@codesourcery.com>
46257
46258 * Makeconfig (run-program-prefix): Fix comment.
46259
46260 2012-10-24 Joseph Myers <joseph@codesourcery.com>
46261 Jim Blandy <jimb@codesourcery.com>
46262
46263 * Makeconfig (test-wrapper): New variable,
46264 (test-wrapper-env): Likewise.
46265 [$(cross-compiling) = yes && $(test-wrapper) != ""]
46266 (run-built-tests): Define to yes.
46267 (run-program-prefix): Use $(test-wrapper).
46268 (built-program-cmd): Likewise.
46269 * Rules (make-test-out): Use $(test-wrapper-env) and
46270 $(host-built-program-cmd).
46271 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
46272 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
46273 tst-pathopt.sh.
46274 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
46275 $(test-wrapper-env) to tst-rtld-load-self.sh.
46276 ($(objpfx)order2.out): Use $(test-wrapper).
46277 ($(objpfx)tst-initorder.out): Likewise.
46278 ($(objpfx)tst-initorder2.out): Likewise.
46279 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
46280 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
46281 (test_wrapper_env): New variable. Use it to run ld.so.
46282 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
46283 Use it to run ld.so.
46284 (test_wrapper_env): Likewise.
46285 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
46286 $(test-wrapper) to run-iconv-test.sh.
46287 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
46288 (ICONV): Use $test_wrapper.
46289 * posix/Makefile ($(objpfx)globtest.out): Pass
46290 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
46291 globtest.sh, not $(run-program-prefix).
46292 * posix/globtest.sh (run_via_rtld_prefix): New variable.
46293 (test_wrapper): Likewise.
46294 (test_wrapper_env): Likewise. Use it to run globtest with HOME
46295 set together with run_via_rtld_prefix.
46296 (run_program_prefix): Define in terms of test_wrapper and
46297 run_via_rtld_prefix.
46298
46299 2012-10-24 Roland McGrath <roland@hack.frob.com>
46300
46301 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
46302 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
46303 Targets removed.
46304
46305 [BZ #14743]
46306 * include/time.h: Remove librt_hidden_proto (clock_gettime).
46307 Declare __clock_getres, __clock_gettime, __clock_settime,
46308 __clock_nanosleep, and __clock_getcpuclockid.
46309 * rt/clock_gettime.c: Define __clock_gettime as an alias.
46310 Remove librt_hidden_def (clock_gettime).
46311 * sysdeps/unix/clock_gettime.c: Likewise.
46312 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
46313 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
46314 * rt/clock_getres.c: Define __clock_getres as an alias.
46315 * sysdeps/posix/clock_getres.c: Likewise.
46316 * rt/clock_settime.c: Define __clock_settime as an alias.
46317 * sysdeps/unix/clock_settime.c: Likewise.
46318 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
46319 * sysdeps/unix/clock_nanosleep.c: Likewise.
46320 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
46321 * rt/clock-compat.c: New file.
46322 * rt/Makefile (librt-routines): Add clock-compat and move
46323 $(clock-routines) to ...
46324 (routines): ... here, new variable.
46325 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
46326 Don't add get_clockfreq here.
46327 * rt/Versions (libc: GLIBC_2.17): New version set.
46328 Add clock_* symbols here.
46329 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
46330 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
46331 (GLIBC_2.17): Add clock_* symbols.
46332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
46333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
46334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
46335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46336 Likewise.
46337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46338 Likewise.
46339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
46340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
46341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
46342 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
46343 * NEWS: Mention the move.
46344
46345 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
46346 Use __open, __read, __close rather than their public counterparts.
46347 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46348 (__get_clockfreq_via_cpuinfo): Likewise.
46349 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
46350 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
46351
46352 * config.h.in (HAVE_IFUNC): New #undef.
46353 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
46354 was successful.
46355 * configure: Regenerated.
46356
46357 2012-10-24 Mike Frysinger <vapier@gentoo.org>
46358
46359 * configure.in: Move READELF check to start of file.
46360 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
46361 libc_cv_asm_gnu_indirect_function in the process.
46362 * configure: Regenerated.
46363
46364 2012-10-24 Mike Frysinger <vapier@gentoo.org>
46365
46366 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
46367 send the output to /dev/null.
46368 (libc_cv_cc_with_libunwind): Likewise.
46369 (libc_cv_as_noexecstack): Likewise.
46370 * configure: Regenerate.
46371
46372 2012-10-24 Joseph Myers <joseph@codesourcery.com>
46373
46374 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
46375
46376 * posix/globtest.sh (TMPDIR): Do not set.
46377 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
46378 (testout): Likewise.
46379
46380 2012-10-24 Andreas Jaeger <aj@suse.de>
46381
46382 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
46383 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
46384 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
46385 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
46386 posix_fadvise64, posix_fallocate64.
46387
46388 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
46389 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
46390 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
46391 Likewise.
46392 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
46393 Likewise.
46394 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
46395
46396 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
46397 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
46398 <bits/fcntl-linux.h>.
46399 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
46400
46401 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
46402 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
46403 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
46404 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
46405 [__WORDSIZE != 64]: Likewise.
46406
46407 2012-10-23 Joseph Myers <joseph@codesourcery.com>
46408
46409 * Makeconfig (run-built-tests): New variable.
46410 * Rules [$(cross-compiling) = yes]: Change condition to
46411 [$(run-built-tests) = no].
46412 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
46413 to [$(run-built-tests) = yes].
46414 * elf/Makefile [$(cross-compiling) = no]: Likewise
46415 * grp/Makefile [$(cross-compiling) = no]: Likewise.
46416 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
46417 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
46418 * intl/Makefile [$(cross-compiling) = no]: Likewise.
46419 * io/Makefile [$(cross-compiling) = no]: Likewise.
46420 * libio/Makefile [$(cross-compiling) = no]: Likewise.
46421 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
46422 * misc/Makefile [$(cross-compiling) = no]: Likewise.
46423 * posix/Makefile [$(cross-compiling) = no]: Likewise.
46424 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
46425 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
46426 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
46427 * string/Makefile [$(cross-compiling) = no]: Likewise.
46428
46429 * posix/Makefile ($(objpfx)globtest.out): Pass
46430 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
46431 $(rtld-installed-name).
46432 * posix/globtest.sh (elf_objpfx): Remove variable.
46433 (rtld_installed_name): Likewise.
46434 (library_path): Likewise.
46435 (run_program_prefix): New variable. Use for running globtest
46436 binary.
46437
46438 2012-10-23 Jim Blandy <jimb@codesourcery.com>
46439 Joseph Myers <joseph@codesourcery.com>
46440
46441 * Makeconfig (host-built-program-cmd): New variable.
46442 * elf/Makefile (tst-stackguard1-ARGS): Use
46443 $(host-built-program-cmd).
46444 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
46445 (tst-spawn-ARGS): Likewise.
46446 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
46447
46448 2012-10-23 Joseph Myers <joseph@codesourcery.com>
46449 Jim Blandy <jimb@codesourcery.com>
46450
46451 * Makeconfig (run-via-rtld-prefix): New variable.
46452 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
46453 (built-program-cmd): Likewise.
46454
46455 2012-10-22 Andreas Jaeger <aj@suse.de>
46456
46457 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
46458 __O_RSYNC if it exists, otherwise to O_SYNC.
46459
46460 2012-10-22 Jim Blandy <jimb@codesourcery.com>
46461 Joseph Myers <joseph@codesourcery.com>
46462
46463 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
46464 /dev/null.
46465 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
46466 from /dev/null
46467 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
46468 /dev/null.
46469
46470 2012-10-22 Andreas Jaeger <aj@suse.de>
46471
46472 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
46473 Define always.
46474 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
46475
46476 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46477 bits/fcntl-linux.h.
46478
46479 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
46480 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
46481
46482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
46483 to __O_LARGEFILE.
46484 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
46485 to __O_LARGEFILE.
46486
46487 2012-10-21 Jim Blandy <jimb@codesourcery.com>
46488 Joseph Myers <joseph@codesourcery.com>
46489
46490 * config.make.in (NM): New variable.
46491
46492 2012-10-21 Andreas Jaeger <aj@suse.de>
46493
46494 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
46495 definitions and declarations that are provided by
46496 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
46497
46498 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
46499
46500 [BZ #14683]
46501 * elf/Makefile (tests-static): Add tst-leaks1-static.
46502 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
46503 ($(objpfx)tst-leaks1-static): New rule.
46504 ($(objpfx)tst-leaks1-static-mem): Likewise.
46505 (tst-leaks1-static-ENV): New macro.
46506 * elf/dl-open.c (dl_open_worker): Check the main application
46507 only if SHARED is defined.
46508 * elf/tst-leaks1-static.c: New file.
46509
46510 2012-10-20 Andreas Jaeger <aj@suse.de>
46511
46512 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
46513 generic values for Linux.
46514 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
46515 and declarations that are provided by <bits/fcntl-linux.h> and
46516 include <bits/fcntl-linux.h>.
46517 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46518 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46519
46520 2012-10-20 Roland McGrath <roland@hack.frob.com>
46521
46522 * io/fcntl.h: Move include of <bits/types.h> to the top and
46523 include it unconditionally.
46524
46525 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
46526
46527 * wcsmbs/Makefile (tests-ifunc): New variable.
46528 (tests): Add $(tests-ifunc).
46529 * wcsmbs/test-wcschr-ifunc.c: New file.
46530 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
46531 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
46532 * wcsmbs/test-wcslen-ifunc.c: Likewise.
46533 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
46534 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
46535
46536 * string/Makefile (tests-ifunc): New variable.
46537 (tests): Add $(tests-ifunc).
46538 * string/test-memccpy.c (TEST_NAME): New macro.
46539 * string/test-memchr.c (TEST_NAME): Likewise.
46540 * string/test-memcmp.c (TEST_NAME): Likewise.
46541 * string/test-memcpy.c (TEST_NAME): Likewise.
46542 * string/test-memmem.c (TEST_NAME): Likewise.
46543 * string/test-memmove.c (TEST_NAME): Likewise.
46544 * string/test-memset.c (TEST_NAME): Likewise.
46545 * string/test-rawmemchr.c (TEST_NAME): Likewise.
46546 * string/test-stpcpy.c (TEST_NAME): Likewise.
46547 * string/test-stpncpy.c (TEST_NAME): Likewise.
46548 * string/test-strcasecmp.c (TEST_NAME): Likewise.
46549 * string/test-strcasestr.c (TEST_NAME): Likewise.
46550 * string/test-strcat.c (TEST_NAME): Likewise.
46551 * string/test-strchr.c (TEST_NAME): Likewise.
46552 * string/test-strcmp.c(TEST_NAME): Likewise.
46553 * string/test-strcpy.c (TEST_NAME): Likewise.
46554 * string/test-strcspn.c (TEST_NAME): Likewise.
46555 * string/test-strlen.c (TEST_NAME): Likewise.
46556 * string/test-strncasecmp.c (TEST_NAME): Likewise.
46557 * string/test-strncmp.c (TEST_NAME): Likewise.
46558 * string/test-strncpy.c (TEST_NAME): Likewise.
46559 * string/test-strnlen.c (TEST_NAME): Likewise.
46560 * string/test-strpbrk.c (TEST_NAME): Likewise.
46561 * string/test-strrchr.c (TEST_NAME): Likewise.
46562 * string/test-strspn.c (TEST_NAME): Likewise.
46563 * string/test-strstr.c (TEST_NAME): Likewise.
46564 * string/test-bcopy-ifunc.c: New file.
46565 * string/test-bzero-ifunc.c: Likewise.
46566 * string/test-memccpy-ifunc.c: Likewise.
46567 * string/test-memchr-ifunc.c: Likewise.
46568 * string/test-memcmp-ifunc.c: Likewise.
46569 * string/test-memcpy-ifunc.c: Likewise.
46570 * string/test-memmem-ifunc.c: Likewise.
46571 * string/test-memmove-ifunc.c: Likewise.
46572 * string/test-mempcpy-ifunc.c: Likewise.
46573 * string/test-memset-ifunc.c: Likewise.
46574 * string/test-rawmemchr-ifunc.c: Likewise.
46575 * string/test-stpcpy-ifunc.c: Likewise.
46576 * string/test-stpncpy-ifunc.c: Likewise.
46577 * string/test-strcasecmp-ifunc.c: Likewise.
46578 * string/test-strcasestr-ifunc.c: Likewise.
46579 * string/test-strcat-ifunc.c: Likewise.
46580 * string/test-strchr-ifunc.c: Likewise.
46581 * string/test-strchrnul-ifunc.c: Likewise.
46582 * string/test-strcmp-ifunc.c: Likewise.
46583 * string/test-strcpy-ifunc.c: Likewise.
46584 * string/test-strcspn-ifunc.c: Likewise.
46585 * string/test-strlen-ifunc.c: Likewise.
46586 * string/test-strncasecmp-ifunc.c: Likewise.
46587 * string/test-strncat-ifunc.c: Likewise.
46588 * string/test-strncmp-ifunc.c: Likewise.
46589 * string/test-strncpy-ifunc.c: Likewise.
46590 * string/test-strnlen-ifunc.c: Likewise.
46591 * string/test-strpbrk-ifunc.c: Likewise.
46592 * string/test-strrchr-ifunc.c: Likewise.
46593 * string/test-strspn-ifunc.c: Likewise.
46594 * string/test-strstr-ifunc.c: Likewise.
46595
46596 * debug/Makefile (tests-ifunc): New variable.
46597 (tests): Add $(tests-ifunc).
46598 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
46599 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
46600 * debug/test-stpcpy_chk-ifunc.c: New file.
46601 * debug/test-strcpy_chk-ifunc.c: Likewise.
46602
46603 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
46604
46605 [BZ #13601]
46606 * elf/dl-load.c (open_verify): Retry read if the entire ELF
46607 header is not read in.
46608
46609 2012-10-19 Joseph Myers <joseph@codesourcery.com>
46610
46611 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
46612 script to $(SHELL) as $<. Pass $(common-objpfx) to script
46613 directly. Pass built executable to script as
46614 $(built-program-cmd).
46615 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
46616 $testprogram without using LD_LIBRARY_PATH and $ldso.
46617
46618 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
46619 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
46620 $(rtld-installed-name).
46621 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
46622 (rtld_installed_name): Likewise.
46623 (library_path): Likewise.
46624 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
46625 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
46626 $(run-program-prefix) to tst-tables.sh.
46627 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
46628 it to run tst-table-from and tst-table-to.
46629 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
46630 Pass it to tst-table.sh.
46631 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
46632 $(run-program-prefix) to tst-gettext.sh.
46633 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
46634 tst-translit.sh.
46635 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
46636 tst-gettext2.sh.
46637 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
46638 to run tst-gettext.
46639 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
46640 to run tst-gettext2.
46641 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
46642 to run tst-translit.
46643 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
46644 $(run-program-prefix) to tst-mtrace.sh.
46645 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
46646 to run tst-mtrace.
46647 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
46648 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
46649 $(rtld-installed-name).
46650 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
46651 (rtld_installed_name): Likewise.
46652 (run_program_prefix): New variable. Use it to run wordexp-test.
46653
46654 * Makeconfig (ARCH): Remove all definitions.
46655 (machine): Likewise.
46656 [ARCH]: Remove conditional code.
46657 [!objdir]: Give error.
46658 [!objdir] (objpfx): Remove.
46659 [!objdir] (common-objpfx): Likewise.
46660 [!objdir] (common-objdir): Likewise.
46661 * configure.in (config_makefile): Remove. Hardcode Makefile in
46662 AC_CONFIG_FILES call.
46663 * configure: Regenerated.
46664
46665 [BZ #13888]
46666 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
46667 or TMPDIR.
46668 (testout): Likewise.
46669
46670 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
46671 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
46672 $(rtld-installed-name).
46673 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
46674 (rtld_installed_name): Likwise.
46675 (runit): Remove function.
46676 (run_getconf): New variable, Use it for running getconf binary.
46677
46678 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
46679
46680 [BZ #14716]
46681 * string/test-memmem.c (check_result): New function.
46682 (do_one_test): Use it.
46683 (check1): New function.
46684 (test_main): Use it.
46685
46686 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
46687
46688 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
46689
46690 2012-10-18 Joseph Myers <joseph@codesourcery.com>
46691
46692 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
46693 (_G_LSEEK64): Likewise.
46694 (_G_MMAP64): Likewise.
46695 (_G_FSTAT64): Likewise.
46696 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
46697 (_G_LSEEK64): Likewise.
46698 (_G_MMAP64): Likewise.
46699 (_G_FSTAT64): Likewise.
46700 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
46701 unconditional. Call __mmap64 directly.
46702 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
46703 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
46704 __lseek64 directly.
46705 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
46706 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
46707 __mmap64 directly.
46708 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
46709 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
46710 __lseek64 directly.
46711 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
46712 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
46713 __lseek64 directly.
46714 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
46715 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
46716 __lseek64 directly.
46717 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
46718 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
46719 __fxstat64 directly.
46720 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
46721 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
46722 unconditional.
46723 (freopen64) [!_G_OPEN64]: Remove conditional code.
46724 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
46725 unconditional.
46726 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
46727 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
46728 unconditional.
46729 (ftello64) [!_G_LSEEK64]: Remove conditional code.
46730 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
46731 unconditional.
46732 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46733 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
46734 unconditional.
46735 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
46736 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
46737 unconditional.
46738 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46739 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
46740 unconditional.
46741 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
46742 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
46743 unconditional.
46744 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
46745
46746 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
46747
46748 [BZ #12140]
46749 * manual/memory.texi (Malloc Tunable Parameters): Add note
46750 about free list pointers overwriting some perturb bytes.
46751 Wording suggested by Roland McGrath.
46752
46753 2012-10-17 Joseph Myers <joseph@codesourcery.com>
46754
46755 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
46756 (lgamma_test): Likewise.
46757 (tgamma_test): Likewise.
46758
46759 2012-10-16 Florian Weimer <fweimer@redhat.com>
46760
46761 [BZ #14700]
46762 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
46763 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
46764
46765 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
46766
46767 * NEWS: Mention BZ #14716.
46768 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
46769 when removing AVAILABLE1_USES_J macro.
46770
46771 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
46772
46773 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
46774 (__bswap_64): __uint64_t for unsigned 64-bit int.
46775
46776 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
46777
46778 * include/string.h (memmem): Declare libc hidden alias.
46779 * string/memmem.c (memmem): Define libc hidden alias.
46780 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
46781 __read, __close instead of open, read, close.
46782
46783 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
46784
46785 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
46786 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
46787 global and hidden.
46788 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
46789 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
46790 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
46791 Likewise.
46792 (__rawmemchr_sse2): Likewise.
46793 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
46794 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
46795 (__strchr_sse2): Likewise.
46796 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
46797 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
46798 (__strcasecmp_sse2): Likewise.
46799 (__strncasecmp_sse2): Likewise.
46800 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
46801 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
46802 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
46803 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
46804 (__strrchr_sse2): Likewise.
46805 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
46806 ifunc-impl-list.c.
46807 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
46808 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
46809 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
46810 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46811 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
46812 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
46813 * sysdeps/x86_64/multiarch/memset.S: Likewise.
46814 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46815 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
46816 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
46817 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
46818 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
46819 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
46820 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
46821 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
46822 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
46823 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
46824 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
46825 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
46826 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
46827 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
46828 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
46829 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
46830 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
46831 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
46832 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46833 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
46834 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
46835 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
46836 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
46837
46838 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
46839 global and hidden.
46840 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
46841 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
46842 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
46843 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
46844 Likewise.
46845 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
46846 Likewise.
46847 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
46848 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
46849 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
46850 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
46851 ifunc-impl-list.c.
46852 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
46853 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
46854 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
46855 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
46856 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
46857 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
46858 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
46859 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
46860 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
46861 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
46862 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
46863 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
46864 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
46865 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
46866 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
46867 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
46868 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
46869 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
46870 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
46871 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
46872 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
46873 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
46874 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
46875 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
46876 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
46877 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
46878 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
46879 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
46880 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
46881 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
46882 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
46883 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
46884 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
46885 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
46886 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
46887 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
46888 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
46889 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
46890 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
46891 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
46892 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
46893
46894 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
46895 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
46896 * include/ifunc-impl-list.h: New file.
46897 * misc/ifunc-impl-list.c: Likewise.
46898 * misc/Makefile (routines): Add ifunc-impl-list.
46899 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
46900 * string/test-string.h: Include <ifunc-impl-list.h>.
46901 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
46902 TEST_NAME]: New variables.
46903 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
46904 are defined.
46905 (test_init): Call __libc_ifunc_impl_list to initialize
46906 func_list if TEST_IFUNC and TEST_NAME are defined.
46907
46908 * string/Makefile (strop-tests): Add bcopy and bzero.
46909 * string/test-bcopy.c: New file.
46910 * string/test-bzero.c: Likewise.
46911 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
46912 defined.
46913 * string/test-memset.c: Support bzero test if TEST_BZERO is
46914 defined.
46915 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
46916 __libc_memmove.
46917 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
46918 __libc_memset.
46919 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
46920 of memset.
46921
46922 2012-10-10 Joseph Myers <joseph@codesourcery.com>
46923
46924 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
46925 * configure: Regenerated.
46926
46927 * Makeconfig (+link-static-before-libc): Don't include
46928 $(link-static-libc).
46929
46930 * libio/libio.h (_IO_pos_t): Remove.
46931
46932 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46933
46934 * NEWS: Add note about FIPS mode. Wording suggested by Roland
46935 McGrath.
46936
46937 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46938
46939 * crypt/crypt-entry.c: Include fips-private.h.
46940 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
46941 * crypt/md5c-test.c (main): Tolerate disabled MD5.
46942 * sysdeps/unix/sysv/linux/fips-private.h: New file.
46943 * sysdeps/generic/fips-private.h: New file, dummy fallback.
46944
46945 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
46946
46947 * crypt/crypt-private.h: Include stdbool.h.
46948 (_ufc_setup_salt_r): Return bool.
46949 * crypt/crypt-entry.c: Include errno.h.
46950 (__crypt_r): Return NULL with EINVAL for bad salt.
46951 * crypt/crypt_util.c (bad_for_salt): New.
46952 (_ufc_setup_salt_r): Check that salt is long enough and within
46953 the specified alphabet.
46954 * crypt/badsalttest.c: New file.
46955 * crypt/Makefile (tests): Add it.
46956 ($(objpfx)badsalttest): New.
46957
46958 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
46959
46960 * NEWS: Add entry for BZ #14602.
46961
46962 2012-10-09 Joseph Myers <joseph@codesourcery.com>
46963
46964 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
46965 type-generic.
46966 * math/libm-test.inc: Update comment listing what functions and
46967 macros are tested.
46968 (isgreater_test): New function.
46969 (isgreaterequal_test): Likewise.
46970 (isless_test): Likewise.
46971 (islessequal_test): Likewise.
46972 (islessgreater_test): Likewise.
46973 (isunordered_test): Likewise.
46974 (main): Call the new functions.
46975
46976 2012-10-09 Roland McGrath <roland@hack.frob.com>
46977
46978 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
46979 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
46980 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
46981 * sysdeps/i386/configure: Regenerated.
46982 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
46983 * sysdeps/mach/configure: Regenerated.
46984 * sysdeps/mach/hurd/configure: Regenerated.
46985 * sysdeps/powerpc/configure: Regenerated.
46986 * sysdeps/powerpc/powerpc32/configure: Regenerated.
46987 * sysdeps/powerpc/powerpc64/configure: Regenerated.
46988 * sysdeps/s390/s390-32/configure: Regenerated.
46989 * sysdeps/s390/s390-64/configure: Regenerated.
46990 * sysdeps/sh/configure: Regenerated.
46991 * sysdeps/sparc/configure: Regenerated.
46992 * sysdeps/unix/sysv/linux/configure: Regenerated.
46993 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46994 * sysdeps/x86_64/configure: Regenerated.
46995
46996 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
46997 defined. Don't check if MAP is NULL.
46998
46999 2012-10-09 Joseph Myers <joseph@codesourcery.com>
47000
47001 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
47002 (_G_stat64): Likewise.
47003 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
47004 (_G_stat64): Likewise.
47005 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
47006 instead of struct _G_stat64.
47007 * libio/fileops.c (mmap_remap_check): Likewise.
47008 (decide_maybe_mmap): Likewise.
47009 (_IO_new_file_seekoff): Likewise.
47010 (_IO_file_stat): Likewise.
47011 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
47012 _G_off64_t.
47013 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
47014 instead of struct _G_stat64.
47015 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47016
47017 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
47018
47019 [BZ #14602]
47020 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47021 Replace with ...
47022 (CHECK_EOL): New macro.
47023 (two_way_short_needle): Check beginning of haystack for EOL. Use
47024 CHECK_EOL.
47025 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47026 Replace with CHECK_EOL.
47027 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
47028 Replace with CHECK_EOL.
47029
47030 2012-10-08 Joseph Myers <joseph@codesourcery.com>
47031
47032 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
47033 type-generic.
47034 * math/libm-test.inc: Update comment listing what functions and
47035 macros are tested.
47036 (finite_test): New function.
47037 (isinf_test): Likewise.
47038 (isnan_test): Likewise.
47039 (fpclassify_test): Test subnormal input.
47040 (isfinite_test): Likewise.
47041 (isnormal_test): Likewise.
47042 (main): Call the new functions.
47043
47044 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
47045
47046 [BZ #14660]
47047 * Makerules (%.dynsym): Force C locale when running
47048 $(OBJDUMP) --dynamic-syms.
47049
47050 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
47051
47052 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
47053 <stdint.h>.
47054
47055 2012-10-06 David S. Miller <davem@davemloft.net>
47056
47057 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
47058 upper 32-bits of the length value in %o2 since we use branch-on-register
47059 tests which consider the entire 64-bit register.
47060
47061 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
47062
47063 * string/test-strstr.c (check2): Add a test for page boundary.
47064
47065 2012-10-05 David S. Miller <davem@davemloft.net>
47066
47067 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
47068 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
47069 file.
47070 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47071 sysdep_routines.
47072 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47073 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
47074 and bzero when HWCAP_SPARC_CRYPTO is present.
47075
47076 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
47077
47078 [BZ #14602]
47079 * string/test-strstr.c (check2): New function.
47080 (test_main): Call check2.
47081
47082 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
47083 and bug-strchr1.
47084 * string/bug-strcasestr1.c (do_test): Moved to ...
47085 * string/test-strcasestr.c (check1): Here. New function.
47086 (do_one_test): Break out result checking code into ...
47087 (check_result): This. New function.
47088 (do_one_test): Call check_result.
47089 (test_main): Call check1.
47090 * string/bug-strchr1.c (do_test): Moved to ...
47091 * string/test-strchr.c (check1): Here. New function.
47092 (do_one_test): Break out result checking code into ...
47093 (check_result): This. New function.
47094 (do_one_test): Call check_result.
47095 (test_main): Call check1.
47096 * string/bug-strstr1.c (main): Moved to ...
47097 * string/test-strstr.c (check1): Here. New function.
47098 (do_one_test): Break out result checking code into ...
47099 (check_result): This. New function.
47100 (do_one_test): Call check_result.
47101 (test_main): Call check1.
47102 * string/bug-strcasestr1.c: Removed.
47103 * string/bug-strchr1.c: Likewise.
47104 * string/bug-strstr1.c: Likewise.
47105
47106 * elf/Makefile (dl-routines): Add hwcaps.
47107 * elf/dl-support.c (_dl_important_hwcaps): Removed.
47108 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
47109 (_dl_important_hwcaps): Moved to ...
47110 * elf/dl-hwcaps.c: Here. New file.
47111 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
47112
47113 [BZ #14557]
47114 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
47115 if IS_IN_rtld isn't defined.
47116
47117 * elf/dl-support.c (_dl_sysinfo_map): New.
47118 Include "get-dynamic-info.h" and "setup-vdso.h".
47119 (_dl_non_dynamic_init): Call setup_vdso.
47120 * elf/dynamic-link.h: Don't include <assert.h>.
47121 (elf_get_dynamic_info): Moved to ...
47122 * elf/get-dynamic-info.h: Here. New file.
47123 * elf/dynamic-link.h: Include "get-dynamic-info.h".
47124 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
47125 * elf/setup-vdso.h: Here. New file.
47126 * elf/rtld.c: Include "setup-vdso.h".
47127 (dl_main): Call setup_vdso.
47128
47129 2012-10-05 Joseph Myers <joseph@codesourcery.com>
47130
47131 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
47132 creal in comment listing functions tested. List finite, isinf,
47133 isnan, isless, islessequal, isgreater, isgreaterequal,
47134 islessgreater, isunordered, lgamma_r and pow10 as functions and
47135 macros not tested. Mention which functions not tested are aliases
47136 for other functions. Fix typo. Note that signs of NaNs are not
47137 tested.
47138
47139 * scripts/config.guess: Update from config.git.
47140 * scripts/config.sub: Likewise.
47141
47142 2012-10-04 Roland McGrath <roland@hack.frob.com>
47143
47144 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
47145 * misc/madvise.c (madvise): Renamed to __madvise.
47146 Make madvise a weak alias.
47147 * include/sys/mman.h: Declare __madvise.
47148 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
47149 * sysdeps/unix/syscalls.list
47150 (madvise): Make __madvise the strong name, and madvise a weak alias.
47151 * sysdeps/unix/sysv/linux/syscalls.list
47152 (madvise, mmap): Remove redundant entries.
47153 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
47154 * malloc/malloc.c (mtrim): Likewise.
47155 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
47156
47157 2012-10-03 Roland McGrath <roland@hack.frob.com>
47158
47159 * sysdeps/mach/hurd/dl-cache.c: File removed.
47160 * config.h.in (USE_LDCONFIG): New #undef.
47161 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
47162 * configure: Regenerated.
47163 * elf/Makefile (dl-routines): Add dl-cache only under
47164 [$(use-ldconfig) = yes].
47165 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
47166 cache on [USE_LDCONFIG].
47167 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
47168 [USE_LDCONFIG].
47169 * elf/rtld.c (dl_main): Likewise.
47170
47171 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
47172
47173 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
47174 _SC_LEVEL4_CACHE_LINESIZE.
47175
47176 2012-10-03 Roland McGrath <roland@hack.frob.com>
47177
47178 * sysdeps/unix/bsd/confstr.h: File removed.
47179
47180 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
47181
47182 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
47183 sys/sdt-config.h.
47184
47185 2012-10-02 Roland McGrath <roland@hack.frob.com>
47186
47187 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
47188 Make 'mapoff' field ElfW(Off) rather than off_t.
47189
47190 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
47191
47192 * nscd/Makefile: Remove nscd-cflags and all its users.
47193 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
47194 (CFLAGS-nonlib): Add compiler flags for nscd modules.
47195
47196 [BZ #10631]
47197 * malloc.c (malloc_printerr): Clarify error message.
47198
47199 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
47200
47201 [BZ #14648]
47202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47203 Set bit_FMA_Usable if FMA is supported.
47204 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
47205 macro.
47206 (bit_FMA4_Usable): Updated.
47207 (index_FMA_Usable): New macro.
47208 (CPUID_FMA): Likewise
47209 (HAS_FMA): Defined with bit_FMA_Usable.
47210
47211 2012-10-01 Roland McGrath <roland@hack.frob.com>
47212
47213 * bits/types.h (__swblk_t): Type removed.
47214 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
47215 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
47216 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47217 (__SWBLK_T_TYPE): Likewise.
47218 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
47219 (__SWBLK_T_TYPE): Likewise.
47220 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47221 (__SWBLK_T_TYPE): Likewise.
47222 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47223 (__SWBLK_T_TYPE): Likewise.
47224
47225 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
47226 Honza Horak <hhorak@redhat.com>
47227
47228 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
47229 (xdr_mapname): Use YPMAXMAP as maxsize.
47230 (xdr_peername): Use YPMAXPEER as maxsize.
47231 (xdr_keydat): Use YPAXRECORD as maxsize.
47232 (xdr_valdat): Use YPMAXRECORD as maxsize.
47233
47234 2012-10-01 Roland McGrath <roland@hack.frob.com>
47235
47236 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
47237
47238 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
47239 * csu/init-first.c: ... here.
47240 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
47241 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
47242 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
47243 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
47244 * sysdeps/i386/init-first.c: File removed.
47245 * sysdeps/sh/init-first.c: File removed.
47246
47247 2012-10-01 Joseph Myers <joseph@codesourcery.com>
47248
47249 [BZ #14645]
47250 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
47251 if x * y might underflow to zero and z is zero.
47252 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47253 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47254 * math/libm-test.inc (min_subnorm_value): New variable.
47255 (fma_test): Add more tests.
47256 (fma_test_towardzero): Likewise.
47257 (fma_test_downward): Likewise
47258 (fma_test_upward): Likewise.
47259 (initialize): Set min_subnorm_value.
47260
47261 2012-09-29 Joseph Myers <joseph@codesourcery.com>
47262
47263 [BZ #14638]
47264 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
47265 0 + 0.
47266 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
47267 mode for addition resulting in exact zero.
47268 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
47269 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
47270 exact 0 + 0.
47271 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47272 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47273 * math/libm-test.inc (fma_test): Add more tests.
47274 (fma_test_towardzero): New function.
47275 (fma_test_downward): Likewise.
47276 (fma_test_upward): Likewise.
47277 (main): Call the new functions.
47278
47279 2012-09-28 David S. Miller <davem@davemloft.net>
47280
47281 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
47282
47283 2012-09-28 Roland McGrath <roland@hack.frob.com>
47284
47285 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
47286 instead of SIGALRM.
47287
47288 * sysdeps/gnu/_G_config.h: Moved to ...
47289 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
47290 * sysdeps/mach/hurd/_G_config.h: Moved to ...
47291 * sysdeps/generic/_G_config.h: ... here.
47292
47293 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
47294
47295 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
47296
47297 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
47298 Conditionalize target on [libnss_test1.so-version].
47299
47300 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
47301
47302 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
47303 (elfobjdir): Move out of conditionals.
47304
47305 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
47306 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
47307 (__nss_lookup_function): Conditionalize label remove_from_tree on
47308 [!DO_STATIC_NSS || SHARED], matching its only use.
47309
47310 2012-09-28 David S. Miller <davem@davemloft.net>
47311
47312 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
47313 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
47314 file.
47315 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
47316 sysdep_routines.
47317 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
47318 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
47319 when HWCAP_SPARC_CRYPTO is present.
47320
47321 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
47322
47323 * io/tst-mknodat.c: Create a FIFO instead of a socket.
47324
47325 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
47326
47327 [BZ #6530]
47328 * stdio-common/vfprintf.c (process_string_arg): Revert
47329 2000-07-22 change.
47330
47331 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
47332
47333 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
47334 for testcase.
47335 * stdio-common/tst-sprintf.c: Include <locale.h>
47336 (main): Test sprintf's handling of incomplete multibyte
47337 characters.
47338
47339 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
47340
47341 * elf/dl-runtime.c (VERSYMIDX): Removed.
47342 * elf/dl-version.c (VERSYMIDX): Likewise.
47343 * elf/do-rel.h (VERSYMIDX): Likewise.
47344 (VALIDX): Likewise.
47345 * elf/dynamic-link.h (VERSYMIDX): Likewise.
47346 * elf/rtld.c (VALIDX): Likewise.
47347 (ADDRIDX): Likewise.
47348 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
47349 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
47350 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
47351 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
47352 (VALIDX): Likewise.
47353 (ADDRIDX): Likewise.
47354
47355 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
47356
47357 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
47358
47359 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
47360
47361 [BZ #11438]
47362 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
47363 to global scope.
47364 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
47365 addresses are in the same scope as 192.0.2/24.
47366 * posix/gai.conf: Document new scope table defaults.
47367
47368 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47369
47370 [BZ #5298]
47371 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
47372 for ftell. Compute offsets from write pointers instead.
47373 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
47374
47375 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47376
47377 [BZ #14543]
47378 * libio/Makefile (tests): New test case tst-fseek.
47379 * libio/tst-fseek.c: New test case to verify that fseek/ftell
47380 combination works in wide mode.
47381 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
47382 state when the external buffer state changes.
47383
47384 2012-09-27 David S. Miller <davem@davemloft.net>
47385
47386 [BZ #14376]
47387 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
47388 pass reloc->r_addend in as the 'high' argument to
47389 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
47390
47391 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47392
47393 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
47394
47395 * rt/tst-aio2.c: Include <pthread.h>.
47396 * rt/tst-aio3.c: Likewise.
47397
47398 2012-09-27 Steve Ellcey <sellcey@mips.com>
47399
47400 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
47401
47402 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
47403
47404 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
47405 contents on [SHARED].
47406
47407 2012-09-26 Marek Polacek <polacek@redhat.com>
47408
47409 [BZ #14530]
47410 [BZ #13741]
47411 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
47412 for C++ and GCC <4.3 as well as for non GCC compilers.
47413
47414 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
47415
47416 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47417
47418 2012-09-25 Roland McGrath <roland@hack.frob.com>
47419
47420 * Makefile.in (all, install): Declare with .PHONY.
47421 Reported by Michael Hope <michael.hope@linaro.org>.
47422
47423 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47424
47425 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
47426 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
47427 system header.
47428 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
47429 Likewise.
47430 (sydep_routines): Add the new and the internal functions.
47431 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
47432 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
47433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
47434 (GLIBC_2.17): Add the new function.
47435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
47436 (GLIBC_2.17): Likewise.
47437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
47438 (GLIBC_2.17): Likewise.
47439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
47440 (GLIBC_2.17): Likewise.
47441 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
47442
47443 2012-09-25 Alan Modra <amodra@gmail.com>
47444
47445 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
47446 Add release barrier before setting once_control to say
47447 initialisation is done. Add hints on lwarx. Use macro in
47448 place of isync.
47449 (clear_once_control): Add release barrier.
47450
47451 2012-09-25 Joseph Myers <joseph@codesourcery.com>
47452
47453 [BZ #13629]
47454 * math/s_clog.c (__clog): Handle more values close to |z| = 1
47455 specially.
47456 * math/s_clog10.c (__clog10): Likewise.
47457 * math/s_clog10f.c (__clog10f): Likewise.
47458 * math/s_clog10l.c (__clog10l): Likewise.
47459 * math/s_clogf.c (__clogf): Likewise.
47460 * math/s_clogl.c (__clogl): Likewise.
47461 * math/Makefile (libm-calls): Add x2y2m1.
47462 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
47463 (__x2y2m1): Likewise.
47464 (__x2y2m1l): Likewise.
47465 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
47466 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
47467 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
47468 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
47469 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
47470 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
47471 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
47472 * sysdeps/i386/fpu/libm-test-ulps: Update.
47473 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47474
47475 [BZ #14621]
47476 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
47477 int as type of variable DEPTH.
47478 (glob): Use size_t instead of int as type of variables NEWCOUNT
47479 and OLD_PATHC.
47480
47481 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47482
47483 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
47484 Add s_sincosf-sse2.
47485 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
47486 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
47487 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
47488 macros for using routine as __sincosf_ia32.
47489 Use macro for function declaration and weak_alias.
47490 * sysdeps/i386/fpu/libm-test-ulps: Update.
47491
47492 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
47493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47494
47495 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
47496 subnormal argument.
47497 * math/s_cexpf.c (__cexpf): Likewise.
47498 * math/s_csinf.c (__csinf): Likewise.
47499 * math/s_csinhf.c (__csinhf): Likewise.
47500 * math/s_ctanf.c (__ctanf): Likewise.
47501 * math/s_ctanhf.c (__ctanhf): Likewise.
47502 * math/s_ccosh.c (__ccoshf): Likewise.
47503 * math/s_cexp.c (__cexpl): Likewise.
47504 * math/s_csin.c (__csin): Likewise.
47505 * math/s_csinh.c (__csinh): Likewise.
47506 * math/s_ctan.c (__ctan): Likewise.
47507 * math/s_ctanh.c (ctanh): Likewise.
47508 * math/s_ccoshl.c (__ccoshl): Likewise.
47509 * math/s_cexpl.c (__cexpl): Likewise.
47510 * math/s_csinl.c (__csinl): Likewise.
47511 * math/s_csinhl.c (__csinhl): Likewise.
47512 * math/s_ctanl.c (__ctanl): Likewise.
47513 * math/s_ctanhl.c (__ctanhl): Likewise.
47514
47515 2012-09-25 Joseph Myers <joseph@codesourcery.com>
47516
47517 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
47518 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
47519 (_IO_off_t): Define to __off_t, not _G_off_t.
47520 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
47521 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
47522 (_IO_wint_t): Define to wint_t, not _G_wint_t.
47523 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
47524 type of __dummy and __dummy2 fields.
47525 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
47526 (_G_ssize_t): Likewise.
47527 (_G_off_t): Likewise.
47528 (_G_pid_t): Likewise.
47529 (_G_uid_t): Likewise.
47530 (_G_wchar_t): Likewise.
47531 (_G_wint_t): Likewise.
47532 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
47533 (_G_ssize_t): Likewise.
47534 (_G_off_t): Likewise.
47535 (_G_pid_t): Likewise.
47536 (_G_uid_t): Likewise.
47537 (_G_wchar_t): Likewise.
47538 (_G_wint_t): Likewise.
47539 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
47540 (_G_ssize_t): Likewise.
47541 (_G_off_t): Likewise.
47542 (_G_pid_t): Likewise.
47543 (_G_uid_t): Likewise.
47544 (_G_wchar_t): Likewise.
47545 (_G_wint_t): Likewise.
47546
47547 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47548
47549 * malloc/arena.c: Include malloc-sysdep.h.
47550 (shrink_heap): Use check_may_shrink_heap to decide if madvise
47551 is sufficient to shrink the heap or an unmap is needed.
47552 * sysdeps/generic/malloc-sysdep.h: New file. Define
47553 new function check_may_shrink_heap.
47554 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
47555 new function check_may_shrink_heap.
47556
47557 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
47558
47559 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
47560 comments.
47561
47562 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
47563
47564 * catgets/test-gencat.sh: Add "set -e".
47565 * elf/tst-pathopt.sh: Likewise.
47566 * grp/tst_fgetgrent.sh: Likewise.
47567 * iconvdata/run-iconv-test.sh: Likewise.
47568 * intl/tst-gettext.sh: Likewise.
47569 * intl/tst-gettext2.sh: Likewise.
47570 * intl/tst-gettext4.sh: Likewise.
47571 * intl/tst-gettext6.sh: Likewise.
47572 * intl/tst-translit.sh: Likewise.
47573 * io/ftwtest-sh: Likewise.
47574 * libio/test-freopen.sh: Likewise.
47575 * malloc/tst-mtrace.sh: Likewise.
47576 * posix/globtest.sh: Likewise.
47577 * posix/tst-getconf.sh: Likewise.
47578 * posix/wordexp-tst.sh: Likewise.
47579 * stdio-common/tst-printf.sh: Likewise.
47580 * stdio-common/tst-unbputc.sh: Likewise.
47581 * stdlib/tst-fmtmsg.sh: Likewise.
47582 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47583 * catgets/Makefile: Do not specify -e option when running
47584 testsuite shell scripts.
47585 * elf/Makefile: Likewise.
47586 * grp/Makefile: Likewise.
47587 * iconvdata/Makefile: Likewise.
47588 * intl/Makefile: Likewise.
47589 * io/Makefile: Likewise.
47590 * libio/Makefile: Likewise.
47591 * malloc/Makefile: Likewise.
47592 * posix/Makefile: Likewise.
47593 * stdio-common/Makefile: Likewise.
47594 * stdlib/Makefile: Likewise.
47595 * sysdeps/x86_64/Makefile: Likewise.
47596
47597 * io/ftwtest-sh: Add copyright header.
47598 * posix/globtest.sh: Likewise.
47599 * posix/tst-getconf.sh: Likewise.
47600 * posix/wordexp-tst.sh: Likewise.
47601 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
47602
47603 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
47604
47605 [BZ #13679]
47606 * Makeconfig (+link): Defined as $(+link-static) if
47607 $(build-shared) isn't yes.
47608 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
47609 isn't yes.
47610 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
47611
47612 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
47613
47614 [BZ #14562]
47615 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
47616 new chunk size with MALLOC_ALIGN_MASK.
47617
47618 2012-09-24 Joseph Myers <joseph@codesourcery.com>
47619
47620 [BZ #5044]
47621 * stdio-common/printf_fphex.c: Include <stdbool.h> and
47622 <rounding-mode.h>.
47623 (__printf_fphex): Determine rounding using get_rounding_mode and
47624 round_away.
47625 * stdio-common/tst-printf-round.c (struct hex_test): New
47626 structure.
47627 (hex_tests): New variable.
47628 (test_hex_in_one_mode): New function.
47629 (do_test): Also run tests for hex float output.
47630
47631 2012-09-21 Joseph Myers <joseph@codesourcery.com>
47632
47633 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47634 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47635 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
47636 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
47637 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
47638 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
47639 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47640 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
47641
47642 2012-09-20 Joseph Myers <joseph@codesourcery.com>
47643
47644 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
47645 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
47646 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
47647 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
47648
47649 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
47650
47651 [BZ #14579]
47652 * elf/rtld.c (dl_main): Limit the check for self loading to normal
47653 mode only.
47654 * elf/tst-rtld-load-self.sh: New test.
47655 * elf/Makefile: Run it.
47656
47657 2012-09-18 Joseph Myers <joseph@codesourcery.com>
47658
47659 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
47660 (tst-writev-ENV): Remove.
47661 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
47662
47663 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
47664
47665 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
47666
47667 2012-09-17 Joseph Myers <joseph@codesourcery.com>
47668
47669 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
47670 unconditional.
47671 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
47672 Likewise.
47673 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
47674 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
47675 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
47676 Likewise.
47677
47678 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
47679
47680 [BZ #14587]
47681 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
47682 * config.make.in (have-cpp-asm-debuginfo): Removed.
47683 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
47684 * configure: Regenerated.
47685
47686 2012-09-14 Joseph Myers <joseph@codesourcery.com>
47687
47688 [BZ #5044]
47689 * stdio-common/printf_fp.c: Include <stdbool.h> and
47690 <rounding-mode.h>.
47691 (___printf_fp): Determine rounding using get_rounding_mode and
47692 round_away.
47693 * stdio-common/tst-printf-round.c: New file.
47694 * stdio-common/Makefile (tests): Add tst-printf-round.
47695 (link-libm): New variable.
47696 ($(objpfx)tst-printf-round): Depend in $(link-libm).
47697
47698 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
47699
47700 [BZ #14576]
47701 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
47702 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
47703 Likewise.
47704 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
47705 Likewise.
47706
47707 2012-09-13 Joseph Myers <joseph@codesourcery.com>
47708
47709 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
47710 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47711 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47712 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
47713
47714 2012-09-12 Joseph Myers <joseph@codesourcery.com>
47715
47716 [BZ #14518]
47717 * include/rounding-mode.h: New file.
47718 * sysdeps/generic/get-rounding-mode.h: Likewise.
47719 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
47720 * stdlib/strtod_l.c: Include <rounding-mode.h>.
47721 (MAX_VALUE): New macro.
47722 (MIN_VALUE): Likewise.
47723 (overflow_value): New function.
47724 (underflow_value): Likewise.
47725 (round_and_return): Use overflow_value and underflow_value to
47726 determine return values in overflow and underflow cases. Use
47727 round_away to determine rounding depending on rounding mode.
47728 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
47729 determine return values in overflow and underflow cases.
47730 * stdlib/tst-strtod-round.c: Include <fenv.h>.
47731 (struct test_results): New structure.
47732 (struct test): Use struct test_results to store expected results
47733 for all rounding modes.
47734 (TEST): Include expected results for all rounding modes.
47735 (test_in_one_mode): New function.
47736 (do_test): Use test_in_one_mode to compute and check results.
47737 Check results for all rounding modes.
47738 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
47739 $(link-libm).
47740
47741 2012-12-09 Allan McRae <allan@archlinux.org>
47742
47743 * sysdeps/i386/fpu/libm-test-ulps: Update
47744
47745 2012-09-11 Joseph Myers <joseph@codesourcery.com>
47746
47747 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
47748 (_G_int32_t): Likewise.
47749 (_G_uint16_t): Likewise.
47750 (_G_uint32_t): Likewise.
47751 (_G_HAVE_BOOL): Likewise.
47752 (_G_HAVE_ATEXIT): Likewise.
47753 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47754 (_G_HAVE_IO_FILE_OPEN): Likewise.
47755 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
47756 (_G_int32_t): Likewise.
47757 (_G_uint16_t): Likewise.
47758 (_G_uint32_t): Likewise.
47759 (_G_HAVE_BOOL): Likewise.
47760 (_G_HAVE_ATEXIT): Likewise.
47761 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47762 (_G_HAVE_IO_FILE_OPEN): Likewise.
47763 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
47764 (_G_int32_t): Likewise.
47765 (_G_uint16_t): Likewise.
47766 (_G_uint32_t): Likewise.
47767 (_G_HAVE_BOOL): Likewise.
47768 (_G_HAVE_ATEXIT): Likewise.
47769 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
47770 (_G_HAVE_IO_FILE_OPEN): Likewise.
47771
47772 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
47773
47774 * csu/libc-tls.c: Update copyright years.
47775
47776 2012-09-10 Joseph Myers <joseph@codesourcery.com>
47777
47778 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
47779 [!_G_USING_THUNKS]: Remove conditional code.
47780 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
47781 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
47782
47783 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
47784 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
47785 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47786 (_G_VTABLE_LABEL_PREFIX): Likewise.
47787 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47788 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47789 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47790 (_G_VTABLE_LABEL_PREFIX): Likewise.
47791 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47792 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
47793 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
47794 (_G_VTABLE_LABEL_PREFIX): Likewise.
47795 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
47796
47797 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
47798
47799 * libio/Makefile: Include ../Makeconfig before tests.
47800 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
47801 only if $(build-shared) is yes.
47802
47803 * iconv/gconv_db.c: Update copyright years.
47804
47805 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47806
47807 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
47808 unwind info if defined PIC. Fix special cases description.
47809 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
47810
47811 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
47812 DP_HI_MASK entry.
47813 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
47814
47815 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
47816
47817 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
47818
47819 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
47820 is NULL.
47821
47822 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
47823 (LDLIBS-tst-chk4): This.
47824 (LDFLAGS-tst-chk5): Renamed to ...
47825 (LDLIBS-tst-chk5): This.
47826 (LDFLAGS-tst-chk6): Renamed to ...
47827 (LDLIBS-tst-chk6): This.
47828 (LDFLAGS-tst-lfschk4): Renamed to ...
47829 (LDLIBS-tst-lfschk4): This.
47830 (LDFLAGS-tst-lfschk5): Renamed to ...
47831 (LDLIBS-tst-lfschk5): This.
47832 (LDFLAGS-tst-lfschk6): Renamed to ...
47833 (LDLIBS-tst-lfschk6): This.
47834
47835 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
47836 on $(common-objpfx)soversions.mk.
47837
47838 2012-09-07 Joseph Myers <joseph@codesourcery.com>
47839
47840 [BZ #10014]
47841 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
47842 example host name.
47843
47844 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
47845
47846 * malloc/arena.c (arena_get_retry): New function that gets
47847 another arena for the caller to try its request on.
47848 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
47849 current arena cannot fulfill the request.
47850 (__libc_memalign): Likewise.
47851 (__libc_memalign): Likewise.
47852 (__libc_pvalloc): Likewise.
47853 (__libc_calloc): Likewise.
47854
47855 2012-09-05 John Tobey <john.tobey@gmail.com>
47856
47857 [BZ #13542]
47858 * manual/arith.texi (Operations on Complex): Fix description
47859 of carg branch cut.
47860
47861 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47862
47863 [BZ #10014]
47864 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
47865 host name.
47866
47867 [BZ #10038]
47868 * manual/memory.texi (Memory): Make order of menu items match
47869 order of sections.
47870
47871 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47872
47873 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
47874 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
47875 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
47876
47877 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47878
47879 * csu/libc-tls.c (static_dtv): Renamed to ...
47880 (_dl_static_dtv): This. Make it global.
47881 (_dl_initial_dtv): Removed.
47882 (__libc_setup_tls): Updated.
47883 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
47884 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
47885 DL_INITIAL_DTV.
47886
47887 2012-09-06 Petr Machata <pmachata@redhat.com>
47888
47889 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
47890 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
47891 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
47892 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
47893
47894 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47895
47896 [BZ #14545]
47897 * csu/libc-tls.c (_dl_initial_dtv): New variable.
47898 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
47899 freeing dtv[-1].
47900
47901 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
47902
47903 [BZ #14544]
47904 * Makeconfig (link-static-before-libc): Replace $(+prector)
47905 with $(+prectorT).
47906 (link-static-after-libc): Replace $(+postctor) with
47907 $(+postctorT).
47908 (link-bounded): Replace $(+prector)/$(+postctor) with
47909 $(+prectorT)/$(+postctorT).
47910 (+prectorT): New macro.
47911 (+postctorT): Likewise.
47912
47913 2012-09-06 Joseph Myers <joseph@codesourcery.com>
47914
47915 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
47916 (round_str): Handle values above the maximum for IBM long double
47917 as inexact.
47918 * stdlib/tst-strtod-round.c (tests): Regenerated.
47919
47920 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47921
47922 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
47923 assembler flag.
47924 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
47925 zarch_nohighgprs around the zarch optimized routines.
47926 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
47927 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
47928 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
47929 for zarch.
47930
47931 2012-09-05 David S. Miller <davem@davemloft.net>
47932
47933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47934
47935 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
47936 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
47937 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
47938 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
47939 entries.
47940
47941 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47942
47943 * malloc/arena.c: Fold copyright years.
47944 * malloc/mcheck.c, malloc/memusage.c: Likewise.
47945
47946 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47947
47948 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
47949
47950 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47951
47952 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
47953
47954 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47955
47956 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
47957 change internal state upon failure.
47958
47959 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
47960
47961 * malloc/mcheck.c (mcheck_check_all): Fix typo.
47962 * malloc/memusage.c (mmap): Likewise.
47963 (mmap64, mremap): Likewise. Adjust name in comment.
47964
47965 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47966
47967 * libio/fileops.c: Fix typos in comments.
47968 * libio/oldfileops.c: Likewise.
47969 * libio/wfileops.c: Likewise.
47970
47971 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47972
47973 [BZ #1349]
47974 * malloc/Makefile (tests): Add tst-malloc-usable test case.
47975 (tst-malloc-usable-ENV): Set environment for test case.
47976 * malloc/hooks.c (malloc_check_get_size): New function to get
47977 requested size.
47978 * malloc/malloc.c (musable): Use malloc_check_get_size.
47979 * malloc/tst-malloc-usable.c: New test case.
47980
47981 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47982
47983 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
47984
47985 2012-09-05 Allan McRae <allan@archlinux.org>
47986
47987 [BZ #13966]
47988 * configure.in (CXX_SYSINCLUDES): Use compiler output to
47989 determine header location.
47990 * configure: Regenerated.
47991
47992 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
47993
47994 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
47995 float format.
47996 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
47997 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
47998 format.
47999 (test): Regenerate.
48000
48001 2012-09-04 David S. Miller <davem@davemloft.net>
48002
48003 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
48004 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
48005 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
48006
48007 2012-09-04 Florian Weimer <fweimer@redhat.com>
48008
48009 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
48010 failures.
48011
48012 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
48013
48014 2012-09-04 Joseph Myers <joseph@codesourcery.com>
48015
48016 [BZ #9914]
48017 * libio/iogetdelim.c: Include <limits.h>.
48018 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
48019 + len + 1 would overflow.
48020
48021 2012-09-03 Andreas Jaeger <aj@suse.de>
48022
48023 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48024 * sysdeps/i386/fpu/libm-test-ulps: Update.
48025
48026 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48027
48028 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
48029 Add s_sinf-sse2, s_conf-sse2.
48030
48031 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
48032 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
48033 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
48034 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
48035
48036 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
48037 for using routine as __sinf_ia32.
48038 Use macro for function declaration and weak_alias.
48039 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
48040 for using routine as __cosf_ia32.
48041 Use macro for function declaration and weak_alias.
48042
48043 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
48044 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
48045
48046 * sysdeps/x86_64/fpu/s_sinf.S: New file.
48047 * sysdeps/x86_64/fpu/s_cosf.S: New file.
48048 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48049
48050 * math/libm-test.inc (cos_test): Add more test cases.
48051 (sin_test): Likewise.
48052 (sincos_test): Likewise.
48053
48054 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48055
48056 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
48057 (IFUNC_RESOLVE): Make pointers to the specialized implementations
48058 hidden.
48059 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
48060
48061 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
48062
48063 [BZ #14538]
48064 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
48065 first element of the GOT.
48066 (elf_machine_load_address): Return the difference between
48067 the runtime address of _DYNAMIC and elf_machine_dynamic ().
48068
48069 2012-09-01 Allan McRae <allan@archlinux.org>
48070
48071 [BZ #13412]
48072 * configure.in (AWK): Require gawk version 3.0 or later.
48073 * configure: Regenerated.
48074
48075 2012-09-01 Joseph Myers <joseph@codesourcery.com>
48076
48077 * sysdeps/unix/sysv/linux/kernel-features.h
48078 (__ASSUME_POSIX_CPU_TIMERS): Remove.
48079 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48080 [__NR_clock_getres]: Make code unconditional.
48081 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
48082 (clock_getcpuclockid): Remove code left unreachable by removal of
48083 conditionals.
48084 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
48085 code unconditional.
48086 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
48087 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48088 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
48089 Make code unconditional.
48090 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
48091 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48092 * sysdeps/unix/sysv/linux/clock_settime.c
48093 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
48094 conditional code.
48095 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
48096 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
48097
48098 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
48099
48100 [BZ #14476]
48101 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
48102 scripts/test-installation.pl.
48103
48104 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
48105 and $ld_so_version if it is set.
48106
48107 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
48108
48109 [BZ #14516]
48110 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
48111 failure if reading from procfs failed.
48112 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
48113
48114 2012-08-27 Joseph Myers <joseph@codesourcery.com>
48115
48116 * sysdeps/unix/sysv/linux/kernel-features.h
48117 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
48118 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
48119 Remove conditional code.
48120 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48121 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
48122 Remove conditional code.
48123 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48124 * sysdeps/unix/sysv/linux/i386/fxstat.c
48125 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48126 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48127 * sysdeps/unix/sysv/linux/i386/fxstatat.c
48128 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48129 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48130 * sysdeps/unix/sysv/linux/i386/lxstat.c
48131 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
48132 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48133 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
48134 Remove conditional code.
48135 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48136 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
48137 Remove conditional code.
48138 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48139 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
48140 <kernel-features.h>.
48141 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
48142 Remove.
48143 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
48144 Remove conditional code.
48145 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
48146 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
48147 Remove conditional.
48148
48149 2012-08-27 Mike Frysinger <vapier@gentoo.org>
48150
48151 [BZ #5400]
48152 * NEWS: Add fixed bug number.
48153
48154 2012-08-27 Joseph Myers <joseph@codesourcery.com>
48155
48156 [BZ #14519]
48157 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
48158 underflowing exponent in case of negative sign.
48159 * stdlib/tst-strtod-round-data: Add more tests.
48160 * stdlib/tst-strtod-round.c (tests): Regenerated.
48161
48162 [BZ #3479]
48163 * stdlib/strtod_l.c (NDIG): Remove.
48164 (HEXNDIG): Likewise.
48165 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
48166 smallest representable value.
48167 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
48168 lie within an exact representation of 1/2 ulp of the result.
48169 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
48170 unconditionally.
48171 (TENS_P9_IDX): Define unconditionally.
48172 (TENS_P9_SIZE): Likewise.
48173 (TENS_P10_IDX): Likewise.
48174 (TENS_P10_SIZE): Likewise.
48175 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
48176 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
48177 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
48178 entries for 10^2^13 and 10^2^14.
48179 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
48180 (TENS_P13_IDX): Define.
48181 (TENS_P13_SIZE): Likewise.
48182 (TENS_P14_IDX): Likewise.
48183 (TENS_P14_SIZE): Likewise.
48184 (_fpioconst_pow10): Change array size to
48185 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
48186 unconditional.
48187 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
48188 1024]: Add entries for 10^2^13 and 10^2^14.
48189 [LAST_POW10 > _LAST_POW10]: Remove #error.
48190 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
48191 (_fpioconst_pow10): Change array size to
48192 FPIOCONST_POW10_ARRAY_SIZE.
48193 * stdlib/gen-fpioconst.c: New file.
48194 * stdlib/gen-tst-strtod-round.c: Likewise.
48195 * stdlib/tst-strtod-round-data: Likewise.
48196 * stdlib/tst-strtod-round.c: Likewise.
48197 * stdlib/Makefile (tests): Add tst-strtod-round.
48198
48199 [BZ #14459]
48200 * stdlib/strtod_l.c: Include <stdint.h>.
48201 (NDEBUG): Do not define.
48202 (round_and_return): Change EXPONENT parameter to type intmax_t.
48203 Rearrange calculations to avoid internal overflow possibilities.
48204 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
48205 Rearrange calculations to avoid internal overflow possibilities.
48206 Assert that number fits inside MPNSIZE limbs.
48207 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
48208 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
48209 calculations and add assertions to avoid internal overflow
48210 possibilities. Add casts to avoid signed/unsigned operations.
48211 * stdlib/tst-strtod-overflow.c: New file.
48212 * stdlib/Makefile (tests): Add tst-strtod-overflow.
48213
48214 2012-08-25 Marek Polacek <polacek@redhat.com>
48215
48216 * time/time.h: Fix some typos in comments.
48217
48218 2012-08-23 Roland McGrath <roland@hack.frob.com>
48219
48220 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
48221 * posix/tst-rfc3484-2.c: Likewise.
48222 * posix/tst-rfc3484-3.c: Likewise.
48223
48224 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
48225
48226 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
48227 (EF_ARM_ABI_FLOAT_HARD): Likewise.
48228
48229 2012-08-23 Joseph Myers <joseph@codesourcery.com>
48230
48231 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
48232 #include of fxstatat64.c.
48233
48234 2012-08-22 Roland McGrath <roland@hack.frob.com>
48235
48236 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
48237 * shadow/getspent_r.c: Likewise.
48238 * shadow/getspnam.c: Likewise.
48239 * shadow/getspnam_r.c: Likewise.
48240 * gshadow/getsgent.c: Likewise.
48241 * gshadow/getsgent_r.c: Likewise.
48242 * gshadow/getsgnam.c: Likewise.
48243 * gshadow/getsgnam_r.c: Likewise.
48244 * inet/getnetbyad.c: Likewise.
48245 * inet/getnetbyad_r.c: Likewise.
48246 * inet/getnetbynm.c: Likewise.
48247 * inet/getnetbynm_r.c: Likewise.
48248 * inet/getnetent.c: Likewise.
48249 * inet/getnetent_r.c: Likewise.
48250 * inet/getproto.c: Likewise.
48251 * inet/getproto_r.c: Likewise.
48252 * inet/getprtent.c: Likewise.
48253 * inet/getprtent_r.c: Likewise.
48254 * inet/getprtname.c: Likewise.
48255 * inet/getprtname_r.c: Likewise.
48256 * inet/getrpcbyname.c: Likewise.
48257 * inet/getrpcbyname_r.c: Likewise.
48258 * inet/getrpcbynumber.c: Likewise.
48259 * inet/getrpcbynumber_r.c: Likewise.
48260 * inet/getrpcent.c: Likewise.
48261 * inet/getrpcent_r.c: Likewise.
48262 * inet/getaliasent.c: Likewise.
48263 * inet/getaliasent_r.c: Likewise.
48264 * inet/getaliasname.c: Likewise.
48265 * inet/getaliasname_r.c: Likewise.
48266 * nscd/getgrgid_r.c: Likewise.
48267 * nscd/getgrnam_r.c: Likewise.
48268 * nscd/gethstbyad_r.c: Likewise.
48269 * nscd/gethstbynm3_r.c: Likewise.
48270 * nscd/getpwnam_r.c: Likewise.
48271 * nscd/getpwuid_r.c: Likewise.
48272 * nscd/getsrvbynm_r.c: Likewise.
48273 * nscd/getsrvbypt_r.c: Likewise.
48274 * nscd/gai.c: Likewise.
48275
48276 * configure.in (build_nscd): New substituted variable, set
48277 by --disable-build-nscd and defaults to $use_nscd.
48278 * configure: Regenerated.
48279 * config.make.in (build-nscd): New substituted variable.
48280 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
48281 Change conditional to require [$(build-nscd) = yes] as well.
48282 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
48283
48284 [BZ# 13696]
48285 * configure.in (use_nscd): New substituted variable, set by
48286 --disable-nscd. If enabled, define USE_NSCD.
48287 * configure: Regenerated.
48288 * config.h.in: Add USE_NSCD.
48289 * config.make.in (use-nscd): New substituted variable.
48290 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
48291 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
48292 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
48293 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
48294 (CFLAGS-getgrnam_r.c): Likewise.
48295 (CFLAGS-initgroups.c): Likewise.
48296 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
48297 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
48298 Variables removed.
48299 * inet/getnetgrent_r.c
48300 (nscd_setnetgrent): New function, broken out of ...
48301 (setnetgrent): ... here. Call it.
48302 (innetgr): Conditionalize nscd bits on [USE_NSCD].
48303 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
48304 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
48305 * nscd/Makefile (routines, aux): Move definitions after include of
48306 Makeconfig. Conditionalize on [$(use-nscd) != no].
48307 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
48308 Conditionalize on [USE_NSCD].
48309 (is_nscd, nscd_init_cb): Likewise.
48310 (nss_load_library): Conditionalize init callback on [USE_NSCD].
48311 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
48312 * nss/nss_db/db-init.c: Likewise.
48313 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
48314 [USE_NSCD].
48315 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
48316 (make_request): Use it.
48317 (cache_valid_p): New function.
48318 (__check_pf): Use it.
48319 * NEWS: Add item for --disable-nscd.
48320
48321 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
48322
48323 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
48324 to support sed >= 4.2.1-20-ga9bf076.
48325 * configure: Regenerated.
48326
48327 2012-08-22 Roland McGrath <roland@hack.frob.com>
48328
48329 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
48330 Conditionalize whole body on [IREL].
48331
48332 2012-08-22 Jeff Law <law@redhat.com>
48333
48334 [BZ #14505]
48335 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
48336 if the family is PF_UNSPEC.
48337
48338 2012-08-22 Mike Frysinger <vapier@gentoo.org>
48339
48340 * Makerules (lib-version): Rename from V.
48341 (install-lib-nosubdir): Change V to lib-version.
48342
48343 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
48344
48345 [BZ #14252]
48346 * powerpc32/power6/wcschr.c: New file.
48347 * powerpc32/power6/wcscpy.c: New file.
48348 * powerpc32/power6/wcsrchr.c: New file.
48349 * powerpc64/power6/wcschr.c: New file.
48350 * powerpc64/power6/wcscpy.c: New file.
48351 * powerpc64/power6/wcsrchr.c: New file.
48352
48353 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
48354
48355 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
48356 (two_way_short_needle): Use it.
48357 * string/strstr.c (AVAILABLE1_USES_J): Define.
48358 * string/strcasestr.c: Likewise.
48359
48360 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
48361 array references.
48362 * string/strcasestr.c (TOLOWER): Make side-effect safe.
48363
48364 [BZ #11607]
48365 * NEWS: Add an entry.
48366 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
48367 define their defaults.
48368 (two_way_short_needle): Detect end-of-string on-the-fly.
48369 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
48370 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
48371 * string/bug-strcasestr1.c: New test.
48372 * string/Makefile: Run it.
48373
48374 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
48375
48376 [BZ #11607]
48377 * string/str-two-way.h (two_way_short_needle): Optimize matching of
48378 the first character.
48379
48380 2012-08-21 Roland McGrath <roland@hack.frob.com>
48381
48382 * csu/elf-init.c (__libc_csu_irel): Function removed.
48383 * csu/libc-start.c (apply_irel): New function.
48384 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
48385
48386 2012-08-21 Joseph Myers <joseph@codesourcery.com>
48387
48388 * sysdeps/unix/sysv/linux/kernel-features.h
48389 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
48390 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
48391 <kernel-features.h>.
48392 [__NR_fadvise64_64]: Make code unconditional.
48393 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
48394 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48395 !__NR_fadvise64_64)]: Likewise.
48396 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
48397 !__NR_fadvise64_64))]: Likewise.
48398 [__NR_fadvise64]: Make code unconditional.
48399 [!__NR_fadvise64]: Remove conditional code.
48400 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
48401 <kernel-features.h>.
48402 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48403 unconditional.
48404 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48405 conditional code.
48406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
48407 not include <kernel-features.h>.
48408 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48409 unconditional.
48410 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48411 conditional code.
48412 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
48413 include <kernel-features.h>.
48414 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
48415 unconditional.
48416 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
48417 conditional code.
48418
48419 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48420
48421 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
48422 slight instruction rearrangements per scrollpipe analysis.
48423 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
48424
48425 2012-08-20 Roland McGrath <roland@hack.frob.com>
48426
48427 * manual/syslog.texi (syslog; vsyslog, closelog):
48428 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
48429 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
48430
48431 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
48432 DSOCAPS to match condition on defining it.
48433
48434 2012-08-20 Joseph Myers <joseph@codesourcery.com>
48435
48436 * sysdeps/unix/sysv/linux/kernel-features.h
48437 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
48438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
48439 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48440 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
48442 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48443 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
48445 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
48446 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
48447
48448 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
48449 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
48450
48451 * sysdeps/unix/sysv/linux/kernel-features.h
48452 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
48453 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
48454 unconditional.
48455 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48456 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
48457 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48458 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48459 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
48460 Make code unconditional.
48461 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48462 (__mmap64) [!__NR_mmap2]: Likewise.
48463 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
48464 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
48465 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48466 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
48467 [__NR_mmap2]: Make code unconditional.
48468 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
48469 (__mmap64) [!__NR_mmap2]: Likewise.
48470
48471 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48472
48473 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
48474
48475 2012-08-18 Andreas Jaeger <aj@suse.de>
48476
48477 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
48478
48479 2012-08-18 Mike Frysinger <vapier@gentoo.org>
48480
48481 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
48482 * include/unistd.h (__have_sock_cloexec): Likewise.
48483 (__have_pipe2): Likewise.
48484 (__have_dup3): Likewise.
48485
48486 2012-08-18 Mike Frysinger <vapier@gentoo.org>
48487
48488 [BZ #9685]
48489 * include/unistd.h (__have_pipe2): Change define into an extern int.
48490 (__have_dup3): Likewise.
48491 * socket/have_sock_cloexec.c: Include fcntl.h.
48492 (__have_pipe2): New variable.
48493 (__have_dup3): Likewise.
48494
48495 2012-08-17 Mike Frysinger <vapier@gentoo.org>
48496
48497 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
48498
48499 2012-08-17 Marek Polacek <polacek@redhat.com>
48500
48501 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
48502 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
48503
48504 2012-08-17 Roland McGrath <roland@hack.frob.com>
48505
48506 * configure.in: Add AC_SUBST for sysheaders.
48507 * configure: Regenerated.
48508 * config.make.in (sysheaders): New substituted variable.
48509
48510 * sysdeps/unix/mkfifo.c: Moved ...
48511 * sysdeps/posix/mkfifo.c: ... here.
48512 * sysdeps/unix/mkfifoat.c: Moved ...
48513 * sysdeps/posix/mkfifoat.c: ... here.
48514
48515 * sysdeps/unix/utime.c: Moved ...
48516 * sysdeps/posix/utime.c: ... here.
48517
48518 * sysdeps/unix/time.c: Moved ...
48519 * sysdeps/posix/time.c: ... here.
48520 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
48521 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
48522
48523 * sysdeps/unix/nice.c: Moved ...
48524 * sysdeps/posix/nice.c: ... here.
48525
48526 * sysdeps/unix/alarm.c: Moved ...
48527 * sysdeps/posix/alarm.c: ... here.
48528
48529 * intl/Makefile ($(codeset_mo)): Depend on the input file.
48530
48531 2012-08-17 Jeff Law <law@redhat.com>
48532
48533 * intl/Makefile (codeset_mo): New variable.
48534 ($(codeset_mo)): New target.
48535 (tst-codeset.out): Depend on that. Remove explicit rule.
48536 (tst-gettext3.out, tst-gettext5.out): Likewise.
48537 (LOCPATH-ENV, tst-codeset-ENV): New variables.
48538 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
48539 * intl/tst-codeset.sh: Remove.
48540 * intl/tst-gettext3.sh: Likewise.
48541 * intl/tst-gettext5.sh: Likewise.
48542
48543 2012-08-17 Roland McGrath <roland@hack.frob.com>
48544
48545 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
48546 * sysdeps/unix/syscalls.list: ... here.
48547
48548 * sysdeps/posix/getaddrinfo.c
48549 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
48550 (gaiconf_init, gaiconf_reload): Use them.
48551 [!_STATBUF_ST_NSEC]
48552 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
48553 Define using time_t rather than struct timespec.
48554
48555 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
48556 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
48557 Macros removed.
48558 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
48559 [!NO_THREADS].
48560 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
48561 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
48562 Likewise.
48563
48564 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
48565 __libc_cleanup_push argument.
48566
48567 * bits/param.h: New file.
48568 * misc/sys/param.h: New file.
48569 * include/sys/param.h: New file.
48570 * misc/Makefile (headers): Add bits/param.h.
48571 * sysdeps/generic/sys/param.h: File removed.
48572 * sysdeps/unix/sysv/linux/bits/param.h: New file.
48573 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
48574 * sysdeps/mach/hurd/bits/param.h: New file.
48575 * sysdeps/mach/hurd/sys/param.h: File removed.
48576
48577 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
48578 last change.
48579
48580 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
48581 [_IO_MTSAFE_IO].
48582 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
48583 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
48584 New macros.
48585
48586 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
48587 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
48588 rather than -D_IO_MTSAFE_IO conditionally.
48589 * stdio-common/Makefile (CPPFLAGS): Likewise.
48590 * wcsmbs/Makefile (CPPFLAGS): Likewise.
48591 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
48592 Use $(libio-mtsafe).
48593 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
48594 of -D_IO_MTSAFE_IO.
48595 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
48596 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
48597 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
48598 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
48599 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
48600 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
48601 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
48602 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
48603 (CFLAGS-fread_u_chk.c): Likewise.
48604 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
48605 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
48606 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
48607 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
48608 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
48609 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
48610 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
48611 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
48612 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
48613
48614 * libio/Makefile: Test [$(libc-reentrant) = yes]
48615 instead of [$(filter %REENTRANT, $(defines)) nonempty].
48616
48617 * Makeconfig
48618 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
48619 * sysdeps/pthread/configure: File removed.
48620 * sysdeps/pthread/Makeconfig: New file.
48621 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
48622 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
48623
48624 2012-08-16 Gary Benson <gbenson@redhat.com>
48625
48626 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
48627 unmapping the first object in a namespace.
48628
48629 2012-08-16 Roland McGrath <roland@hack.frob.com>
48630
48631 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
48632 (__internal_setnetgrent): ... this. Add internal_function to
48633 definition. Add libc_hidden_def.
48634 (setnetgrent): Update caller.
48635 (internal_endnetgrent): Renamed to ...
48636 (__internal_endnetgrent): ... this. Add internal_function to
48637 definition. Add libc_hidden_def.
48638 (endnetgrent): Update caller.
48639 (internal_getnetgrent_r): Renamed to ...
48640 (__internal_getnetgrent_r): ... this. Add internal_function to
48641 definition. Add libc_hidden_def.
48642 (__getnetgrent_r): Update caller.
48643 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
48644
48645 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48646
48647 * stdlib/longlong.h: Update from GCC.
48648
48649 2012-08-16 Roland McGrath <roland@hack.frob.com>
48650
48651 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
48652 on _QL, which is set by umul_ppmm but never used.
48653 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
48654 variables, which are set by GMP macros but never used.
48655 * stdio-common/_itowa.c (_itowa): Likewise.
48656 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
48657 * stdlib/mod_1.c (mpn_mod_1): Likewise.
48658
48659 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
48660
48661 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
48662 struct La_sh_regs is not constant.
48663 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
48664 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
48665 and struct La_sparc64_regs are not constant.
48666
48667 2012-08-16 Joseph Myers <joseph@codesourcery.com>
48668
48669 * sysdeps/unix/sysv/linux/kernel-features.h
48670 (__ASSUME_POSIX_TIMERS): Remove.
48671 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48672 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48673 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
48674 Make code unconditional.
48675 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48676 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
48677 Make code unconditional.
48678 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48679 * sysdeps/unix/sysv/linux/clock_nanosleep.c
48680 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
48681 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48682 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
48683 Make code unconditional.
48684 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
48685 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
48686 (__libc_missing_posix_timers): Remove.
48687
48688 2012-08-15 Roland McGrath <roland@hack.frob.com>
48689
48690 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
48691 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
48692
48693 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
48694
48695 * elf/dl-sym.c: Include <stdlib.h>.
48696
48697 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
48698 constants, which avoids warnings in 32-bit builds.
48699
48700 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
48701 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
48702
48703 * misc/lseek.c: File moved to ...
48704 * io/lseek.c: ... here.
48705
48706 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
48707
48708 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
48709 shifting LEN more than 31 bits at once.
48710
48711 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48712
48713 [BZ #14195]
48714 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
48715 segmentation fault for a case of two empty input strings.
48716 * string/test-strncasecmp.c (check1): Renamed to...
48717 (bz12205): ...this.
48718 (bz14195): Add new testcase for two empty input strings and N > 0.
48719 (test_main): Call new testcase, adapt for renamed function.
48720
48721 2012-08-15 Andreas Jaeger <aj@suse.de>
48722
48723 [BZ #14090]
48724 * crypt/md5test2.c: New test, based on test supplied by Serge
48725 Belyshev <belyshev@depni.sinp.msu.ru>.
48726 * crypt/Makefile (xtests): Add md5test-giant..
48727 * crypt/Makefile ($(objpfx)md5test-giant): Add.
48728
48729 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
48730
48731 [BZ #14090]
48732 * crypt/md5.c (md5_process_block): Don't assume the buffer
48733 length is less than 2**32.
48734 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
48735 length is less than 2**64.
48736
48737 2012-08-15 Roland McGrath <roland@hack.frob.com>
48738
48739 * string/str-two-way.h: Include <sys/param.h>.
48740 (MAX): Macro removed.
48741
48742 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
48743 Move #define and #undef of memmove to just before and after
48744 including <string.h>.
48745
48746 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
48747 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
48748 and after including <string.h>. Move declarations of
48749 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
48750 to before #include "string/memmove.c".
48751
48752 * include/dirent.h: Declare __getdirentries.
48753
48754 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
48755 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
48756
48757 2012-08-14 Mike Frysinger <vapier@gentoo.org>
48758
48759 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
48760 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
48761 * sysdeps/i386/configure: Regenerated.
48762 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
48763 STABS_CURRENT_FILE, and STABS_FUN.
48764 (END): Remove call to STABS_FUN_END.
48765 (STABS_CURRENT_FILE1): Delete.
48766 (STABS_CURRENT_FILE): Likewise.
48767 (STABS_FUN): Likewise.
48768 (STABS_FUN_END): Likewise.
48769 (STABS_FUN2): Likewise.
48770 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
48771 * sysdeps/x86_64/configure: Regenerated.
48772
48773 2012-08-14 Roland McGrath <roland@hack.frob.com>
48774
48775 * elf/dl-open.c: Include <atomic.h>.
48776 * elf/dl-lookup.c: Likewise.
48777
48778 2012-08-14 Joseph Myers <joseph@codesourcery.com>
48779
48780 * sysdeps/unix/sysv/linux/kernel-features.h
48781 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
48782 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
48783 unconditionally.
48784 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
48785 unconditionally.
48786 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
48787 condition on __ASSUME_CLONE_THREAD_FLAGS.
48788
48789 2012-08-14 Andreas Jaeger <aj@suse.de>
48790
48791 * sysdeps/i386/fpu/libm-test-ulps: Update.
48792
48793 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
48794
48795 * include/atomic.h (atomic_exchange_and_add): Split into ...
48796 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
48797 New atomic macros.
48798
48799 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
48800
48801 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48802
48803 2012-08-13 Jeff Law <law@redhat.com>
48804
48805 * manual/stdio.texi (snprintf): Clarify handling of the trailing
48806 null byte in the output string.
48807
48808 2012-08-10 Joseph Myers <joseph@codesourcery.com>
48809
48810 * sysdeps/unix/sysv/linux/kernel-features.h
48811 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
48812 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
48813 (__ASSUME_ARG_MAX_STACK_BASED): Define.
48814 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
48815 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
48816 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
48817 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
48818
48819 2012-08-09 Jeff Law <law@redhat.com>
48820
48821 [BZ #13939]
48822 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
48823 When avoid_arena is set, don't retry in the that arena. Pick the
48824 next one, whatever it might be.
48825 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
48826 (arena_lock): Pass in new parameter to arena_get2.
48827 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
48828 arena_get2.
48829 (__libc_malloc): Unify retrying after main arena failure with
48830 __libc_memalign version.
48831 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
48832
48833 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
48834
48835 [BZ #14166]
48836 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
48837 to __redirect_strstr.
48838 (__strstr_sse42): Use typeof __redirect_strstr.
48839 (__strstr_ia32): Likewise.
48840 (__libc_strstr): New prototype.
48841 (strstr): Renamed to ...
48842 (__libc_strstr): This.
48843 (strstr): New strong alias of __libc_strstr.
48844 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
48845 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
48846 __redirect_time.
48847 Include <time.h>.
48848 (__libc_time): New prototype.
48849 (time_ifunc): Replace time with __libc_time.
48850 (time): New strong alias and hidden definition of __libc_time.
48851 (__GI_time): Remove strong alias.
48852 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
48853 Include <stddef.h>.
48854 (memmove): Redefined to __redirect_memmove.
48855 (__memmove_sse2): Use typeof __redirect_memmove.
48856 (__memmove_ssse3): Likewise.
48857 (__memmove_ssse3_back): Likewise.
48858 (__libc_memmove): New prototype.
48859 (memmove): Renamed to ...
48860 (__libc_memmove): This.
48861 (memmove): New strong alias of __libc_memmove.
48862
48863 2012-08-08 Mark Salter <msalter@redhat.com>
48864
48865 * elf/elf.h
48866 (R_MN10300_TLS_GD): Define.
48867 (R_MN10300_TLS_LD): Likewise.
48868 (R_MN10300_TLS_LDO): Likewise.
48869 (R_MN10300_TLS_GOTIE): Likewise.
48870 (R_MN10300_TLS_IE): Likewise.
48871 (R_MN10300_TLS_LE): Likewise.
48872 (R_MN10300_TLS_DTPMOD): Likewise.
48873 (R_MN10300_TLS_DTPOFF): Likewise.
48874 (R_MN10300_TLS_TPOFF): Likewise.
48875 (R_MN10300_SYM_DIFF): Likewise.
48876 (R_MN10300_ALIGN): Likewise.
48877 (R_MN10300_NUM): Update.
48878
48879 2012-08-08 Joseph Myers <joseph@codesourcery.com>
48880
48881 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
48882 Remove.
48883
48884 2012-08-08 Roland McGrath <roland@hack.frob.com>
48885
48886 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
48887
48888 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
48889 sysdeps/unix -> sysdeps/posix move.
48890 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
48891
48892 2012-08-07 Allan McRae <allan@archlinux.org>
48893
48894 [BZ #14303]
48895 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
48896 (SUNOS_CPP): Likewise.
48897 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
48898 not found.
48899 (open_input): Call CPP using execvp.
48900
48901 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48902
48903 * sysdeps/unix/sysv/linux/kernel-features.h
48904 (__ASSUME_PROT_GROWSUPDOWN): Remove.
48905 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48906 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48907 (__ASSUME_WAITID_SYSCALL): Likewise.
48908 * sysdeps/unix/sysv/linux/dl-execstack.c
48909 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
48910 code unconditional.
48911 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
48912 conditional code.
48913 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
48914 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
48915 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
48916 code.
48917 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
48918 unconditional.
48919 [__ASSUME_WAITID_SYSCALL]: Likewise.
48920 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
48921
48922 2012-08-07 Roland McGrath <roland@hack.frob.com>
48923
48924 * sysdeps/unix/closedir.c: Renamed to ...
48925 * sysdeps/posix/closedir.c: ... here.
48926 * sysdeps/unix/dirfd.c: Renamed to ...
48927 * sysdeps/posix/dirfd.c: ... here.
48928 * sysdeps/unix/dirstream.h: Renamed to ...
48929 * sysdeps/posix/dirstream.h: ... here.
48930 * sysdeps/unix/fdopendir.c: Renamed to ...
48931 * sysdeps/posix/fdopendir.c: ... here.
48932 * sysdeps/unix/opendir.c: Renamed to ...
48933 * sysdeps/posix/opendir.c: ... here.
48934 * sysdeps/unix/readdir.c: Renamed to ...
48935 * sysdeps/posix/readdir.c: ... here.
48936 * sysdeps/unix/readdir_r.c: Renamed to ...
48937 * sysdeps/posix/readdir_r.c: ... here.
48938 * sysdeps/unix/rewinddir.c: Renamed to ...
48939 * sysdeps/posix/rewinddir.c: ... here.
48940 * sysdeps/unix/seekdir.c: Renamed to ...
48941 * sysdeps/posix/seekdir.c: ... here.
48942 * sysdeps/unix/telldir.c: Renamed to ...
48943 * sysdeps/posix/telldir.c: ... here.
48944 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
48945 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
48946 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
48947 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
48948
48949 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
48950 * bits/fcntl.h: ... here.
48951
48952 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
48953 not 0.
48954 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
48955 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
48956 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
48957 (struct flock): Move l_start, l_len to the beginning.
48958 Use __pid_t for l_pid.
48959 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
48960 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
48961 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
48962 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
48963 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
48964 [__USE_LARGEFILE64] (struct flock64): New type.
48965 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
48966
48967 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
48968 * bits/dirent.h: ... here.
48969
48970 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
48971 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
48972
48973 2012-08-07 Joseph Myers <joseph@codesourcery.com>
48974
48975 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
48976 Change from 2.6.0 to 2.6.16.
48977 * sysdeps/unix/sysv/linux/configure: Regenerated.
48978 * sysdeps/unix/sysv/linux/kernel-features.h
48979 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
48980 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
48981 version.
48982 (__ASSUME_UTIMES): Likewise.
48983 (__ASSUME_CLONE_STOPPED): Remove.
48984 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
48985 architectures, not kernel version.
48986 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
48987 (__ASSUME_NO_CLONE_DETACHED): Likewise.
48988 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
48989 (__ASSUME_WAITID_SYSCALL): Likewise.
48990 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
48991 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
48992 * README: State 2.6.16 as minimum Linux kernel version. Do not
48993 refer to older versions.
48994
48995 2012-08-06 Roland McGrath <roland@hack.frob.com>
48996
48997 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
48998 Define alphasort64 as an alias.
48999 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
49000 Define versionsort64 as an alias.
49001 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
49002 Define scandir64 as an alias.
49003 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
49004 Define scandirat64 as an alias.
49005 * dirent/alphasort64.c (alphasort64):
49006 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
49007 * dirent/versionsort64.c: Likewise.
49008 * dirent/scandir64.c: Likewise.
49009 * dirent/scandirat64.c: Likewise.
49010 * sysdeps/wordsize-64/alphasort.c: File removed.
49011 * sysdeps/wordsize-64/alphasort64.c: File removed.
49012 * sysdeps/wordsize-64/scandir.c: File removed.
49013 * sysdeps/wordsize-64/scandir64.c: File removed.
49014 * sysdeps/wordsize-64/scandirat.c: File removed.
49015 * sysdeps/wordsize-64/scandirat64.c: File removed.
49016 * sysdeps/wordsize-64/versionsort.c: File removed.
49017 * sysdeps/wordsize-64/versionsort64.c: File removed.
49018 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
49019 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
49020 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
49021 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
49022 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
49023 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
49024 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
49025 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
49026
49027 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
49028 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
49029 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
49030 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49031 [defined __arch64__ || defined __sparcv9]
49032 (__INO_T_MATCHES_INO64_T): New macro.
49033 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49034 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
49035 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
49036 * sysdeps/unix/sysv/linux/bits/dirent.h
49037 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
49038 (_DIRENT_MATCHES_DIRENT64): New macro.
49039
49040 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
49041 Define lockf64 as an alias.
49042 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
49043 Define fseeko64 as an alias.
49044 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
49045 Define ftello64 as an alias.
49046 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
49047 Define _IO_fgetpos64 and fgetpos64 as aliases.
49048 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
49049 Define _IO_fsetpos64 and fsetpos64 as aliases.
49050 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
49051 Conditionalize body on this.
49052 * libio/fseeko64.c: Likewise.
49053 * libio/ftello64.c: Likewise.
49054 * libio/iofgetpos64.c: Likewise.
49055 * libio/iofsetpos64.c: Likewise.
49056 * sysdeps/wordsize-64/lockf.c: File removed.
49057 * sysdeps/wordsize-64/lockf64.c: File removed.
49058 * sysdeps/wordsize-64/fseeko.c: File removed.
49059 * sysdeps/wordsize-64/fseeko64.c: File removed.
49060 * sysdeps/wordsize-64/ftello.c: File removed.
49061 * sysdeps/wordsize-64/ftello64.c: File removed.
49062 * sysdeps/wordsize-64/iofgetpos.c: File removed.
49063 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
49064 * sysdeps/wordsize-64/iofsetpos.c: File removed.
49065 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
49066 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
49067 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
49068 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
49069 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
49070 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
49071 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
49072 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
49073 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
49074 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
49075 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
49076
49077 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
49078 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
49079 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
49080 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
49081 [defined __arch64__ || defined __sparcv9]
49082 (__OFF_T_MATCHES_OFF64_T): New macro.
49083 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
49084 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
49085 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
49086 (__OFF_T_MATCHES_OFF64_T): New macro.
49087
49088 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
49089
49090 * stdlib/secure-getenv.c (__secure_getenv): Replace
49091 GLIBC_2_16 with GLIBC_2_17.
49092
49093 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
49094
49095 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
49096 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
49097
49098 2012-08-03 David S. Miller <davem@davemloft.net>
49099
49100 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49101
49102 2012-08-03 Joseph Myers <joseph@codesourcery.com>
49103
49104 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
49105 Remove.
49106 (__ASSUME_CORRECT_SI_PID): Likewise.
49107 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
49108 (__ASSUME_TMPFS_NAME): Likewise.
49109 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
49110 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
49111 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
49112 (HAVE_AUX_SECURE): Make definition unconditional.
49113 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
49114 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
49115
49116 2012-08-03 Roland McGrath <roland@hack.frob.com>
49117
49118 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
49119 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
49120 * sysdeps/mach/hurd/eloop-threshold.h: New file.
49121 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
49122 __eloop_threshold instead of SYMLOOP_MAX.
49123
49124 * sysdeps/generic/eloop-threshold.h: New file.
49125 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
49126 of MAXSYMLINKS.
49127 * elf/chroot_canon.c (chroot_canon): Likewise.
49128
49129 2012-08-03 Joseph Myers <joseph@codesourcery.com>
49130
49131 [BZ #13717]
49132 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49133 Change to 2.6.0 everywhere.
49134 * sysdeps/unix/sysv/linux/configure: Regenerated.
49135 * sysdeps/unix/sysv/linux/kernel-features.h
49136 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
49137 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
49138 kernel versions.
49139 (__ASSUME_POSIX_TIMERS): Define unconditionally.
49140 (__ASSUME_FUTEX_REQUEUE): Remove.
49141 (__ASSUME_STATFS64): Define unconditionally.
49142 (__ASSUME_AT_SECURE): Likewise.
49143 (__ASSUME_CORRECT_SI_PID): Likewise.
49144 (__ASSUME_TGKILL): Define without depending on kernel version for
49145 i386.
49146 (__ASSUME_UTIMES): Likewise.
49147 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
49148 kernel version.
49149 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
49150 (__ASSUME_TMPFS_NAME): Likewise.
49151 * README: Update reference to Linux kernel versions.
49152
49153 2012-08-02 Marek Polacek <polacek@redhat.com>
49154
49155 [BZ# 14150]
49156 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
49157 libc_cv_asm_type_prefix with %.
49158 * configure: Regenerated.
49159 * include/libc-symbols.h: Remove comment about
49160 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49161 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
49162 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
49163 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
49164 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
49165 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
49166 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
49167 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
49168 * elf/tst-unique2mod1.c: Likewise.
49169 * elf/tst-unique1mod2.c: Likewise.
49170 * elf/tst-unique1mod1.c: Likewise.
49171 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
49172 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
49173 Replace ASM_TYPE_DIRECTIVE with .type.
49174 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49175 * sysdeps/i386/sysdep.h: Likewise.
49176 * sysdeps/x86_64/sysdep.h: Likewise.
49177 * sysdeps/sh/sysdep.h: Likewise.
49178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
49179 Do not define ASM_TYPE_DIRECTIVE.
49180 * sysdeps/powerpc/sysdep.h: Likewise.
49181 * sysdeps/powerpc/powerpc32/sysdep.h:
49182 Replace ASM_TYPE_DIRECTIVE with .type.
49183 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
49184 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
49185 * sysdeps/i386/fpu/e_powf.S: Likewise.
49186 * sysdeps/i386/fpu/e_expl.S: Likewise.
49187 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49188 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49189 * sysdeps/i386/fpu/e_pow.S: Likewise.
49190 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49191 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49192 * sysdeps/i386/fpu/s_expm1.S: Likewise.
49193 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49194 * sysdeps/i386/fpu/e_log2.S: Likewise.
49195 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49196 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49197 * sysdeps/i386/fpu/e_powl.S: Likewise.
49198 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49199 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49200 * sysdeps/i386/fpu/e_logl.S: Likewise.
49201 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49202 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49203 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49204 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49205 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49206 * sysdeps/i386/fpu/e_log.S: Likewise.
49207 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49208 * sysdeps/i386/fpu/e_logf.S: Likewise.
49209 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49210 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49211 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49212 * sysdeps/i386/fpu/e_log10.S: Likewise.
49213 * sysdeps/i386/fpu/s_frexp.S: Likewise.
49214 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49215 * sysdeps/i386/fpu/s_asinh.S: Likewise.
49216 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49217 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49218 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
49219 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49220 * sysdeps/i386/i686/strtok.S: Likewise.
49221 * sysdeps/i386/i386-mcount.S: Likewise.
49222 * sysdeps/i386/strtok.S: Likewise.
49223 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
49224 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49225 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49226 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49227 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
49228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49229 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49230 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49231 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49232 * sysdeps/x86_64/_mcount.S: Likewise.
49233 * sysdeps/x86_64/strtok.S: Likewise.
49234 * sysdeps/sh/_mcount.S: Likewise.
49235
49236 2012-08-01 Roland McGrath <roland@hack.frob.com>
49237
49238 * libio/iofopen.c: Include <fcntl.h>.
49239 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
49240 (_IO_fopen64, fopen64): Define as aliases.
49241 * libio/iofopen64.c: Include <fcntl.h>.
49242 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
49243 Conditionalize body on this.
49244 * sysdeps/wordsize-64/iofopen.c: File removed.
49245 * sysdeps/wordsize-64/iofopen64.c: File removed.
49246
49247 2012-08-01 Marek Polacek <polacek@redhat.com>
49248
49249 * libc/Makeconfig: Use elf in place of binfmt-subdir.
49250 Use dlfcn directly instead of a variable.
49251 (binfmt-subdir): Do not define.
49252 (dlfcn): Likewise.
49253
49254 2012-08-01 Joseph Myers <joseph@codesourcery.com>
49255
49256 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
49257 Remove all definitions.
49258 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
49259 <kernel-features.h>.
49260 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49261 (miss_F_GETOWN_EX): Remove all definitions.
49262 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
49263 macro definition.
49264 [!__ASSUME_FCNTL64]: Remove conditional code.
49265 [__ASSUME_FCNTL64]: Make code unconditional.
49266 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
49267 <kernel-features.h>.
49268 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
49269 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
49270 (lockf64) [__NR_fcntl64]: Make code unconditional.
49271 (lockf64) [__ASSUME_FCNTL64]: Likewise.
49272
49273 * sysdeps/unix/sysv/linux/kernel-features.h
49274 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
49275 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
49276 Make code unconditional.
49277 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49278 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
49280 [__NR_vfork]: Make code unconditional.
49281 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49282 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
49284 [__NR_vfork]: Make code unconditional.
49285 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
49286 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
49287
49288 2012-08-01 Roland McGrath <roland@hack.frob.com>
49289
49290 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
49291 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
49292
49293 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49294 Define mkstemp64 as an alias.
49295 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49296 Define mkstemps64 as an alias.
49297 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49298 Define mkostemp64 as an alias.
49299 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
49300 Define mkostemps64 as an alias.
49301 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
49302 Conditionalize body on this.
49303 * misc/mkostemp64.c: Likewise.
49304 * misc/mkostemps64.c: Likewise.
49305 * misc/mkstemps64.c: Likewise.
49306 * sysdeps/wordsize-64/mkstemp64.c: File removed.
49307 * sysdeps/wordsize-64/mkostemp64.c: File removed.
49308 * sysdeps/wordsize-64/mkostemp.c: File removed.
49309 * sysdeps/wordsize-64/mkstemp.c: File removed.
49310 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
49311 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
49312 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
49313 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
49314
49315 [BZ #14138]
49316 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
49317 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
49318 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
49319 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
49320
49321 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
49322 compat_symbol macros from <shlib-compat.h> rather than the underlying
49323 default_symbol_version and symbol_version macros, so that DEFAULT
49324 lines in shlib-versions are respected.
49325 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
49326
49327 2012-08-01 Florian Weimer <fweimer@redhat.com>
49328
49329 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
49330 Declare with warn_unused_result.
49331 (setgid, setregid, setegid, setresgid): Likewise.
49332 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
49333 Likewise.
49334 * WUR-REPORT: Remove set*id functions.
49335
49336 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
49337
49338 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
49339
49340 2012-07-31 Roland McGrath <roland@hack.frob.com>
49341
49342 [BZ #10191]
49343 * include/sys/socket.h (__libc_accept, __libc_accept4):
49344 Add attribute_hidden.
49345 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
49346
49347 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
49348 use of PTR_MANGLE.
49349 * inet/getnetgrent_r.c (setup): Likewise.
49350
49351 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
49352
49353 2012-07-31 David S. Miller <davem@davemloft.net>
49354
49355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49356
49357 2012-07-31 Joseph Myers <joseph@codesourcery.com>
49358
49359 [BZ #13629]
49360 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
49361 value between 1.0 and 2.0 and smaller part has absolute value less
49362 than 1.0.
49363 * math/s_clog10.c (__clog10): Likewise.
49364 * math/s_clog10f.c (__clog10f): Likewise.
49365 * math/s_clog10l.c (__clog10l): Likewise.
49366 * math/s_clogf.c (__clogf): Likewise.
49367 * math/s_clogl.c (__clogl): Likewise.
49368 * math/libm-test.inc (clog_test): Add more tests.
49369 (clog10_test): Likewise.
49370 * sysdeps/i386/fpu/libm-test-ulps: Update.
49371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49372
49373 2012-07-31 Florian Weimer <fweimer@redhat.com>
49374
49375 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
49376 Exit with zero in case no suitable GID is found, and write a
49377 message to standard error.
49378
49379 2012-07-30 Roland McGrath <roland@hack.frob.com>
49380
49381 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
49382 rather than to 1.
49383 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
49384 (MAXPATHLEN): Removed.
49385 (NOGROUP, NODEV): New macros.
49386 (setbit, clrbit, isset, isclr): New macros.
49387 (howmany, roundup, powerof2): New macros.
49388 (DEV_BSIZE): New macro.
49389
49390 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
49391 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
49392
49393 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
49394 definition on [!__NO_LONG_DOUBLE_MATH].
49395
49396 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
49397 PTR_MANGLE and PTR_DEMANGLE.
49398
49399 * socket/accept4.c (accept4): Rename to __libc_accept4.
49400 Define accept4 as a weak alias.
49401
49402 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
49403 on [_DIRENT_HAVE_D_TYPE].
49404 * io/ftw.c (ftw_dir): Likewise.
49405
49406 * io/xmknod.c (__xmknod): Don't check PATH for being null.
49407
49408 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
49409
49410 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
49411 Use the BSD numbers rather than the arbitrary ones we had.
49412 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
49413 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
49414 (SIGXCPU, SIGXFSZ): New macros.
49415 (_NSIG): Now 32.
49416
49417 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
49418 initializer on [_LIBC_REENTRANT].
49419
49420 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
49421 definitions inside [_POSIX_MAPPED_FILES].
49422
49423 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
49424
49425 * dirent/opendir.c: Include <fcntl.h>.
49426
49427 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
49428 (__libc_getspecific): Likewise.
49429 (__libc_key_create): Likewise.
49430
49431 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
49432 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
49433 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
49434 (tmpfile64): Define as alias.
49435 * sysdeps/wordsize-64/tmpfile.c: File removed.
49436 * sysdeps/wordsize-64/tmpfile64.c: File removed.
49437 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
49438 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
49439
49440 * stdio-common/vfscanf.c: Include <stdbool.h>.
49441 * nss/makedb.c: Likewise.
49442 * stdio-common/_i18n_number.h: Likewise.
49443 * argp/argp-help.c: Likewise.
49444 * posix/wordexp.c: Likewise.
49445 * sysdeps/posix/spawni.c: Likewise.
49446 * nss/nss_files/files-initgroups.c: Likewise.
49447 * stdio-common/reg-modifier.c: Include <stdlib.h>.
49448 * nss/nss_files/files-initgroups.c: Likewise.
49449 * nss/nss_db/db-netgrp.c: Likewise.
49450 * nss/nss_db/db-initgroups.c: Likewise.
49451 * io/fchmodat.c: Include <sys/stat.h>.
49452
49453 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
49454 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
49455
49456 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
49457 [HAVE_MMAP].
49458
49459 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
49460 Add multiple inclusion protection.
49461
49462 2012-07-27 David S. Miller <davem@davemloft.net>
49463
49464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49465
49466 2012-07-27 Gary Benson <gbenson@redhat.com>
49467
49468 [BZ #14298]
49469 * elf/rtld.c: Include <stap-probe.h>.
49470 (dl_main): Added static probes "init_start" and "init_complete".
49471 * elf/dl-load.c: Include <stap-probe.h>.
49472 (lose): Take new parameter "nsid".
49473 Added static probe "map_failed".
49474 (_dl_map_object_from_fd): Pass namespace id to lose.
49475 Added static probe "map_start".
49476 (open_verify): Pass namespace id to lose.
49477 * elf/dl-open.c: Include <stap-probe.h>.
49478 (dl_open_worker) Added static probes "map_complete", "reloc_start"
49479 and "reloc_complete".
49480 * elf/dl-close.c: Include <stap-probe.h>.
49481 (_dl_close_worker): Added static probes "unmap_start" and
49482 "unmap_complete".
49483 * elf/rtld-debugger-interface.txt: New file documenting the above.
49484
49485 2012-07-26 Roland McGrath <roland@hack.frob.com>
49486
49487 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
49488 rather than a string variable.
49489 * sunrpc/rpc_main.c (h_output): Likewise.
49490 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
49491
49492 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
49493
49494 * inet/check_native.c: New file.
49495
49496 2012-07-26 Joseph Myers <joseph@codesourcery.com>
49497
49498 [BZ #13629]
49499 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
49500 if larger part has absolute value 1.0.
49501 * math/s_clog10.c (__clog10): Likewise.
49502 * math/s_clog10f.c (__clog10f): Likewise.
49503 * math/s_clog10l.c (__clog10l): Likewise.
49504 * math/s_clogf.c (__clogf): Likewise.
49505 * math/s_clogl.c (__clogl): Likewise.
49506 * math/libm-test.inc (clog_test): Add more tests.
49507 (clog10_test): Likewise.
49508 * sysdeps/i386/fpu/libm-test-ulps: Update.
49509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49510
49511 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
49512 (pltexit): Likewise.
49513 (La_regs): Likewise.
49514 (La_retval): Likewise.
49515 (int_retval): Likewise.
49516 Update #error for removed macros to refer only to definitions in
49517 tst-audit.h.
49518 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
49519 macro.
49520 (pltexit): Likewise.
49521 (La_regs): Likewise.
49522 (La_retval): Likewise.
49523 (int_retval): Likewise.
49524 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
49525 macro.
49526 (pltexit): Likewise.
49527 (La_regs): Likewise.
49528 (La_retval): Likewise.
49529 (int_retval): Likewise.
49530 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
49531 macro.
49532 (pltexit): Likewise.
49533 (La_regs): Likewise.
49534 (La_retval): Likewise.
49535 (int_retval): Likewise.
49536 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
49537 macro.
49538 (pltexit): Likewise.
49539 (La_regs): Likewise.
49540 (La_retval): Likewise.
49541 (int_retval): Likewise.
49542 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
49543 macro.
49544 (pltexit): Likewise.
49545 (La_regs): Likewise.
49546 (La_retval): Likewise.
49547 (int_retval): Likewise.
49548 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
49549 macro.
49550 (pltexit): Likewise.
49551 (La_regs): Likewise.
49552 (La_retval): Likewise.
49553 (int_retval): Likewise.
49554 * sysdeps/generic/tst-audit.h: Update comment to refer only to
49555 macro definitions in tst-audit.h.
49556 * sysdeps/i386/tst-audit.h: New file.
49557 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
49558 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
49559 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
49560 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
49561 * sysdeps/sh/tst-audit.h: Likewise.
49562 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
49563 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
49564 * sysdeps/x86_64/tst-audit.h: Likewise.
49565
49566 2012-07-26 Andreas Jaeger <aj@suse.de>
49567
49568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
49569 ptrace.
49570
49571 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
49572 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
49573 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
49574 PTRACE_O_MASK.
49575 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
49576 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
49577 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
49578
49579 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
49580 value.
49581
49582 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
49583 _sigsys.
49584 (si_call_addr, si_syscall, si_arch): Define new macro.
49585 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
49586 _sigsys.
49587 (si_call_addr, si_syscall, si_arch): Define new marcro.
49588 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
49589 _sigsys.
49590 (si_call_addr, si_syscall, si_arch): Define new macro.
49591 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
49592 _sigsys.
49593 (si_call_addr, si_syscall, si_arch): Define new macro.
49594
49595 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49596
49597 [BZ #13717]
49598 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
49599 Change to 2.4.21 where previously 2.4.1.
49600 * sysdeps/unix/sysv/linux/configure: Regenerated.
49601 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
49602 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
49603 Linux kernel version.
49604 (__ASSUME_STD_AUXV): Remove.
49605 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
49606 kernel version.
49607 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
49608 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
49609 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
49610 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
49611 (__ASSUME_NETLINK_SUPPORT): Likewise.
49612 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
49613 (__no_netlink_support): Remove conditional definition.
49614 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
49615 Remove.
49616 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49617 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
49618 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
49619 (if_nameindex_ioctl): Remove.
49620 (if_nameindex_netlink): Do not handle __no_netlink_support.
49621 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49622 code.
49623 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
49624 Remove conditional code.
49625 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
49626 code.
49627 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
49628 unconditional.
49629 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
49630 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
49631 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
49632 Remove.
49633 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
49634 [!__ASSUME_STD_AUXV]: Remove conditional code.
49635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
49636 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
49637 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
49638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
49639 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
49640 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49641 code.
49642 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
49644 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
49645 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49646 conditional code.
49647 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
49648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
49649 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
49650 code.
49651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
49652 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
49653 conditional code.
49654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
49655 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49656 code unconditional.
49657 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49658 conditional code.
49659 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49660 unconditional.
49661 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49662 conditional code.
49663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
49664 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49665 unconditional.
49666 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49667 conditional code.
49668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
49669 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49670 code unconditional.
49671 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49672 conditional code.
49673 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49674 unconditional.
49675 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49676 conditional code.
49677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
49678 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
49679 code unconditional.
49680 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49681 conditional code.
49682 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
49683 unconditional.
49684 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
49685 conditional code.
49686
49687 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
49688
49689 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
49690 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
49691 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49692 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
49693 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
49694 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
49695 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
49696 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
49697 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
49698 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
49699 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
49700 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
49701 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
49702 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
49703 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
49704 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
49705 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
49706 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
49707 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
49708 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
49709 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
49710 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
49711 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
49712
49713 2012-07-25 Florian Weimer <fweimer@redhat.com>
49714
49715 * Versions.def: Add GLIBC_2.17.
49716 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
49717 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
49718 Introduce __libc_secure_getenv.
49719 * stdlib/Versions (2.17): Add secure_getenv
49720 (GLIBC_PRIVATE): Add __libc_secure_getenv.
49721 * stdlib/secure-getenv.c: Rename __secure_getenv to
49722 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
49723 symbol __secure_getenv for GLIBC_2.0.
49724 * stdlib/tst-secure-getenv.c: New.
49725 * stdlib/Makefile (tests): Add testcase.
49726 * manual/startup.texi (Environment Access): Document
49727 secure_getenv.
49728 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
49729 __libc_secure_getenv.
49730 * inet/ruserpass.c (ruserpass): Likewise.
49731 * malloc/mtrace.c (mtrace): Likewise.
49732 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
49733 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
49734 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
49735 * sysdeps/posix/tempname.c: Likewise. Evaluate
49736 HAVE_SECURE_GETENV.
49737 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
49738 __secure_getenv to __libc_secure_getenv.
49739 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
49740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
49741 Likewise.
49742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
49743 Likewise.
49744 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
49745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
49746 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
49747 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
49748 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
49749 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
49750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
49751
49752 2012-07-25 Joseph Myers <joseph@codesourcery.com>
49753
49754 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
49755 (struct La_i86_retval): Likewise.
49756 (struct La_x86_64_regs): Likewise.
49757 (struct La_x86_64_retval): Likewise.
49758 (struct La_x32_regs): Likewise.
49759 (struct La_x32_retval): Likewise.
49760 (struct La_ppc32_regs): Likewise.
49761 (struct La_ppc32_retval): Likewise.
49762 (struct La_ppc64_regs): Likewise.
49763 (struct La_ppc64_retval): Likewise.
49764 (struct La_sh_regs): Likewise.
49765 (struct La_sh_retval): Likewise.
49766 (struct La_s390_32_regs): Likewise.
49767 (struct La_s390_32_retval): Likewise.
49768 (struct La_s390_64_regs): Likewise.
49769 (struct La_s390_64_retval): Likewise.
49770 (struct La_sparc32_regs): Likewise.
49771 (struct La_sparc32_retval): Likewise.
49772 (struct La_sparc64_regs): Likewise.
49773 (struct La_sparc64_retval): Likewise.
49774 (struct audit_ifaces): Remove architecture-specific pltenter and
49775 pltexit members.
49776 * sysdeps/i386/ldsodefs.h: New file.
49777 * sysdeps/powerpc/ldsodefs.h: Likewise.
49778 * sysdeps/s390/ldsodefs.h: Likewise.
49779 * sysdeps/sh/ldsodefs.h: Likewise.
49780 * sysdeps/sparc/ldsodefs.h: Likewise.
49781 * sysdeps/x86_64/ldsodefs.h: Likewise.
49782
49783 2012-07-25 Marek Polacek <polacek@redhat.com>
49784
49785 [BZ #6808]
49786 * math/libm-test.inc (yn_test): Add another test.
49787 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
49788 to ERANGE when the result is +-Inf.
49789 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
49790 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
49791 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
49792 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
49793
49794 2012-07-24 Joseph Myers <joseph@codesourcery.com>
49795
49796 * conform/data/time.h-data (NULL): Use macro-constant. Require
49797 equal to 0.
49798 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
49799 clock_t.
49800 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
49801
49802 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
49803
49804 * configure.in <sysdeps resolving>: Correct printing
49805 Implies_before.
49806 * configure: Regenerate.
49807
49808 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
49809
49810 * math/w_ilogb.c: Include <limits.h>.
49811 * math/w_ilogbl.c: Likewise.
49812
49813 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49814
49815 * manual/lang.texi (__va_copy): Document primarily as ISO C99
49816 va_copy. Document allowing for unavailable va_copy only as
49817 pre-C99 compatibility.
49818 * manual/string.texi (Copying and Concatenation): Use va_copy
49819 instead of __va_copy in concat example.
49820
49821 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
49822
49823 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
49824 (__sendto): Use create_address_port. Initialize APORT and deallocate
49825 it if not null.
49826
49827 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
49828 with O_NOLINK passed to __file_name_lookup.
49829
49830 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
49831 with O_NOLINK passed to __file_name_lookup.
49832
49833 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
49834 negative N or less than NGIDS.
49835
49836 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
49837 type to string_t. Set ERANGE as errno and return it if NAME is not big
49838 enough. Use memcpy instead of strncpy.
49839
49840 2012-07-20 Joseph Myers <joseph@codesourcery.com>
49841
49842 * elf/Makefile (check-data): Remove.
49843 (localplt.data): New vpath directive.
49844 ($(objpfx)check-localplt.out): Use localplt.data from vpath
49845 instead of $(check-data).
49846 * scripts/data/localplt-generic.data: Move to ...
49847 * sysdeps/generic/localplt.data: ... here.
49848 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
49849 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
49850 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
49851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
49852 ... here.
49853 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
49854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
49855 ... here.
49856 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
49857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
49858 ... here.
49859 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
49860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
49861 ... here.
49862 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
49863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
49864 ... here.
49865 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
49866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
49867 ... here.
49868
49869 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49870
49871 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
49872 PPC32 and PPC64 files.
49873 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
49874 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
49875
49876 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49877
49878 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
49879 __makecontext_ret to ...
49880 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
49881 ... here and call exit if uc_link is NULL. New file.
49882 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
49883 __makecontext_ret.S.
49884 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
49885 __makecontext_ret to ...
49886 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
49887 ... here and call exit if uc_link is NULL. New file.
49888 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
49889 __makecontext_ret.S.
49890
49891 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49892
49893 * elf/elf.h (R_390_IRELATIVE): New definition.
49894 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
49895 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
49896 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
49897 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49898 (elf_machine_lazy_rel): Likewise.
49899 * sysdeps/s390/dl-irel.h: New file.
49900 * sysdeps/s390/s390-64/memcpy.S: New asm code.
49901 * sysdeps/s390/s390-64/memset.S: New asm code.
49902 * sysdeps/s390/s390-64/memcmp.S: New asm code.
49903 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
49904 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
49905 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
49906 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
49907 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
49908 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
49909 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
49910 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
49911 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
49912 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
49913 * sysdeps/s390/s390-32/memcpy.S: New asm code.
49914 * sysdeps/s390/s390-32/memset.S: New asm code.
49915 * sysdeps/s390/s390-32/memcmp.S: New asm code.
49916
49917 2012-07-17 Marek Polacek <polacek@redhat.com>
49918
49919 [BZ #14349]
49920 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
49921 * sysdeps/s390/s390-64/configure.in: Likewise.
49922 * sysdeps/sparc/configure.in: Likewise.
49923 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
49924 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
49925 * sysdeps/i386/configure.in: Likewise.
49926 * sysdeps/x86_64/configure.in: Likewise.
49927 * sysdeps/sh/configure.in: Likewise.
49928 * sysdeps/s390/s390-32/configure: Regenerated.
49929 * sysdeps/s390/s390-64/configure: Likewise.
49930 * sysdeps/x86_64/configure: Likewise.
49931 * sysdeps/sh/configure: Likewise.
49932 * sysdeps/powerpc/powerpc64/configure: Likewise.
49933 * sysdeps/powerpc/powerpc32/configure: Likewise.
49934 * sysdeps/sparc/configure: Likwise.
49935 * sysdeps/i386/configure: Likewise.
49936
49937 * elf/dl-open.c: Comment fixes.
49938
49939 2012-07-17 Joseph Myers <joseph@codesourcery.com>
49940
49941 * Makefile [CXX] (check-data): Remove.
49942 [CXX] (c++-types.data): New vpath directive.
49943 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
49944 vpath. Do not allow for C++ type data being missing.
49945 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
49946 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
49947 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
49948 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
49949 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
49950 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
49951 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
49952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
49953 ... here.
49954 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
49955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
49956 ... here.
49957 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
49958 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
49959 ... here.
49960 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
49961 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
49962 ... here.
49963 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
49964 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
49965 ... here.
49966 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
49967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
49968 ... here.
49969 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
49970 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
49971 ... here.
49972 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
49973 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
49974
49975 * elf/tls-macros.h (TLS_LE): Move architecture-specific
49976 definitions to architecture-specific files.
49977 (TLS_IE): Likewise.
49978 (TLS_LD): Likewise.
49979 (TLS_GD): Likewise.
49980 * sysdeps/i386/tls-macros.h: New file.
49981 * sysdeps/powerpc/tls-macros.h: Likewise.
49982 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
49983 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
49984 * sysdeps/sh/tls-macros.h: Likewise.
49985 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
49986 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
49987 * sysdeps/x86_64/tls-macros.h: Likewise.
49988
49989 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49990
49991 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
49992 zero value for regular exit case.
49993
49994 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
49995 (__start_context): Preserve zero value for regular exit case.
49996
49997 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
49998 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
49999
50000 * manual/setjmp.texi (setcontext): Clarify normal process
50001 termination when uc_link is the null pointer.
50002 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
50003 exit call.
50004
50005 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
50006
50007 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
50008 preprocessor. Test for each exception mask separately.
50009
50010 2012-07-16 Andreas Jaeger <aj@suse.de>
50011
50012 * po/ru.po: Update from translation team.
50013
50014 2012-07-15 Joseph Myers <joseph@codesourcery.com>
50015
50016 * conform/data/string.h-data (NULL): Use macro-constant. Require
50017 equal to 0.
50018 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
50019 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
50020 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
50021 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
50022 [ISO || ISO99 || ISO11] (*_t): Do not allow.
50023
50024 2012-07-13 Andreas Jaeger <aj@suse.de>
50025
50026 * po/fr.po: Update from translation team.
50027
50028 2012-07-12 Marek Polacek <polacek@redhat.com>
50029
50030 [BZ #14173]
50031 * math/libm-test.inc (yn_test): Add test for BZ #14173.
50032 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
50033 loop condition.
50034
50035 2012-07-12 Joseph Myers <joseph@codesourcery.com>
50036
50037 [BZ #13717]
50038 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
50039 Change to 2.4.1 where previously 2.4.0.
50040 * sysdeps/unix/sysv/linux/configure: Regenerated.
50041 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
50042 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
50043 version.
50044 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
50045 (__ASSUME_AT_CLKTCK): Remove.
50046 (__ASSUME_AT_PAGESIZE): Likewise.
50047 (__ASSUME_AT_XID): Likewise.
50048 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
50049 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
50050 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
50051 unconditionally.
50052 (HAVE_AUX_PAGESIZE): Likewise.
50053 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
50054 [__ASSUME_AT_CLKTCK]: Make code unconditional.
50055 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
50056
50057 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
50058
50059 [BZ #14307]
50060 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
50061 the temporary buffer used to invoke __gethostbyname2_r,
50062 __gethostbyaddr_r and gethostbyname4_r to make room for struct
50063 host_data / struct gaih_addrtuple.
50064 * resolv/nss_dns/dns-host.c (global scope): Move definition of
50065 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
50066 header file nss/nsswitch.h.
50067 * nss/nsswitch.h (global scope): Add definition of implementation
50068 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
50069 resolv/nss_dns/dns-host.c).
50070
50071 2012-07-11 Andreas Jaeger <aj@suse.de>
50072
50073 * po/fr.po: Update from translation team.
50074
50075 * po/sv.po: Update from translation team
50076 * po/fr.po: Another update from translation team.
50077
50078 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50079
50080 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
50081 for subnormals or multiply small sinh result by itself.
50082 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
50083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50084
50085 2012-07-11 David S. Miller <davem@davemloft.net>
50086
50087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
50088
50089 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
50090
50091 [BZ #14347]
50092 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
50093 (INTERNAL_MARK): Shift it here.
50094
50095 2012-07-10 Marek Polacek <polacek@redhat.com>
50096
50097 [BZ #14151]
50098 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
50099 libc_cv_asm_global_directive with .globl.
50100 * configure: Regenerated.
50101 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
50102 with .globl.
50103 * sysdeps/i386/configure: Regenerated.
50104 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
50105 with .globl.
50106 * sysdeps/x86_64/configure: Regenerated.
50107 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
50108 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
50109 * elf/tst-unique2mod2.c: Likewise.
50110 * elf/tst-unique2mod1.c: Likewise.
50111 * elf/tst-unique1mod2.c: Likewise.
50112 * elf/tst-unique1mod1.c: Likewise.
50113 * sysdeps/s390/s390-32/sysdep.h: Likewise.
50114 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
50115 * sysdeps/s390/s390-64/sysdep.h: Likewise.
50116 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50117 * sysdeps/mach/sysdep.h: Likewise.
50118 * sysdeps/i386/sysdep.h: Likewise.
50119 * sysdeps/i386/i386-mcount.S: Likewise.
50120 * sysdeps/x86_64/_mcount.S: Likewise.
50121 * sysdeps/x86_64/sysdep.h: Likewise.
50122 * sysdeps/sh/_mcount.S: Likewise.
50123 * sysdeps/sh/sysdep.h: Likewise.
50124 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
50125 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
50126 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
50127 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50128 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
50129 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
50130 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
50131 * locale/localeinfo.h: Likewise.
50132 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
50133 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
50134
50135 2012-07-09 Roland McGrath <roland@hack.frob.com>
50136
50137 [BZ #14336]
50138 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
50139 system".
50140 * manual/message.texi (The Uniforum approach): Likewise.
50141 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
50142 (glibc iconv Implementation): Likewise.
50143
50144 2012-07-09 Joseph Myers <joseph@codesourcery.com>
50145
50146 [BZ #14337]
50147 * math/s_clog.c (__clog): Avoid scaling a value down where that
50148 could result in underflow.
50149 * math/s_clog10.c (__clog10): Likewise.
50150 * math/s_clog10f.c (__clog10f): Likewise.
50151 * math/s_clog10l.c (__clog10l): Likewise.
50152 * math/s_clogf.c (__clogf): Likewise.
50153 * math/s_clogl.c (__clogl): Likewise.
50154 * math/libm-test.inc (clog_test): Add more tests.
50155 (clog10_test): Likewise.
50156 * sysdeps/i386/fpu/libm-test-ulps: Update.
50157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50158
50159 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
50160
50161 [BZ #14283]
50162 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
50163 by 7 not 8 to examine high bit of fractional part.
50164
50165 [BZ #14042]
50166 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
50167 for call to __mcount_internal.
50168 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
50169 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
50170 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
50171
50172 2012-07-06 Joseph Myers <joseph@codesourcery.com>
50173
50174 [BZ #14154]
50175 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
50176 approximation for values within 0x1p-13f of an odd multiple of
50177 pi/4.
50178 * math/libm-test.inc (tan_test): Do not allow spurious underflow
50179 exception. Add more tests.
50180 * sysdeps/i386/fpu/libm-test-ulps: Update.
50181
50182 [BZ #6778]
50183 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
50184 inputs and return -1 for them. Do not check for +Inf in case not
50185 reachable for +Inf.
50186 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
50187 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
50188 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50189 and return -1 for them. Do not check for +Inf in case not
50190 reachable for +Inf.
50191 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
50192 define.
50193 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
50194 and return -1 for them. Do not check for +Inf in case not
50195 reachable for +Inf.
50196 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
50197 spurious underflow.
50198 * sysdeps/i386/fpu/libm-test-ulps: Update.
50199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50200
50201 2012-07-06 Mike Frysinger <vapier@gentoo.org>
50202
50203 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
50204
50205 2012-07-05 Joseph Myers <joseph@codesourcery.com>
50206
50207 [BZ #14157]
50208 [BZ #14331]
50209 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
50210 could result in spurious underflow. Scale down values above
50211 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
50212 * math/s_csqrtf.c (__csqrtf): Likewise.
50213 * math/s_csqrtl.c (__csqrtl): Likewise.
50214 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
50215 spurious underflow.
50216 * sysdeps/i386/fpu/libm-test-ulps: Update.
50217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50218
50219 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
50220
50221 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
50222 xopen-msg.sed.
50223 * catgets/xopen-msg.awk: New file.
50224 * catgets/xopen-msg.sed: Removed.
50225
50226 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
50227 po2text.sed.
50228 * intl/po2test.awk: New file.
50229 * intl/po2test.sed: Removed.
50230
50231 2012-07-04 Joseph Myers <joseph@codesourcery.com>
50232
50233 [BZ #14328]
50234 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
50235 or multiply small sinh result by itself.
50236 * math/s_ctanf.c (__ctanf): Likewise.
50237 * math/s_ctanh.c (__ctanh): Likewise.
50238 * math/s_ctanhf.c (__ctanhf): Likewise.
50239 * math/s_ctanhl.c (__ctanhl): Likewise.
50240 * math/s_ctanl.c (__ctanl): Likewise.
50241 * math/libm-test.inc (ctan_test_tonearest): New function.
50242 (ctan_test_towardzero): Likewise.
50243 (ctan_test_downward): Likewise.
50244 (ctan_test_upward): Likewise.
50245 (ctanh_test_tonearest): Likewise.
50246 (ctanh_test_towardzero): Likewise.
50247 (ctanh_test_downward): Likewise.
50248 (ctanh_test_upward): Likewise.
50249 (main): Call these new functions.
50250 * sysdeps/i386/fpu/libm-test-ulps: Update.
50251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50252
50253 2012-07-03 Mike Frysinger <vapier@gentoo.org>
50254
50255 * .gitignore: Delete /ports entry.
50256
50257 2012-07-03 Andreas Jaeger <aj@suse.de>
50258
50259 * po/bg.po: Update from translation team.
50260 * po/cs.po: Likewise.
50261 * po/de.po: Likewise.
50262 * po/hr.po: Likewise.
50263 * po/nl.pl: Likewise.
50264 * po/pl.po: Likewise.
50265 * po/vi.po: Likewise.
50266
50267 2012-07-03 Joseph Myers <joseph@codesourcery.com>
50268
50269 * Makeconfig [!+link] (+link-before-libc): New variable.
50270 [!+link] (+link-after-libc): Likewise.
50271 [!+link] (+link-tests): Likewise.
50272 [!+link] (+link): Define in terms of $(+link-before-libc) and
50273 $(+link-after-libc).
50274 [!+link-static] (+link-static-before-libc): New variable.
50275 [!+link-static] (+link-static-after-libc): Likewise.
50276 [!+link-static] (+link-static-tests): Likewise.
50277 [!+link-static] (+link-static): Define in terms of
50278 $(+link-static-before-libc) and $(+link-static-after-libc).
50279 [build-shared] (link-libc-before-gnulib): New variable.
50280 [build-shared] (link-libc-tests): Likewise.
50281 [build-shared] (link-libc): Define in terms of
50282 $(link-libc-before-gnulib).
50283 [!build-shared] (link-libc-tests): New variable.
50284 (link-libc-static-tests): New variable.
50285 [!gnulib] (gnulib-arch): New variable.
50286 [!gnulib] (gnulib-tests): Likewise.
50287 [!gnulib] (static-gnulib-arch): Likewise.
50288 [!gnulib] (static-gnulib-tests): Likewise.
50289 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
50290 Define with "=" instead of ":=".
50291 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
50292 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
50293 * Rules (binaries-all-notests): New variable.
50294 (binaries-all-tests): Likewise.
50295 (binaries-static-notests): Likewise.
50296 (binaries-static-tests): Likewise.
50297 (binaries-all): Define using $(binaries-all-notests) and
50298 $(binaries-all-tests).
50299 (binaries-static): Define using $(binaries-static-notests) and
50300 $(binaries-static-tests).
50301 (binaries-shared-tests): New variable.
50302 (binaries-shared-notests): Likewise.
50303 (binaries-shared): Remove variable.
50304 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
50305 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
50306 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
50307 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
50308 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
50309 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
50310 * elf/Makefile (sln-modules): New variable.
50311 (extra-objs): Add $(sln-modules:=.o).
50312 (ldconfig-modules): Add static-stubs.
50313 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
50314 * elf/static-stubs.c: New file.
50315
50316 [BZ #14283]
50317 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
50318 by 7 not 8 to examine high bit of fractional part. Use volatile
50319 variables when splitting into final array of floats if
50320 __FLT_EVAL_METHOD__ != 0.
50321 * math/libm-test.inc (cos_test): Add another test.
50322 (sin_test): Likewise.
50323 * sysdeps/i386/fpu/libm-test-ulps: Update.
50324
50325 [BZ #14273]
50326 * math/libm-test.inc (cosh_test): Add more tests.
50327
50328 * version.h (RELEASE): Set to "development".
50329 (VERSION): Set to "2.16.90".
50330
50331 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
50332
50333 * NEWS: Update copyright. Remove last-updated date.
50334 Mention math library bug fixes and timezone data changes.
50335 * README: Mention GNU/Hurd, x32, and HPPA support status.
50336
50337 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
50338
50339 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
50340
50341 2012-06-27 Andreas Jaeger <aj@suse.de>
50342
50343 * manual/contrib.texi (Contributors): Add Samuel Thibault.
50344
50345 2012-06-25 Andreas Jaeger <aj@suse.de>
50346
50347 * sysdeps/s390/fpu/libm-test-ulps: Update.
50348
50349 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
50350 Thomas Schwinge <thomas@codesourcery.com>
50351
50352 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
50353 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
50354 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
50355 fanotify_mark.
50356
50357 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
50358
50359 * sysdeps/mach/start.c: Remove file.
50360 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
50361 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
50362 * sysdeps/sh/init-first.c: Likewise.
50363
50364 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
50365 registers for frame unwinding purposes, add CFI directives.
50366 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50367 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
50368 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
50369 Likewise.
50370
50371 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
50372 __fortify_fail returning.
50373 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
50374
50375 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
50376 sysdeps/sh/____longjmp_chk.S.
50377 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
50378 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
50379 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
50380 (gen-as-const-headers): Append sigaltstack-offsets.sym.
50381
50382 * sysdeps/sh/abort-instr.h: New file.
50383 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
50384 process in case exit returns.
50385
50386 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
50387 initialize the GOT register before use.
50388
50389 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
50390 calculation of ARGC > 4.
50391
50392 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
50393 meaningful names to some local labels.
50394
50395 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
50396 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50397
50398 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
50399 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
50400 (__arch_compare_and_exchange_val_16_acq): Likewise.
50401 (__arch_compare_and_exchange_val_32_acq): Likewise.
50402 (atomic_exchange_and_add): Fix gUSA sequence.
50403 (atomic_add): Likewise.
50404 (atomic_add_negative): Likewise.
50405 (atomic_add_zero): Likewise.
50406 (atomic_bit_test_set): Likewise.
50407
50408 2012-06-22 Andreas Schwab <schwab@redhat.com>
50409
50410 [BZ #13579]
50411 * include/link.h (struct link_map): Add l_free_initfini.
50412 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
50413 l_initfini.
50414 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
50415 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
50416 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
50417 set.
50418
50419 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
50420
50421 * configure.in: Use AC_LANG_SOURCE.
50422 * configure: Regenerate.
50423
50424 2012-06-22 Roland McGrath <roland@hack.frob.com>
50425
50426 * configure.in (libc_cv_localstatedir): New substituted variable.
50427 * configure: Regenerated.
50428 * config.make.in (localstatedir): New variable, substituted from
50429 libc_cv_localstatedir.
50430 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
50431 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
50432 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
50433 * sysdeps/gnu/configure: Regenerated.
50434
50435 2012-06-21 Jeff Law <law@redhat.com>
50436
50437 [BZ #14277]
50438 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
50439 free. Simplify list management for _LIBC case.
50440
50441 2012-06-21 Joseph Myers <joseph@codesourcery.com>
50442
50443 [BZ #14273]
50444 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
50445 Clear sign bit of 64-bit integer value before comparing against
50446 overflow value.
50447
50448 * sysdeps/mach/configure: Regenerated.
50449
50450 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
50451
50452 [BZ #14278]
50453 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
50454
50455 2012-06-21 Jeff Law <law@redhat.com>
50456
50457 [BZ #13882]
50458 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
50459 uint16_t for elements in the "seen" array to avoid char overflows.
50460 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50461 * elf/dl-open.c (dl_open_worker): Likewise.
50462
50463 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
50464
50465 * scripts/list-sources.sh: Scan PORTS for translations.
50466 * po/libc.pot: Regenerated.
50467
50468 2012-06-21 Andreas Jaeger <aj@suse.de>
50469
50470 [BZ #12194]
50471 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
50472 warning.
50473 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
50474 * bits/byteswap-16.h (__bswap_16): Likewise.
50475 * bits/byteswap.h (__bswap_constant_16): Likewise.
50476
50477 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
50478
50479 [BZ #14117]
50480 * sysdeps/i386/fpu_control.h: Removed.
50481 * sysdeps/x86_64/fpu_control.h: Moved to ...
50482 * sysdeps/x86/fpu_control.h: Here.
50483
50484 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
50485 (_FPU_SETCW): Likewise.
50486
50487 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
50488
50489 [BZ #14117]
50490 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
50491 * sysdeps/x86/fpu/bits/mathinline.h: This.
50492 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
50493
50494 [BZ #14050]
50495 [BZ #14117]
50496 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
50497 functions if __x86_64__ is defined.
50498
50499 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
50500
50501 * string/endian.h: Add !__ASSEMBLER__ condition for including
50502 conversion interfaces.
50503
50504 2012-06-15 Joseph Myers <joseph@codesourcery.com>
50505
50506 [BZ #14241]
50507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
50508 of ABS(x) in calculating zero to negative powers other than odd
50509 integers.
50510 * math/libm-test.inc (pow_test): Add more tests.
50511
50512 2012-06-15 Andreas Jaeger <aj@suse.de>
50513
50514 * manual/contrib.texi (Contributors): Update entry of Liubov
50515 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
50516 Machado Filho.
50517
50518 2012-06-15 Cyril Hrubis <metan@ucw.cz>
50519
50520 * string/string.h: Add __wur to GNU version of strerror_r.
50521
50522 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
50523
50524 [BZ #14229]
50525 * string/Makefile (tests): Add tst-strtok_r.
50526 * string/tst-strtok_r.c: New file.
50527 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
50528 RAX_LP/RDX_LP on SAVE_PTR.
50529
50530 2012-06-14 Roland McGrath <roland@hack.frob.com>
50531
50532 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
50533
50534 2012-06-14 Joseph Myers <joseph@codesourcery.com>
50535
50536 * libm_test.inc (csqrt_test): Allow more spurious underflow
50537 exceptions.
50538 (j0_test): Likewise.
50539 (j1_test): Likewise.
50540 (y0_test): Likewise.
50541 (y1_test): Likewise.
50542
50543 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
50544
50545 * po/Makefile (libc.pot): Use UTF-8 charset.
50546
50547 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
50548
50549 [BZ #14210]
50550 Suppress sign-conversion warning from FD_SET.
50551 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
50552 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
50553 not unsigned long int.
50554 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
50555
50556 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
50557
50558 [BZ #14050]
50559 [BZ #14117]
50560 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
50561 __extern_always_inline instead of __extern_inline.
50562 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
50563 (__signbit): Likewise.
50564 (__signbitl): Support C++ namespace.
50565 (lrintf): New inline function.
50566 (lrint): Likewise.
50567 (llrintf): Likewise.
50568 (llrint): Likewise.
50569 (fmaxf): Likewise.
50570 (fmax): Likewise.
50571 (fminf): Likewise.
50572 (fmin): Likewise.
50573 (rint): Likewise.
50574 (rintf): Likewise.
50575 (ceil): Likewise.
50576 (ceilf): Likewise.
50577 (floor): Likewise.
50578 (floorf): Likewise.
50579 (nearbyint): Likewise.
50580 (nearbyintf): Likewise.
50581
50582 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
50583
50584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
50585 non-default versions.
50586
50587 2012-06-11 Roland McGrath <roland@hack.frob.com>
50588
50589 [BZ #14218]
50590 * manual/argp.texi (Argp): Reword argp_parse description slightly.
50591
50592 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
50593
50594 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
50595 (FE_UPWARD, FE_DOWNWARD): Don't define.
50596 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
50597 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
50598
50599 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
50600 reading it.
50601 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
50602 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
50603
50604 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50605
50606 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
50607 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
50608 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
50609 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
50610
50611 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
50612
50613 [BZ #14117]
50614 * sysdeps/i386/fpu/bits/fenv.h: Removed.
50615 * sysdeps/i386/fpu/Implies: New file.
50616 * sysdeps/x86_64/fpu/Implies: Likewise.
50617 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
50618 * sysdeps/x86/fpu/bits/fenv.h: This.
50619
50620 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
50621 __SSE_MATH__.
50622
50623 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50624
50625 [BZ #14134]
50626 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
50627 character 0xffff that matches the last element of the
50628 conversion table.
50629
50630 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50631
50632 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
50633 fmodl commit.
50634
50635 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50636
50637 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
50638 values higher than 25.6283.
50639
50640 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50641
50642 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
50643 subnormal exponent extraction and add some __builtin_expect.
50644 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
50645 Fix for subnormal mantissa calculation.
50646
50647 2012-06-04 Mike Frysinger <vapier@gentoo.org>
50648
50649 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
50650 cpu2 is -1 and errno is not ENOSYS.
50651
50652 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
50653
50654 [BZ #14117]
50655 * sysdeps/i386/i486/bits/string.h: Renamed to ...
50656 * sysdeps/x86/bits/string.h: This.
50657 * sysdeps/x86_64/bits/string.h: Removed.
50658
50659 * sysdeps/i386/i486/bits/string.h: Define inline functions only
50660 if not compiling for x86-64, but compiling for >= i486.
50661
50662 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
50663 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
50664
50665 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
50666 New macro from Linux kernel 3.4.0.
50667 (FP_XSTATE_MAGIC2): Likewise.
50668 (FP_XSTATE_MAGIC2_SIZE): Likewise.
50669 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
50670 (struct _fpx_sw_bytes): New struct.
50671 (struct _xsave_hdr): Likewise.
50672 (struct _ymmh_state): Likewise.
50673 (struct _xstate): Likewise.
50674
50675 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
50676 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
50677 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
50678 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
50679 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
50680 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
50681
50682 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
50683 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
50684 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
50685 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
50686 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
50687 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
50688
50689 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
50690
50691 [BZ #13743]
50692 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
50693 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
50694 (sysdep_headers): Include sys/platform/ppc.h.
50695 * sysdeps/powerpc/test-gettimebase.c: Test for
50696 __ppc_get_timebase() to catch future ISA opcode/insn changes.
50697 * manual/Makefile (appendices): Include platform.texi.
50698 * manual/contrib.texi (Contributors): Update @node pointers.
50699 * manual/maint.texi (Maintenance): Likewise.
50700 (Platform): New node.
50701 * manual/platform.texi: New file. Document the new features.
50702
50703 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50704 Jakub Jelinek <jakub@redhat.com>
50705
50706 [BZ #14188]
50707 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
50708 where __builtin_expect is unavailable.
50709
50710 2012-06-03 David S. Miller <davem@davemloft.net>
50711
50712 * stdlib/longlong.h: Updated from GCC.
50713
50714 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
50715
50716 [BZ #14042]
50717 * sysdeps/powerpc/powerpc32/mcount.c: New file.
50718 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
50719 __mcount_internal.
50720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
50721 (GLIBC_2.16): Likewise.
50722
50723 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50724
50725 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
50726
50727 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50728
50729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
50730 (default-abi): New variable.
50731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
50732 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
50733 variable.
50734 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
50735 Likewise.
50736 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
50737 Likewise.
50738 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
50739 Likewise.
50740
50741 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
50742 definition. Document in comment.
50743
50744 2012-06-01 David S. Miller <davem@davemloft.net>
50745
50746 * stdlib/longlong.h: Updated from GCC.
50747
50748 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50749
50750 [BZ #14117]
50751 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
50752 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
50753 sys/debugreg.h sys/io.h here.
50754 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
50755 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
50756 sys/io.h.
50757 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
50758 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
50759 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
50760 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
50761 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
50762 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
50763
50764 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
50765 Define only if __x86_64__ is defined.
50766
50767 2012-06-01 Joseph Myers <joseph@codesourcery.com>
50768
50769 [BZ #14048]
50770 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
50771 Use int64_t for variable i.
50772 * math/libm-test.inc (fmod_test): Add more tests.
50773
50774 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
50775 z computation is not scheduled after fetestexcept.
50776 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
50777 Use math_force_eval instead of asm to ensure calculation scheduled
50778 before exception test.
50779 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
50780 Ensure a1 + u.d computation is not scheduled after fetestexcept.
50781
50782 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
50783
50784 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
50785 computation is not scheduled after fetestexcept.
50786
50787 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
50788
50789 [BZ #14117]
50790 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
50791 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
50792
50793 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50794
50795 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
50796 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
50797
50798 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50799
50800 [BZ #14117]
50801 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
50802 <bits/wordsize.h>.
50803 (__WCHAR_MIN): Support __WORDSIZE == 64.
50804 (__WCHAR_MAX): Likewise.
50805
50806 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
50807 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
50808
50809 [BZ #14183]
50810 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
50811 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
50812
50813 [BZ #14117]
50814 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
50815 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
50816
50817 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
50818 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
50819
50820 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
50821 Defined to 1 if __x86_64__ isn't defined.
50822 (_STAT_VER_LINUX_OLD): New.
50823 (st_atime): Remove duplicate.
50824 (st_mtime): Likewise.
50825 (st_ctime): Likewise.
50826
50827 2012-05-31 David S. Miller <davem@davemloft.net>
50828
50829 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
50830 entries.
50831
50832 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
50833
50834 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
50835 gen-libm-test.pl.
50836
50837 [BZ #14132]
50838 * elf/dl-reloc.c: Include <_itoa.h>.
50839 (_dl_reloc_bad_type): Remove use of INTUSE.
50840 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
50841 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
50842 * stdio-common/psiginfo.c (psiginfo): Likewise.
50843 * stdio-common/psignal.c (psignal): Likewise.
50844 * string/strsignal.c (strsignal): Likewise.
50845 * include/signal.h (_sys_siglist): Declare hidden proto.
50846 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
50847 INTVARDEF with libc_hidden_data_def.
50848 * stdio-common/itoa-udigits.c: Likewise.
50849 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
50850 (_itoa_lower_digits_internal): Remove declaration.
50851 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
50852 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
50853 (_sys_sigabbrev_internal): Remove aliases.
50854 (_sys_siglist): Define hidden alias.
50855
50856 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
50857
50858 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50859 bits/sysctl.h.
50860
50861 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
50862
50863 [BZ #14117]
50864 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
50865 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
50866
50867 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
50868 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
50869 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
50870 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
50871 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
50872 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
50873
50874 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
50875 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
50876 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
50877
50878 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
50879 with __addr.
50880 (insw): Likewise.
50881 (insl): Likewise.
50882 (outsb): Likewise.
50883 (outsw): Likewise.
50884 (outsl): Likewise.
50885
50886 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
50887 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
50888 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
50889
50890 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
50891 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
50892 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
50893 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
50894 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
50895 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
50896
50897 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
50898 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
50899
50900 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
50901 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
50902
50903 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
50904 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
50905 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
50906
50907 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
50908 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
50909 to ...
50910 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
50911
50912 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
50913 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
50914 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
50915
50916 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
50917 for x86-64.
50918 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
50919
50920 2012-05-31 Joseph Myers <joseph@codesourcery.com>
50921
50922 * math/math.h (M_El): Use two more decimal places.
50923 (M_LOG2El): Likewise.
50924 (M_LOG10El): Likewise.
50925 (M_LN2l): Likewise.
50926 (M_LN10l): Likewise.
50927 (M_PIl): Likewise.
50928 (M_PI_2l): Likewise.
50929 (M_PI_4l): Likewise.
50930 (M_1_PIl): Likewise.
50931 (M_2_PIl): Likewise.
50932 (M_2_SQRTPIl): Likewise.
50933 (M_SQRT2l): Likewise.
50934 (M_SQRT1_2l): Likewise.
50935
50936 2012-05-31 David S. Miller <davem@davemloft.net>
50937
50938 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
50939 values between float registers.
50940 * sysdeps/sparc/sparc64/memset.S: Likewise.
50941 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
50942
50943 2012-05-31 Mike Frysinger <vapier@gentoo.org>
50944
50945 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
50946 -D_FORTIFY_SOURCE=1.
50947 (CPPFLAGS-tst-longjmp_chk.c): Define.
50948 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
50949 (CPPFLAGS-tst-longjmp_chk2.c): Define.
50950 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
50951 CFLAGS-tst-wchar-h.c.
50952
50953 2012-05-31 Marek Polacek <polacek@redhat.com>
50954
50955 [BZ #14132]
50956 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
50957 __endmntent_internal): Remove declaration.
50958 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
50959 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
50960 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
50961
50962 2012-05-30 David S. Miller <davem@davemloft.net>
50963
50964 * sysdeps/sparc/sparc32/soft-fp/q_util.c
50965 (___Q_simulate_exceptions): Use real FP ops rather than writing
50966 into the %fsr.
50967 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
50968 Likewise.
50969
50970 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
50971
50972 [BZ #14117]
50973 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
50974 * sysdeps/x86/bits/xtitypes.h: This.
50975
50976 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
50977 * sysdeps/x86/bits/wordsize.h: This.
50978
50979 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
50980 * sysdeps/x86/bits/huge_vall.h: This.
50981
50982 * sysdeps/i386/bits/select.h: Removed.
50983 * sysdeps/x86_64/bits/select.h: Renamed to ...
50984 * sysdeps/x86/bits/select.h: This.
50985
50986 * sysdeps/i386/bits/setjmp.h: Removed.
50987 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
50988 * sysdeps/x86/bits/setjmp.h: This.
50989
50990 * sysdeps/i386/bits/mathdef.h: Removed.
50991 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
50992 * sysdeps/x86/bits/mathdef.h: This.
50993
50994 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
50995
50996 [BZ #14132]
50997 * include/sys/socket.h (__connect_internal)
50998 (__libc_sa_len_internal): Remove declaration.
50999 (__connect, __libc_sa_len): Declare hidden_proto.
51000 (SA_LEN): Remove use of INTUSE.
51001 * socket/connect.c: Add libc_hidden_def.
51002 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
51003 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
51004 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
51005 alias.
51006 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
51007 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
51008 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
51009 of adding _internal alias.
51010
51011 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
51012
51013 [BZ #14117]
51014 * sysdeps/i386/bits/link.h: Removed.
51015 * sysdeps/i386/bits/linkmap.h: Likewise.
51016 * sysdeps/x86_64/bits/link.h: Renamed to ...
51017 * sysdeps/x86/bits/link.h: This.
51018 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
51019 * sysdeps/x86/bits/linkmap.h: This.
51020
51021 * sysdeps/i386/bits/endian.h: Removed.
51022 * sysdeps/x86_64/bits/endian.h: Renamed to ...
51023 * sysdeps/x86/bits/endian.h: This.
51024
51025 * sysdeps/i386/bits/byteswap.h: Removed.
51026 * sysdeps/i386/bits/byteswap-16.h: Likewise.
51027 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
51028 * sysdeps/x86/bits/byteswap.h: This.
51029 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
51030 * sysdeps/x86/bits/byteswap-16.h: This.
51031 * sysdeps/i386/Implies: Add x86.
51032 * sysdeps/x86_64/Implies: Likewise.
51033
51034 2012-05-30 David S. Miller <davem@davemloft.net>
51035
51036 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
51037 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
51038 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
51039 (FP_TRAPPING_EXCEPTIONS): Define.
51040 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
51041 (FP_TRAPPING_EXCEPTIONS): Define.
51042 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
51043 subnormals only when inexact has been signalled or underflow
51044 exceptions are enabled.
51045 (_FP_PACK_CANONICAL): Likewise.
51046
51047 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
51048
51049 [BZ #14183]
51050 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
51051 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
51052
51053 2012-05-30 Richard Henderson <rth@twiddle.net>
51054
51055 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
51056 with #ifndef NOT_IN_libc.
51057
51058 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
51059 marked to avoid plt entry.
51060
51061 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
51062
51063 [BZ #14112]
51064 * Makeconfig (default-abi): New macro.
51065 (abi-includes): Likewise.
51066 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
51067 $(abi-$(default-abi)-lib-soname) for soname if defined.
51068 ($(common-objpfx)gnu/lib-names.stmp): Generate from
51069 abi-variants.
51070 * Makefile (installed-stubs): Likewise.
51071 * include/stubs-biarch.h: Removed.
51072 * scripts/lib-names.awk: Only handle one library at a time.
51073 * scripts/soversions.awk: Remove WORDSIZE support.
51074 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
51075 entries.
51076 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
51077 Removed.
51078 (syscall-list-default-condition): Likewise.
51079 (syscall-list-default-condition): Likewise.
51080 (syscall-list-includes): Likewise.
51081 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
51082 syscall-list-* with abi-*. Handle undefined abi-variants.
51083 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
51084 * sysdeps/unix/sysv/linux/i386/Implies: New file.
51085 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
51086 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
51087 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
51088 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
51089 Removed.
51090 (syscall-list-32-options): Likewise.
51091 (syscall-list-32-condition): Likewise.
51092 (syscall-list-64-options): Likewise.
51093 (syscall-list-64-condition): Likewise.
51094 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
51095 macro.
51096 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
51097 Renamed to ...
51098 (abi-*): This.
51099 (abi-64-ld-soname): New macro.
51100 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
51101 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
51102 Renamed to ...
51103 (abi-*): This.
51104 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
51105 * sysdeps/x86_64/x32/shlib-versions: Likewise.
51106
51107 2012-05-30 Joseph Myers <joseph@codesourcery.com>
51108
51109 * sysdeps/unix/sysv/linux/kernel-features.h
51110 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
51111 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
51112 include <kernel-features.h>.
51113 [!__NR_ftruncate64]: Remove conditional code.
51114 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51115 [__NR_ftruncate64]: Make code unconditional.
51116 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51117 * sysdeps/unix/sysv/linux/truncate64.c: Do not
51118 include <kernel-features.h>.
51119 [!__NR_ftruncate64]: Remove conditional code.
51120 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51121 [__NR_ftruncate64]: Make code unconditional.
51122 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
51124 include <kernel-features.h>.
51125 [!__NR_ftruncate64]: Remove conditional code.
51126 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51127 [__NR_ftruncate64]: Make code unconditional.
51128 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
51130 include <kernel-features.h>.
51131 [!__NR_ftruncate64]: Remove conditional code.
51132 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51133 [__NR_ftruncate64]: Make code unconditional.
51134 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
51135
51136 * configure.in (libc_cv_fpie): Weaken to a compile test using
51137 LIBC_TRY_CC_OPTION.
51138 * configure: Regenerated.
51139
51140 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51141
51142 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
51143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
51144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
51145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
51146 Refreshed.
51147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
51148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
51149 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
51150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
51151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
51152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
51153 Refreshed.
51154
51155 2012-05-27 David S. Miller <davem@davemloft.net>
51156
51157 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
51158 (___Q_zero): New.
51159 (__Q_simulate_exceptions): Return void. Change to simulate
51160 exceptions by writing into the %fsr.
51161 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
51162 (__Qp_handle_exceptions): Likewise.
51163 (numbers): Delete.
51164 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
51165 __Qp_handle_exceptions.
51166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
51167 __Qp_handle_exceptions.
51168 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51169 as unused and give dummy FP_RND_NEAREST initializer.
51170 (FP_INHIBIT_RESULTS): Define.
51171 (___Q_simulate_exceptions): Update declaration.
51172 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
51173 formatting.
51174 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
51175 as unused and give dummy FP_RND_NEAREST initializer.
51176 (__Qp_handle_exceptions): Update declaration.
51177 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
51178 formatting.
51179
51180 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
51181
51182 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
51183 the temporary FPU control word.
51184 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
51185 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
51186 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
51187 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
51188 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
51189 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
51190 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
51191 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
51192 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
51193 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
51194 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
51195
51196 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
51197
51198 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
51199 fields.
51200
51201 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
51202
51203 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
51204 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
51205 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
51206 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
51207 Likewise.
51208 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
51209 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
51210 Likewise.
51211
51212 2012-05-27 Ulrich Drepper <drepper@gmail.com>
51213
51214 * po/h.po: Update from translation team.
51215
51216 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
51217
51218 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
51219
51220 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
51221 handling of denormals.
51222 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
51223 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
51224 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
51225 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
51226 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
51227 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
51228 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
51229 Likewise.
51230
51231 2012-05-26 Marek Polacek <polacek@redhat.com>
51232
51233 [BZ #14152]
51234 * math/libm-test.inc (fma_test): Don't always expect underflow
51235 exception.
51236
51237 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
51238
51239 [BZ #12416]
51240 * elf/tst-execstack.c: Include stackinfo.h.
51241 (do_test): Adjust test case to ensure that pthread_getattr_np
51242 behaviour remains the same after marking stack executable.
51243
51244 2012-05-25 Joseph Myers <joseph@codesourcery.com>
51245
51246 * sysdeps/unix/sysv/linux/kernel-features.h
51247 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
51248 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
51249 kernel-features.h.
51250 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51251 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51252 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
51253 kernel-features.h.
51254 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
51255 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
51256
51257 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
51258
51259 * configure.in: Define the default includes to being none.
51260 * configure: Regenerated.
51261
51262 2012-05-25 Roland McGrath <roland@hack.frob.com>
51263
51264 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
51265 * sysdeps/x86_64/setjmp.S: Likewise.
51266 * sysdeps/i386/bsd-setjmp.S: Likewise.
51267 * sysdeps/i386/bsd-_setjmp.S: Likewise.
51268 * sysdeps/i386/setjmp.S: Likewise.
51269 * sysdeps/i386/__longjmp.S: Likewise.
51270 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
51271 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
51272
51273 * include/stap-probe.h: New file.
51274 * configure.in: Handle --enable-systemtap.
51275 * configure: Regenerated.
51276 * config.h.in (USE_STAP_PROBE): New #undef.
51277 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
51278 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
51279 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
51280
51281 2012-05-25 Joseph Myers <joseph@codesourcery.com>
51282
51283 [BZ #13717]
51284 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
51285 to 2.4.0 where earlier.
51286 * sysdeps/unix/sysv/linux/configure: Regenerated.
51287 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
51288 <kernel-features.h>.
51289 [__ASSUME_32BITUIDS]: Make code unconditional.
51290 [!__ASSUME_32BITUIDS]: Remove conditional code.
51291 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
51292 <kernel-features.h>.
51293 [__ASSUME_32BITUIDS]: Make code unconditional.
51294 [!__ASSUME_32BITUIDS]: Remove conditional code.
51295 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
51296 [__ASSUME_32BITUIDS]: Make code unconditional.
51297 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
51298 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
51299 <kernel-features.h>.
51300 [__ASSUME_32BITUIDS]: Make code unconditional.
51301 [!__ASSUME_32BITUIDS]: Remove conditional code.
51302 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
51303 <kernel-features.h>.
51304 [__ASSUME_32BITUIDS]: Make code unconditional.
51305 [!__ASSUME_32BITUIDS]: Remove conditional code.
51306 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
51307 <kernel-features.h>.
51308 [__ASSUME_32BITUIDS]: Make code unconditional.
51309 [!__ASSUME_32BITUIDS]: Remove conditional code.
51310 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
51311 <kernel-features.h>.
51312 [__ASSUME_32BITUIDS]: Make code unconditional.
51313 [!__ASSUME_32BITUIDS]: Remove conditional code.
51314 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
51315 <kernel-features.h>.
51316 [__ASSUME_32BITUIDS]: Make code unconditional.
51317 [!__ASSUME_32BITUIDS]: Remove conditional code.
51318 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
51319 <kernel-features.h>.
51320 [__ASSUME_32BITUIDS]: Make code unconditional.
51321 [!__ASSUME_32BITUIDS]: Remove conditional code.
51322 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
51323 <kernel-features.h>.
51324 [__ASSUME_32BITUIDS]: Make code unconditional.
51325 [!__ASSUME_32BITUIDS]: Remove conditional code.
51326 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
51327 <kernel-features.h>.
51328 [__ASSUME_32BITUIDS]: Make code unconditional.
51329 [!__ASSUME_32BITUIDS]: Remove conditional code.
51330 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
51331 <kernel-features.h>.
51332 [__ASSUME_32BITUIDS]: Make code unconditional.
51333 [!__ASSUME_32BITUIDS]: Remove conditional code.
51334 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
51335 <kernel-features.h>.
51336 [__ASSUME_32BITUIDS]: Make code unconditional.
51337 [!__ASSUME_32BITUIDS]: Remove conditional code.
51338 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
51339 <kernel-features.h>.
51340 [__NR_setresgid] (__setresgid): Do not declare.
51341 [__ASSUME_32BITUIDS]: Make code unconditional.
51342 [!__ASSUME_32BITUIDS]: Remove conditional code.
51343 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
51344 <kernel-features.h>.
51345 [__NR_setresuid] (__setresuid): Do not declare.
51346 [__ASSUME_32BITUIDS]: Make code unconditional.
51347 [!__ASSUME_32BITUIDS]: Remove conditional code.
51348 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
51349 <kernel-features.h>.
51350 [__ASSUME_32BITUIDS]: Make code unconditional.
51351 [!__ASSUME_32BITUIDS]: Remove conditional code.
51352 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
51353 <kernel-features.h>.
51354 [__ASSUME_32BITUIDS]: Make code unconditional.
51355 [!__ASSUME_32BITUIDS]: Remove conditional code.
51356 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
51357 <kernel-features.h>.
51358 [__ASSUME_32BITUIDS]: Make code unconditional.
51359 [!__ASSUME_32BITUIDS]: Remove conditional code.
51360 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
51361 <kernel-features.h>.
51362 [__ASSUME_32BITUIDS]: Make code unconditional.
51363 [!__ASSUME_32BITUIDS]: Remove conditional code.
51364 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
51365 <kernel-features.h>.
51366 [__ASSUME_32BITUIDS]: Make code unconditional.
51367 [!__ASSUME_32BITUIDS]: Remove conditional code.
51368 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
51369 <kernel-features.h>.
51370 [__ASSUME_32BITUIDS]: Make code unconditional.
51371 [!__ASSUME_32BITUIDS]: Remove conditional code.
51372 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
51373 <kernel-features.h>.
51374 [__ASSUME_32BITUIDS]: Make code unconditional.
51375 [!__ASSUME_32BITUIDS]: Remove conditional code.
51376 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
51377 <kernel-features.h>.
51378 [__ASSUME_32BITUIDS]: Make code unconditional.
51379 [!__ASSUME_32BITUIDS]: Remove conditional code.
51380 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
51381 <kernel-features.h>.
51382 [__ASSUME_32BITUIDS]: Make code unconditional.
51383 [!__ASSUME_32BITUIDS]: Remove conditional code.
51384 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
51385 <kernel-features.h>.
51386 [__ASSUME_32BITUIDS]: Make code unconditional.
51387 [!__ASSUME_32BITUIDS]: Remove conditional code.
51388 * sysdeps/unix/sysv/linux/kernel-features.h
51389 (__ASSUME_SETRESUID_SYSCALL): Remove.
51390 (__ASSUME_SETRESGID_SYSCALL): Likewise.
51391 (__ASSUME_32BITUIDS): Likewise.
51392 (__ASSUME_LDT_WORKS): Likewise.
51393 (__ASSUME_O_DIRECTORY): Likewise.
51394 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
51395 architecture but not kernel version.
51396 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51397 (__ASSUME_MMAP2_SYSCALL): Likewise.
51398 (__ASSUME_STAT64_SYSCALL): Likewise.
51399 (__ASSUME_IPC64): Likewise.
51400 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
51401 <kernel-features.h>.
51402 [__ASSUME_32BITUIDS]: Make code unconditional.
51403 [!__ASSUME_32BITUIDS]: Remove conditional code.
51404 * sysdeps/unix/sysv/linux/opendir.c: Do not include
51405 <kernel-features.h>.
51406 [__ASSUME_O_DIRECTORY]: Make code unconditional.
51407 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
51408 132096]: Remove conditional code.
51409 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
51410 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
51411 <kernel-features.h>.
51412 [__ASSUME_32BITUIDS]: Make code unconditional.
51413 [!__ASSUME_32BITUIDS]: Remove conditional code.
51414 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
51415 <kernel-features.h>.
51416 [__ASSUME_32BITUIDS]: Make code unconditional.
51417 [!__ASSUME_32BITUIDS]: Remove conditional code.
51418 * sysdeps/unix/sysv/linux/setegid.c: Do not include
51419 <kernel-features.h>.
51420 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
51421 unconditional.
51422 (__setresgid): Do not declare.
51423 [__ASSUME_32BITUIDS]: Make code unconditional.
51424 [!__ASSUME_32BITUIDS]: Remove conditional code.
51425 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
51426 <kernel-features.h>.
51427 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
51428 unconditional.
51429 (__setresuid): Do not declare.
51430 [__ASSUME_32BITUIDS]: Make code unconditional.
51431 [!__ASSUME_32BITUIDS]: Remove conditional code.
51432 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
51433 <kernel-features.h>.
51434 [__ASSUME_32BITUIDS]: Make code unconditional.
51435 [!__ASSUME_32BITUIDS]: Remove conditional code.
51436 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
51437 <kernel-features.h>.
51438 [__ASSUME_32BITUIDS]: Make code unconditional.
51439 [!__ASSUME_32BITUIDS]: Remove conditional code.
51440
51441 2012-05-25 Richard Henderson <rth@twiddle.net>
51442
51443 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
51444 dl_hwcap to ifunc resolver.
51445 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
51446 elf_ifunc_invoke.
51447 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
51448 dl_hwcap to ifunc resolver.
51449 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
51450
51451 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51452
51453 [BZ #14153]
51454 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
51455 for |x| <= 2**-26, not 2**-57.
51456 * math/libm-test.inc (acos_test): Do not allow spurious underflow
51457 exception.
51458
51459 2012-05-24 Jeff Law <law@redhat.com>
51460
51461 * stdio-common/Makefile (tests): Add bug25.
51462 * stdio-common/bug25.c: New test.
51463
51464 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51465
51466 [BZ #13576]
51467 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
51468 multiple of MALLOC_ALIGNMENT in size.
51469 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
51470
51471 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51472
51473 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
51474 Require >= 256.
51475 (FILENAME_MAX): Use macro-int-constant.
51476 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
51477 (_IOFBF): Use macro-int-constant.
51478 (_IOLBF): Likewise.
51479 (_IONBF): Likewise.
51480 (SEEK_CUR): Likewise.
51481 (SEEK_END): Likewise.
51482 (SEEK_SET): Likewise.
51483 (TMP_MAX): Likewise.
51484 (EOF): Use macro-int-constant. Require < 0.
51485 (NULL): Use macro-constant. Require == 0.
51486 (stdin): Require type to be FILE *.
51487 (stdout): Likewise.
51488 (stderr): Likewise.
51489 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
51490 macro-int-constant.
51491 (EXIT_SUCCESS): Likewise.
51492 (NULL): Use macro-constant. Require == 0.
51493 (RAND_MAX): Use macro-int-constant.
51494 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
51495 [C99-based standards] (strtof): Require function.
51496 [C99-based standards] (strtold): Likewise.
51497 [C99-based standards] (strtoll): Likewise.
51498 [C99-based standards] (strtoull): Likewise.
51499 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
51500 [ISO || ISO99 || ISO11] (limits.h): Likewise.
51501 [ISO || ISO99 || ISO11] (math.h): Likewise.
51502 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
51503 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
51504 [ISO || ISO99 || ISO11] (*_t): Do not allow.
51505
51506 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
51507
51508 [BZ #14132]
51509 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
51510 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
51511 * intl/dgettext.c (DCGETTEXT): Likewise.
51512 * intl/gettext.c (DCGETTEXT): Likewise.
51513 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
51514 * posix/regex_internal.h (gettext): Likewise.
51515 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
51516 Remove declaration.
51517 * include/argz.h (__argz_count_internal)
51518 (__argz_stringify_internal): Remove declaration.
51519 (__argz_count, __argz_stringify): Declare hidden proto.
51520 * intl/dcgettext.c: Remove use of INTDEF.
51521 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
51522 * string/argz-stringify.c: Likewise.
51523 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51524 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51525 Declare hidden proto.
51526 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
51527 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
51528 Declare hidden proto.
51529 * include/stdio.h (__asprintf_internal): Don't declare.
51530 (__asprintf): Don't define as macro. Declare hidden proto.
51531 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
51532 (__fsetlocking): Declare hidden proto.
51533 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
51534 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
51535 hidden proto.
51536 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
51537 (_IO_setlinebuf): Remove use of INTUSE.
51538 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
51539 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
51540 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
51541 Remove declaration.
51542 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
51543 (_IO_do_flush): Remove use of INTUSE.
51544 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
51545 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
51546 (_IO_adjust_column, _IO_least_wmarker)
51547 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
51548 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
51549 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
51550 (_IO_default_doallocate, _IO_wdefault_doallocate)
51551 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
51552 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
51553 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
51554 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
51555 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
51556 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
51557 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
51558 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
51559 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
51560 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
51561 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
51562 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
51563 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
51564 proto.
51565 (_IO_flush_all_internal, _IO_adjust_column_internal)
51566 (_IO_default_uflow_internal, _IO_default_finish_internal)
51567 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
51568 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
51569 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
51570 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
51571 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
51572 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
51573 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
51574 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
51575 (_IO_file_close_internal, _IO_file_close_it_internal)
51576 (_IO_file_underflow_internal, _IO_file_overflow_internal)
51577 (_IO_file_init_internal, _IO_file_attach_internal)
51578 (_IO_file_fopen_internal, _IO_file_read_internal)
51579 (_IO_file_sync_internal, _IO_file_seek_internal)
51580 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
51581 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
51582 (_IO_str_underflow_internal, _IO_str_overflow_internal)
51583 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
51584 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
51585 (_IO_list_all_internal, _IO_link_in_internal)
51586 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
51587 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
51588 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
51589 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
51590 (_IO_do_write_internal, _IO_padn_internal)
51591 (_IO_getline_info_internal, _IO_getline_internal)
51592 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
51593 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
51594 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
51595 (_IO_vfscanf_internal, _IO_vfprintf_internal)
51596 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
51597 (_IO_init_internal, _IO_un_link_internal): Don't declare.
51598 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
51599 with libc_hidden_ver, remove use of INTUSE.
51600 * libio/genops.c: Likewise.
51601 * libio/freopen.c: Likewise.
51602 * libio/freopen64.c: Likewise.
51603 * libio/iofclose.c: Likewise.
51604 * libio/iofdopen.c: Likewise.
51605 * libio/iofflush.c: Likewise.
51606 * libio/iofflush_u.c: Likewise.
51607 * libio/iofgets.c: Likewise.
51608 * libio/iofgets_u.c: Likewise.
51609 * libio/iofopen.c: Likewise.
51610 * libio/iofopncook.c: Likewise.
51611 * libio/iofread.c: Likewise.
51612 * libio/iofread_u.c: Likewise.
51613 * libio/ioftell.c: Likewise.
51614 * libio/iofwrite.c: Likewise.
51615 * libio/iogetline.c: Likewise.
51616 * libio/iogets.c: Likewise.
51617 * libio/iogetwline.c: Likewise.
51618 * libio/iopadn.c: Likewise.
51619 * libio/iopopen.c: Likewise.
51620 * libio/ioseekoff.c: Likewise.
51621 * libio/ioseekpos.c: Likewise.
51622 * libio/iosetbuffer.c: Likewise.
51623 * libio/iosetvbuf.c: Likewise.
51624 * libio/ioungetc.c: Likewise.
51625 * libio/ioungetwc.c: Likewise.
51626 * libio/iovdprintf.c: Likewise.
51627 * libio/iovsprintf.c: Likewise.
51628 * libio/iovsscanf.c: Likewise.
51629 * libio/memstream.c: Likewise.
51630 * libio/obprintf.c: Likewise.
51631 * libio/oldfileops.c: Likewise.
51632 * libio/oldiofclose.c: Likewise.
51633 * libio/oldiofdopen.c: Likewise.
51634 * libio/oldiofopen.c: Likewise.
51635 * libio/oldiopopen.c: Likewise.
51636 * libio/oldstdfiles.c: Likewise.
51637 * libio/putc.c: Likewise.
51638 * libio/setbuf.c: Likewise.
51639 * libio/setlinebuf.c: Likewise.
51640 * libio/stdfiles.c: Likewise.
51641 * libio/strops.c: Likewise.
51642 * libio/vasprintf.c: Likewise.
51643 * libio/vscanf.c: Likewise.
51644 * libio/vsnprintf.c: Likewise.
51645 * libio/vswprintf.c: Likewise.
51646 * libio/wfiledoalloc.c: Likewise.
51647 * libio/wfileops.c: Likewise.
51648 * libio/wgenops.c: Likewise.
51649 * libio/wmemstream.c: Likewise.
51650 * libio/wstrops.c: Likewise.
51651 * libio/__fpurge.c: Likewise.
51652 * libio/__fsetlocking.c: Likewise.
51653 * assert/assert.c: Likewise.
51654 * debug/fgets_chk.c: Likewise.
51655 * debug/fgets_u_chk.c: Likewise.
51656 * debug/fread_chk.c: Likewise.
51657 * debug/fread_u_chk.c: Likewise.
51658 * debug/gets_chk.c: Likewise.
51659 * debug/obprintf_chk.c: Likewise.
51660 * debug/vasprintf_chk.c: Likewise.
51661 * debug/vdprintf_chk.c: Likewise.
51662 * debug/vsnprintf_chk.c: Likewise.
51663 * debug/vsprintf_chk.c: Likewise.
51664 * malloc/mtrace.c: Likewise.
51665 * misc/error.c: Likewise.
51666 * misc/syslog.c: Likewise.
51667 * stdio-common/asprintf.c: Likewise.
51668 * stdio-common/fxprintf.c: Likewise.
51669 * stdio-common/getw.c: Likewise.
51670 * stdio-common/isoc99_fscanf.c: Likewise.
51671 * stdio-common/isoc99_scanf.c: Likewise.
51672 * stdio-common/isoc99_vfscanf.c: Likewise.
51673 * stdio-common/isoc99_vscanf.c: Likewise.
51674 * stdio-common/isoc99_vsscanf.c: Likewise.
51675 * stdio-common/printf-prs.c: Likewise.
51676 * stdio-common/printf_fp.c: Likewise.
51677 * stdio-common/printf_fphex.c: Likewise.
51678 * stdio-common/printf_size.c: Likewise.
51679 * stdio-common/putw.c: Likewise.
51680 * stdio-common/scanf.c: Likewise.
51681 * stdio-common/sprintf.c: Likewise.
51682 * stdio-common/tmpfile.c: Likewise.
51683 * stdio-common/vfprintf.c: Likewise.
51684 * stdio-common/vfscanf.c: Likewise.
51685 * stdlib/strfmon_l.c: Likewise.
51686 * sunrpc/openchild.c: Likewise.
51687 * sunrpc/xdr_stdio.c: Likewise.
51688 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
51689 * sysdeps/mach/hurd/tmpfile.c: Likewise.
51690
51691 2012-05-24 Roland McGrath <roland@hack.frob.com>
51692
51693 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
51694
51695 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
51696 in the third column, to generate for the shared library an IFUNC
51697 that uses _dl_vdso_vsym.
51698 * Makerules (COMPILE.c, compile-stdin.c): New variables.
51699 * Makeconfig (object-suffixes-noshared): New variable.
51700
51701 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
51702 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
51703 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
51704 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
51705
51706 [BZ #14132]
51707 * include/sys/time.h (__gettimeofday): Remove macro.
51708 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
51709 * time/gettimeofday.c (__gettimeofday): Remove #undef.
51710 Remove INTDEF.
51711 (__gettimeofday): Add libc_hidden_def.
51712 (gettimeofday): Add libc_hidden_weak.
51713 * sysdeps/mach/gettimeofday.c: Likewise.
51714 * sysdeps/posix/gettimeofday.c: Likewise.
51715 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
51716 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
51717 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
51718 (__gettimeofday_internal): Remove strong_alias.
51719 (__gettimeofday): Add libc_hidden_def.
51720 (gettimeofday): Add libc_hidden_weak.
51721 * sysdeps/unix/syscalls.list (gettimeofday):
51722 Remove __gettimeofday_internal alias.
51723
51724 2012-05-24 Daniel Jacobowitz <drow@false.org>
51725 H.J. Lu <hongjiu.lu@intel.com>
51726
51727 [BZ #12495]
51728 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
51729 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
51730 (largebin_index_32_big): New.
51731 (largebin_index): Use it for 16-byte alignment.
51732 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
51733 correction with front_misalign.
51734
51735 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
51736
51737 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
51738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51739 Likewise.
51740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
51741 Likewise.
51742 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
51743 Likewise.
51744 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
51745 Likewise.
51746 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
51747 Likewise.
51748 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
51749 Likewise.
51750 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
51751 Likewise.
51752 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
51753 Likewise.
51754 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
51755 Likewise.
51756 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
51757 Likewise.
51758 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51759 Likewise.
51760 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
51761 Likewise.
51762
51763 * scripts/data/c++-types-x32-linux-gnu.data: New file.
51764 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
51765
51766 2012-05-24 Joseph Myers <joseph@codesourcery.com>
51767
51768 [BZ #10846]
51769 [BZ #14036]
51770 * math/libm-test.inc (exp_test): Add test from bug 14036.
51771 (pow_test): Add test from bug 10846.
51772
51773 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
51774 and other flags.
51775 (special_function): Do not include flags in test name.
51776 (parse_args): Likewise.
51777 * sysdeps/i386/fpu/libm-test-ulps: Update.
51778 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51779 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51780 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51782
51783 * math/gen-libm-test.pl (%beautify): Add entries for underflow
51784 exceptions.
51785 * math/libm-test.inc ("Philosophy"): Update comment about
51786 exception testing.
51787 (UNDERFLOW_EXCEPTION): New macro.
51788 (UNDERFLOW_EXCEPTION_OK): Likewise.
51789 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
51790 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
51791 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
51792 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
51793 (INVALID_EXCEPTION_OK): Update value.
51794 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
51795 (OVERFLOW_EXCEPTION_OK): Likewise.
51796 (IGNORE_ZERO_INF_SIGN): Likewise.
51797 (test_exceptions): Handle underflow exceptions.
51798 (acos_test): Update for underflow exception expectations.
51799 (cexp_test): Likewise.
51800 (clog_test): Likewise.
51801 (clog10_test): Likewise.
51802 (csqrt_test): Likewise.
51803 (ctan_test): Likewise.
51804 (ctanh_test): Likewise.
51805 (exp_test): Likewise.
51806 (exp10_test): Likewise.
51807 (exp2_test): Likewise.
51808 (expm1_test): Likewise.
51809 (fma_test): Likewise.
51810 (j0_test): Likewise.
51811 (jn_test): Likewise.
51812 (nexttoward_test): Likewise.
51813 (pow_test): Likewise.
51814 (scalbn_test): Likewise.
51815 (scalbln_test): Likewise.
51816 (tan_test): Likewise.
51817 (y1_test): Likewise.
51818 * sysdeps/i386/fpu/libm-test-ulps: Update.
51819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51820
51821 2012-05-23 David S. Miller <davem@davemloft.net>
51822
51823 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
51824 (__libc_sigaction): Remove unused local variables.
51825
51826 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51827
51828 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
51829
51830 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
51831
51832 mktime: avoid signed integer overflow
51833 * time/mktime.c (__mktime_internal): Do not mishandle the case
51834 where diff == INT_MIN.
51835
51836 mktime: simplify computation of average
51837 * time/mktime.c (ranged_convert): Use new time_t_avg function
51838 instead of rolling our own (probably-slower) code.
51839
51840 mktime: do not assume signed right shift propagates sign bit
51841 * time/mktime.c (isdst_differ): New static function.
51842 (__mktime_internal): No need to normalize tm_isdst now.
51843 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
51844 tm_isdst values.
51845
51846 mktime: merge another wrapv change from gnulib
51847 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
51848 from some compilers.
51849
51850 mktime: remove incorrect attempt at unusual arithmetics
51851 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
51852 The code didn't really work on such machines anyway.
51853 (TYPE_MINIMUM): Assume two's complement.
51854 (twos_complement_arithmetic): Verify that long_int and time_t
51855 are two's complement (or unsigned, in the latter case).
51856
51857 mktime: check signed shifts on long_int and time_t, too
51858 * time/mktime.c (SHR): Check that shifts work as desired
51859 on the types long_int and time_t too, as SHR is used on
51860 such types.
51861
51862 mktime: do not assume 'long' is wide enough
51863 * time/mktime.c (verify): Move decl up.
51864 (long_int): New type.
51865 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
51866 to remove assumption in the code that 'long' is wide enough to
51867 store year values. This assumption is not true on x32 and on
51868 some non-glibc platforms.
51869
51870 mktime: merge wrapv change from gnulib
51871 * time/mktime.c (WRAPV): New macro.
51872 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
51873 (guess_time_tm, __mktime_internal): Do not assume that signed
51874 integer overflow wraps around; modern compilers generate code
51875 where this assumption is no longer valid.
51876
51877 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51878
51879 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
51880 Replace "jmp L(pseudo_end)" with "ret".
51881 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
51882 Likewise.
51883
51884 2012-05-23 Andreas Jaeger <aj@suse.de>
51885
51886 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
51887 * sysdeps/unix/sysv/linux/poll.c: Remove file.
51888
51889 2012-05-23 Andreas Jaeger <aj@suse.de>
51890 Maximilian Attems <max@stro.at>
51891
51892 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
51893 New macros.
51894
51895 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
51896
51897 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
51898 code so that pseudo_end is just ret and the stack pointer is
51899 correct also for static library in error case.
51900
51901 2012-05-23 Joseph Myers <joseph@codesourcery.com>
51902
51903 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
51904 move to syscalls.list.
51905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
51906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
51907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
51908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
51909
51910 * manual/install.texi (Running make install): Do not mention Linux
51911 kernel version for which pt_chown is not needed.
51912 (Linux): Do not mention problems with nscd with 2.0 kernels.
51913 * INSTALL: Regenerated.
51914
51915 2012-05-23 Andreas Jaeger <aj@suse.de>
51916
51917 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
51918 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
51919 macro.
51920 * sysdeps/unix/sysv/linux/s390/bits/mman.h
51921 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51922 * sysdeps/unix/sysv/linux/sh/bits/mman.h
51923 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51924 * sysdeps/unix/sysv/linux/i386/bits/mman.h
51925 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51926 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
51927 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51928 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
51929 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
51930 * sysdeps/unix/sysv/linux/bits/in.h
51931 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
51932
51933 2012-05-22 Roland McGrath <roland@hack.frob.com>
51934
51935 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
51936 (PREPARE_VERSION): Just use assert instead, it will be elided
51937 under [NDEBUG] anyway.
51938
51939 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51940
51941 * sysdeps/unix/sysv/linux/Makefile: Include
51942 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
51943 (sysdep_routines): Remove sysctl.
51944 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
51945 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
51946 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
51947 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
51948 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
51949
51950 2012-05-22 Andreas Jaeger <aj@suse.de>
51951
51952 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
51953 that pseudo_end is just ret and the stack pointer is correct also
51954 for static library in error case.
51955
51956 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
51957
51958 [BZ #14122]
51959 * nss/nsswitch.c (defconfig_entries): New variable.
51960 (__nss_database_lookup): Don't leak defconfig entries.
51961 (nss_parse_service_list): Don't leak on error paths.
51962 (free_database_entries): New function.
51963 (free_defconfig): New function.
51964 (free_mem): Move common code to free_database_entries.
51965
51966 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51967
51968 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
51969 Add arch_prctl.
51970 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
51971
51972 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
51973 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
51974 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
51975 New macro.
51976 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
51977 (INTERNAL_SYSCALL_TYPES): Likewise.
51978 (LOAD_ARGS_TYPES_[1-6]): Likewise.
51979 (LOAD_REGS_TYPES_[1-6]): Likewise.
51980 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
51981 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
51982
51983 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51984
51985 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
51986 copysignl for GLIBC_2_0.
51987 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
51988 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
51989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
51990 logbl for GLIBC_2_0.
51991 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
51992 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
51993
51994 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
51995
51996 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
51997 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
51998
51999 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
52000 Use "neg %eax".
52001
52002 * time/mktime.c: Update copyright years.
52003
52004 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
52005
52006 mktime: merge comment-quoting-style change from gnulib
52007 * time/mktime.c: Quote 'like this' in comments.
52008 The GNU coding standards suggest that we no longer quote `like this',
52009 as "`" and "'" are typically rendered asymmetrically nowadays.
52010 The typical gnulib style is to quote 'like this' when quoting
52011 code, and "like this" when quoting English.
52012
52013 * time/mktime.c (compile-command): Add "-I.".
52014
52015 mktime: merge mktime-internal.h change from gnulib
52016 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
52017
52018 mktime: merge time_r change from gnulib
52019 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
52020
52021 mktime: merge DEBUG change from gnulib
52022 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
52023 case system <time.h> has a #define.
52024
52025 mktime: merge <sys/types.h> change from gnulib
52026 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
52027 since <time.t> is now guaranteed to define time_t.
52028
52029 mktime: merge HAVE_CONFIG_H change from gnulib
52030 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
52031
52032 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
52033
52034 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
52035 Use "neg %eax".
52036
52037 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
52038 __rlim_t cast.
52039 (struct rusage): Use anonymous union to pad each field to
52040 __syscall_slong_t.
52041
52042 2012-05-21 David S. Miller <davem@davemloft.net>
52043
52044 * Makefules (o-iterator): Remove .s cases.
52045 (compile-command.s): Delete.
52046 (COMPILE.s): Delete.
52047 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
52048
52049 2012-05-21 Joseph Myers <joseph@codesourcery.com>
52050
52051 * configure.in (libc_cv_predef_stack_protector): Only consider
52052 "foobar" and "__stack_chk_fail" lines in libc_undefs.
52053 * configure: Regenerated.
52054
52055 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
52056
52057 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
52058 New macro. Use R*LP on int and pointer.
52059 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
52060 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
52061 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
52062 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
52063
52064 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
52065 [__WORDSIZE_TIME64_COMPAT32] instead of
52066 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
52067 (struct utmp): Likewise.
52068 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
52069 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
52070 Renamed to ...
52071 (__WORDSIZE_TIME64_COMPAT32): This.
52072 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
52073 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
52074 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
52075 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
52076 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
52077 (__WORDSIZE_TIME64_COMPAT32): New macro.
52078
52079 2012-05-21 Andreas Jaeger <aj@suse.de>
52080
52081 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
52082 only if [SHARED]. Add prototype for __wcschr_ia32.
52083
52084 2012-05-21 Roland McGrath <roland@hack.frob.com>
52085
52086 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
52087 of %rbp unmolested in the jmp_buf while mangling the low bits.
52088 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
52089 unmolested high bits of %rbp while demangling the low bits.
52090 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
52091
52092 2012-05-21 Andreas Jaeger <aj@suse.de>
52093
52094 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
52095 * sunrpc/svc_simple.c: Use it for registerrpc.
52096 * sunrpc/xcrypt.c: Use it for passwd2des.
52097
52098 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
52099
52100 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
52101
52102 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
52103 Don't define if [__SYSCALL_WORDSIZE != 32].
52104 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
52105 New macro.
52106
52107 2012-05-21 Bruno Haible <bruno@clisp.org>
52108 Andreas Jaeger <aj@suse.de>
52109
52110 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
52111 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
52112 inptr and inend for must_buffer_ch.
52113 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
52114 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
52115 * stdio-common/Makefile (tests): Remove bug15.
52116 (bug15-ENV): Remove macro.
52117 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
52118 anymore.
52119
52120 2012-05-19 Andreas Jaeger <aj@suse.de>
52121 Roland McGrath <roland@hack.frob.com>
52122
52123 * manual/contrib.texi: Completely rewritten. It contains now an
52124 alphabetical list of contributors and their contributions.
52125
52126 2012-05-21 Richard Henderson <rth@twiddle.net>
52127
52128 * misc/getauxval.c (__getauxval): Use unsigned long int.
52129 * misc/sys/auxv.h: Include <sys/cdefs.h>.
52130 (getauxval): Use unsigned long int.
52131
52132 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
52133
52134 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
52135
52136 2012-05-21 Roland McGrath <roland@hack.frob.com>
52137
52138 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
52139 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
52140 __alignof__ (long double).
52141
52142 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52143
52144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52145
52146 2012-05-20 Richard Henderson <rth@twiddle.net>
52147
52148 * misc/getauxval.c: New file.
52149 * misc/sys/auxv.h: New file.
52150 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
52151 (routines): Add getauxval.
52152 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
52153 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
52154 * elf/dl-sysdep.c (_dl_auxv): Remove.
52155 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
52156 * elf/dl-support.c (_dl_auxv): New variable.
52157 (_dl_aux_init): Initialize it.
52158 * manual/startup.texi (Auxiliary Vector): New node.
52159 * sysdeps/generic/bits/hwcap.h: New file.
52160 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
52161 * sysdeps/powerpc/sysdep.h: ... here. Include it.
52162 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
52163 * sysdeps/sparc/sysdep.h: ... here. Include it.
52164 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
52165 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
52166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
52167 Update.
52168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
52169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
52170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
52171 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
52172 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52173 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
52174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
52175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
52176
52177 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52178
52179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52180
52181 2012-05-19 David S. Miller <davem@davemloft.net>
52182
52183 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52184
52185 2012-05-19 Joseph Myers <joseph@codesourcery.com>
52186
52187 [BZ #14123]
52188 * math/s_ccosh.c: Include <float.h>
52189 (__ccosh): Avoid internal overflow calculating sinh and cosh
52190 values before multiplying by sin and cos values.
52191 * math/s_ccoshf.c: Likewise.
52192 * math/s_ccoshl.c: Likewise.
52193 * math/s_csin.c: Likewise.
52194 * math/s_csinf.c: Likewise.
52195 * math/s_csinl.c: Likewise.
52196 * math/s_csinh.c: Likewise.
52197 * math/s_csinhf.c: Likewise.
52198 * math/s_csinhl.c: Likewise.
52199 * math/libm-test.inc (ccos_test): Add more tests.
52200 (ccosh_test): Likewise.
52201 (csin_test): Likewise.
52202 (csinh_test): Likewise.
52203 * sysdeps/i386/fpu/libm-test-ulps: Update.
52204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52205
52206 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
52207
52208 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
52209 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
52210
52211 * sysdeps/x86_64/x32/_itoa.h: Add comment.
52212
52213 2012-05-19 Joseph Myers <joseph@codesourcery.com>
52214
52215 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
52216 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
52217 * sysdeps/powerpc/soft-fp/Versions: Likewise.
52218 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
52219 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
52220 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
52221 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
52222 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
52223 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
52224 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
52225 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
52226 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
52227 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
52228 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
52229 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
52230 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
52231 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
52232 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
52233 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
52234 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
52235 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
52236 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
52237 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
52238 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
52239 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
52240 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
52241 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
52242 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
52243 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
52244 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
52245 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
52246
52247 2012-05-18 Andreas Jaeger <aj@suse.de>
52248
52249 * csu/.gitignore: Delete.
52250
52251 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
52252
52253 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
52254 (timex): Use __syscall_slong_t.
52255
52256 2012-05-18 Andreas Jaeger <aj@suse.de>
52257 Carlos O'Donell <carlos_odonell@mentor.com>
52258
52259 * manual/install.texi (Configuring and compiling): Update
52260 description about files modified in the source directory.
52261 * INSTALL: Regenerated.
52262
52263 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
52264
52265 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
52266 value. Use "or" to set return value to -1.
52267 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
52268 negate return value.
52269
52270 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
52271
52272 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
52273 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
52274 failure if the compiler has Graphite support disabled.
52275 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
52276 Likewise.
52277 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
52278 (CFLAGS-memmove.c): Likewise.
52279 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
52280 Likewise.
52281
52282 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
52283
52284 * sysdeps/x86_64/x32/_itoa.h: New file.
52285
52286 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
52287 getdents system call only if kernel and user dirents have the
52288 same d_ino and d_off.
52289
52290 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
52291 LLONG_MAX != LONG_MAX.
52292 (_itoa_word): Use _ITOA_WORD_TYPE on value.
52293 (_fitoa_word): Likewise.
52294
52295 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
52296 years.
52297 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
52298 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
52299 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
52300
52301 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
52302 include <bits/wordsize.h>. Check __x86_64__ instead of
52303 __WORDSIZE.
52304 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
52305 if __x86_64__ is defined. Use anonymous union on fpstate.
52306
52307 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
52308 anonymous union.
52309
52310 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
52311
52312 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
52313 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
52314 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
52315 Refer to _rtld_local_ro instead of _rtld_global_ro.
52316 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
52317 Likewise.
52318 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
52319 Likewise.
52320 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
52321 Likewise.
52322 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
52323 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
52324 of _rtld_global, and rtld_progname instead of _dl_argv[0].
52325
52326 [BZ #10882]
52327 * sysdeps/powerpc/powerpc32/dl-machine.c
52328 (__elf_machine_runtime_setup) [PROF]: Don't reference
52329 _dl_prof_resolve.
52330
52331 2012-05-18 Andreas Jaeger <aj@suse.de>
52332
52333 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
52334 function only available for GCCs before 3.4 since GCC 3.4
52335 introduced a builtin.
52336 (lrint): Likewise.
52337 (llrintf): Likewise.
52338 (llrint): Likewise.
52339 (fmaxf): Likewise.
52340 (fmax): Likewise.
52341 (fminf): Likewise.
52342 (fmin): Likewise.
52343 (rint): Likewise.
52344 (rintf): Likewise.
52345 (nearbyint): Likewise.
52346 (nearbyintf): Likewise.
52347 (ceil): Likewise.
52348 (ceilf): Likewise.
52349 (floor): Likewise.
52350 (floorf): Likewise.
52351
52352 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
52353
52354 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
52355 on both fields and cast pointer to __syscall_ulong_t.
52356
52357 * bits/types.h (__fsword_t): New type.
52358 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
52359 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
52360 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52361 (__FSWORD_T_TYPE): Likewise.
52362 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52363 (__FSWORD_T_TYPE): Likewise.
52364 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52365 (__FSWORD_T_TYPE): Likewise.
52366 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
52367 (__FSWORD_T_TYPE): Likewise.
52368 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
52369 __SWORD_TYPE with __fsword_t.
52370 (statfs64): Likewise.
52371
52372 2012-05-17 David S. Miller <davem@davemloft.net>
52373
52374 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
52375
52376 2012-05-17 Andreas Jaeger <aj@suse.de>
52377
52378 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
52379 warning.
52380
52381 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
52382
52383 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
52384
52385 2012-05-17 Andreas Jaeger <aj@suse.de>
52386
52387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
52388 when it is used.
52389
52390 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
52391
52392 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
52393
52394 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
52395
52396 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
52397 * sysdeps/x86_64/tst-mallocalign1.c: New file.
52398
52399 2012-05-17 Andreas Jaeger <aj@suse.de>
52400 Carlos O'Donell <carlos_odonell@mentor.com>
52401
52402 [BZ #14059]
52403 * sysdeps/x86_64/multiarch/init-arch.h
52404 (bit_YMM_Usable): Rename to...
52405 (bit_AVX_Usable): ... this.
52406 (bit_FMA4_Usable): New macro.
52407 (bit_XMM_state): New macro.
52408 (bit_YMM_state): New macro.
52409 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
52410 [__ASSEMBLER__] (index_AVX_Usable): ... this.
52411 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
52412 (CPUID_OSXSAVE): New macro.
52413 (CPUID_AVX): New macro.
52414 (CPUID_FMA4): New macro.
52415 (index_YMM_Usable): Rename to...
52416 (index_AVX_Usable): ... this.
52417 (HAS_AVX): Use HAS_ARCH_FEATURE.
52418 (HAS_FMA4): Likewise.
52419 (HAS_YMM_USABLE): Remove.
52420 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52421 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
52422 are present.
52423 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
52424 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
52425 * sysdeps/x86_64/multiarch/Makefile: Likewise.
52426 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
52427 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
52428
52429 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
52430
52431 * math/libm-test.c: Support platforms without multiple rounding modes.
52432 * math/bug-nextafter.c: Support platforms without FP exceptions.
52433 * math/bug-nexttoward.c: Likewise.
52434 * math/test-fenv.c: Likewise.
52435 * math/test-misc.c: Likewise.
52436 * stdlib/bug-getcontext.c: Likewise.
52437
52438 2012-05-17 Andreas Jaeger <aj@suse.de>
52439
52440 * manual/examples/search.c (critter_cmp): Change signature to
52441 avoid warnings.
52442 * manual/string.texi (Collation Functions): Likewise.
52443
52444 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52445
52446 * bits/types.h: Fold copyright years.
52447 * bits/typesizes.h: Likewise.
52448 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
52449 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
52450 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
52451 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
52452 * time/time.h: Likewise.
52453
52454 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
52455
52456 [BZ #208]
52457 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
52458 in instead of returning them. Return void.
52459 (__libc_mallinfo): Accumulate over all arenas.
52460 (__malloc_stats): Adjust for change in int_mallinfo interface.
52461
52462 2012-05-16 Roland McGrath <roland@hack.frob.com>
52463
52464 [BZ #10375]
52465 * configure.in (NM): Add AC_CHECK_TOOL for it.
52466 (libc_extra_cflags): New substituted variable.
52467 Check for -fstack-protector being used implicitly.
52468 * configure: Regenerated.
52469 * config.make.in (config-extra-cflags): New variable,
52470 gets @libc_extra_cflags@.
52471 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
52472
52473 [BZ #10375]
52474 * configure.in: Check for _FORTIFY_SOURCE being predefined.
52475 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
52476 * configure: Regenerated.
52477 * config.make.in (CPPUNDEFS): New substituted variable.
52478 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
52479 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
52480 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
52481
52482 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52483
52484 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
52485 (mq_attr): Use __syscall_slong_t.
52486
52487 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52488
52489 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
52490 Check __x86_64__ instead of __WORDSIZE.
52491 (_STAT_VER_LINUX): Likewise.
52492 (stat): Check __x86_64__ instead of __WORDSIZE. Use
52493 __syscall_ulong_t and __syscall_slong_t.
52494 (stat64): Likewise.
52495
52496 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52497
52498 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
52499
52500 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52501
52502 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
52503
52504 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52505
52506 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
52507 __syscall_ulong_t.
52508
52509 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
52510 include <bits/wordsize.h>. Check __x86_64__ instead of
52511 __WORDSIZE.
52512 (greg_t): Use "__extension__ long long int" if __x86_64__ is
52513 defined.
52514 (mcontext_t): Replace "unsigned long" with "unsigned long long".
52515
52516 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
52517 include <bits/wordsize.h>. Check __x86_64__ instead of
52518 __WORDSIZE.
52519 (user_regs_struct): Use "__extension__ unsigned long long"
52520 instead of "unsigned long" if __x86_64__ is defined.
52521 (user): Likewise. Pad after pointer field if __ILP32__ is
52522 defined.
52523
52524 2012-05-16 Joseph Myers <joseph@codesourcery.com>
52525
52526 * configure.in (makeinfo): Require version 4.5 or later. Allow
52527 versions 5 to 9.
52528 * configure: Regenerated.
52529 * manual/install.texi (texinfo): Increase version requirement to
52530 4.5 or later.
52531 * INSTALL: Regenerated.
52532
52533 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
52534
52535 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
52536
52537 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
52538
52539 * sysdeps/x86_64/x32/ffs.c: New file.
52540
52541 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
52542 __syscall_ulong_t.
52543 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
52544 defined. Use __syscall_ulong_t.
52545 (shminfo): Use __syscall_ulong_t.
52546 (shm_info): Likewise.
52547
52548 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
52549 __syscall_ulong_t.
52550
52551 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
52552 <bits/wordsize.h>.
52553 (msgqnum_t): Use __syscall_ulong_t.
52554 (msglen_t): Likewise.
52555 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
52556 __syscall_ulong_t.
52557
52558 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
52559 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52560
52561 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
52562
52563 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
52564 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
52565
52566 * sysvipc/sys/msg.h (msgbuf): Replace long int with
52567 __syscall_slong_t.
52568
52569 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
52570 include <bits/wordsize.h>. Check __x86_64__ instead of
52571 __WORDSIZE.
52572
52573 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
52574 "unsigned long long int" if __x86_64__ is defined.
52575 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
52576
52577 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
52578 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
52579 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
52580
52581 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
52582 <stdint.h>.
52583 (GET_PC): Cast to uintptr_t first.
52584 (GET_FRAME): Likewise.
52585 (GET_STACK): Likewise.
52586
52587 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
52588 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
52589 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
52590 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
52591 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
52592 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
52593 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
52594 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
52595 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
52596 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
52597 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
52598 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
52599 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
52600 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
52601 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
52602 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
52603 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
52604 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
52605 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
52606 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
52607 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
52608 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
52609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
52610 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
52611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
52612 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
52613 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
52614 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
52615 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
52616
52617 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
52618
52619 * Makerules (+depfiles): Also collect depfiles from .oS in
52620 $(extra-objs).
52621 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
52622 .oS, $(libnldbl-routines)).
52623
52624 * Makerules (native-compile-mkdep-flags): Define.
52625 * sunrpc/Makefile (extra-objs): Add $(addprefix
52626 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
52627 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
52628 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
52629 calling $(make-target-directory).
52630
52631 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52632
52633 * bits/types.h (__snseconds_t): Removed.
52634 * time/time.h (struct timespec): Replace __snseconds_t with
52635 __syscall_slong_t.
52636 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
52637 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
52638 Likewise.
52639 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52640 (__SNSECONDS_T_TYPE): Likewise.
52641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52642 (__SNSECONDS_T_TYPE): Likewise.
52643 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52644 (__SNSECONDS_T_TYPE): Likewise.
52645
52646 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52647
52648 * sysdeps/mach/hurd/bits/typesizes.h
52649 (__SYSCALL_SLONG_TYPE): New macro.
52650 (__SYSCALL_ULONG_TYPE): Likewise.
52651
52652 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52653
52654 * bits/types.h (__syscall_slong_t): New type.
52655 (__syscall_ulong_t): Likewise.
52656
52657 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
52658 (__SYSCALL_ULONG_TYPE): Likewise.
52659 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
52660 (__SYSCALL_SLONG_TYPE): Likewise.
52661 (__SYSCALL_ULONG_TYPE): Likewise.
52662 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
52663 (__SYSCALL_SLONG_TYPE): Likewise.
52664 (__SYSCALL_ULONG_TYPE): Likewise.
52665 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
52666 (__SYSCALL_SLONG_TYPE): Likewise.
52667 (__SYSCALL_ULONG_TYPE): Likewise.
52668
52669 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52670
52671 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
52672 Add sigaltstack-offsets.sym.
52673 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
52674 <sigaltstack-offsets.h>.
52675 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
52676 longjmp_msg pointer.
52677 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
52678 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
52679 signal stack.
52680 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
52681
52682 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52683
52684 * elf/stackguard-macros.h: Remove file.
52685 * sysdeps/generic/stackguard-macros.h: New file.
52686 * sysdeps/i386/stackguard-macros.h: Likewise.
52687 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
52688 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
52689 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
52690 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
52691 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
52692 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
52693 * sysdeps/x86_64/stackguard-macros.h: Likewise.
52694 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
52695 <elf/stackguard-macros.h>.
52696
52697 [BZ #14109]
52698 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
52699 __aligned__ in attribute.
52700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
52701 (gregset_t): Likewise.
52702
52703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52704
52705 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
52706 * sysdeps/x86_64/64/Implies-after: Here. New file.
52707 * sysdeps/x86_64/x32/Implies-after: New file.
52708
52709 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52710
52711 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
52712 and access return value for _dl_profile_fixup. Use R10_LP to
52713 load frame size.
52714
52715 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52716
52717 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
52718
52719 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52720
52721 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
52722 * sysdeps/x86_64/x32/sysdep.h: New file.
52723
52724 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52725
52726 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
52727 * sysdeps/x86_64/setjmp.S: Likewise.
52728
52729 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52730
52731 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
52732 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
52733 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
52734 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
52735 remove unused global constant.
52736
52737 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
52738
52739 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
52740 include of <not-cancel.h>.
52741
52742 2012-05-15 Roland McGrath <roland@hack.frob.com>
52743
52744 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
52745
52746 2012-05-15 Jeff Law <law@redhat.com>
52747 Andreas Jaeger <aj@suse.de>
52748
52749 [BZ #13594]
52750 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
52751 out from...
52752 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
52753 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
52754 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
52755 code changing __hst_map_handle.map.
52756
52757 2012-05-15 Roland McGrath <roland@hack.frob.com>
52758
52759 * configure.in (sysnames): Look for Implies-before and Implies-after
52760 files.
52761 * configure: Regenerated.
52762
52763 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52764
52765 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
52766 8-byte data alignment with LP_SIZE alignment.
52767
52768 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52769
52770 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
52771 into R10_LP.
52772
52773 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52774
52775 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
52776
52777 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52778
52779 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
52780 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
52781 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
52782 Likewise.
52783 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
52784
52785 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52786
52787 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
52788 (stackinfo_sub_sp): Likewise.
52789
52790 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52791
52792 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
52793 RAX_LP.
52794
52795 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52796
52797 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
52798 into R*_LP.
52799
52800 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52801
52802 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
52803 sizes into R*_LP.
52804
52805 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52806
52807 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
52808
52809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52810
52811 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
52812 into R11_LP and load __x86_64_shared_cache_size_half into
52813 R8_LP.
52814
52815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
52816
52817 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
52818 R8_LP.
52819
52820 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52821
52822 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
52823 logb for POWER7.
52824 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
52825 logbf for POWER7.
52826 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
52827 logbl for POWER7.
52828 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
52829 powerpc32/power7/fpu/s_logb.c via #include.
52830 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
52831 powerpc32/power7/fpu/s_logbf.c via #include.
52832 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
52833 powerpc32/power7/fpu/s_logbl.c via #include.
52834
52835 2012-05-15 Joseph Myers <joseph@codesourcery.com>
52836
52837 * README.libm: Remove file.
52838
52839 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52840
52841 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
52842 count for x32. Use R*_LP and omit operand-size suffix.
52843
52844 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52845
52846 * shlib-versions: Move x86_64-.*-linux.* entries to ...
52847 * sysdeps/x86_64/64/shlib-versions: Here. New file.
52848 * sysdeps/x86_64/x32/shlib-versions: New file.
52849
52850 2012-05-14 Roland McGrath <roland@hack.frob.com>
52851
52852 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
52853 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
52854 Use _dl_fatal_printf instead.
52855
52856 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52857
52858 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
52859 set if not set by the user. Do not allow for being unset.
52860 * sysdeps/unix/sysv/linux/configure: Regenerated.
52861
52862 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52863
52864 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
52865 the `q' suffix from lea and replace .quad with ASM_ADDR.
52866
52867 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52868
52869 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
52870 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
52871 instead of $17.
52872 (PTR_DEMANGLE): Likewise.
52873
52874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52875
52876 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
52877 (LP_OP): Likewise.
52878 (ASM_ADDR): Likewise.
52879 (RAX_LP): Likewise.
52880 (RBP_LP): Likewise.
52881 (RBX_LP): Likewise.
52882 (RCX_LP): Likewise.
52883 (RDI_LP): Likewise.
52884 (RSI_LP): Likewise.
52885 (RSP_LP): Likewise.
52886 (R8_LP): Likewise.
52887 (R9_LP): Likewise.
52888 (R10_LP): Likewise.
52889 (R10_LP): Likewise.
52890 (R11_LP): Likewise.
52891 (R12_LP): Likewise.
52892 (R13_LP): Likewise.
52893 (R14_LP): Likewise.
52894 (R15_LP): Likewise.
52895
52896 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
52897
52898 * sysdeps/x86_64/x32/dl-machine.h: New file.
52899
52900 2012-05-14 Andreas Jaeger <aj@suse.de>
52901
52902 * manual/Makefile (subdir): Remove export of subdir.
52903 (all): Remove target.
52904 (.PHONY): Remove all from list.
52905 (mkinstalldirs): Remove.
52906 (.PHONY): Remove installdirs from list.
52907 ($(inst_infodir)/libc.info): Use make-target-directory.
52908 (installdirs): Remove.
52909 (subdir_%): Remove.
52910 (glibc-targets): Remove.
52911 (lib): Remove.
52912 (stubs): Remove.
52913 ($(objpfx)stubs ../po/manual.pot): Remove.
52914 ($(objpfx)stamp%): Remove.
52915 (make-target-directory): Remove.
52916 (subdir_install): Remove.
52917 (routines): Remove.
52918 (aux): Remove.
52919 (sources): Remove.
52920 (objects): Remove.
52921 (headers): Remove.
52922
52923 [BZ #13750]
52924 * manual/.gitignore: Remove, it's not needed anymore.
52925 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
52926 all files in it.
52927 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
52928 directory.
52929 (texis): Renamed to $(objpfx)texis.
52930 (texis-path): New, contains path to generated files.
52931 (chapters.%): Use texis-path for complete path, add extra argument
52932 libc-texinfo.sh.
52933 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
52934 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
52935 (summary,texi, stamp-summary): Use complete path of
52936 files. Generate files in build dir.
52937 (dir-add.texi): Build in build dir.
52938 (libm-err.texi,stamp-libm-err): Likewise.
52939 (version.texi, stamp-version): Likewise.
52940 (.%c.texi): Likewise.
52941 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
52942 (mostlyclean): Remove target.
52943 (realclean): Remove target.
52944 (generated): Add new variable with contents from mostlyclean and
52945 realclean, remove entries duplicated in common-mostlyclean, add
52946 stamp-libm-err and stamp-version.
52947 (generated-dirs): Add libc directory.
52948 ($(inst_infodir)/libc.info): Install files from build dir.
52949
52950 * manual/install.texi (Configuring and compiling): Adjust since
52951 the info files are not part of the tar ball anymore.
52952
52953 2012-05-14 Andreas Jaeger <aj@suse.de>
52954
52955 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
52956 variable.
52957
52958 2012-05-14 Joseph Myers <joseph@codesourcery.com>
52959
52960 [BZ #13717]
52961 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
52962 to 2.2.0 where earlier.
52963 * sysdeps/unix/sysv/linux/configure: Regenerated.
52964 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
52965 Remove conditional code.
52966 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
52967 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
52968 Remove conditional code.
52969 [!__NR_lchown]: Likewise.
52970 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
52971 [__NR_lchown]: Likewise.
52972 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
52973 comment referencing __ASSUME_LCHOWN_SYSCALL.
52974 * sysdeps/unix/sysv/linux/i386/sigaction.c
52975 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
52976 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
52977 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
52978 Remove conditional code.
52979 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
52980 (__protocol_available): Remove #if 0 code.
52981 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
52982 conditional code.
52983 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
52984 * sysdeps/unix/sysv/linux/kernel-features.h
52985 (__ASSUME_GETCWD_SYSCALL): Don't define.
52986 (__ASSUME_REALTIME_SIGNALS): Likewise.
52987 (__ASSUME_PREAD_SYSCALL): Likewise.
52988 (__ASSUME_PWRITE_SYSCALL): Likewise.
52989 (__ASSUME_POLL_SYSCALL): Likewise.
52990 (__ASSUME_LCHOWN_SYSCALL): Likewise.
52991 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
52992 non-SPARC.
52993 (__ASSUME_SIOCGIFNAME): Don't define.
52994 (__ASSUME_MSG_NOSIGNAL): Likewise.
52995 (__ASSUME_SENDFILE): Define unconditionally.
52996 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
52997 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
52998 conditional code.
52999 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
53000 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
53001 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53002 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53003 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
53004 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
53005 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
53006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
53007 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53008 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
53010 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
53013 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53014 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
53016 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53017 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
53019 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53020 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
53022 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
53023 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
53025 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53026 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
53028 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53029 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53030 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
53031 Remove conditional code.
53032 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53033 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
53034 Remove conditional code.
53035 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53036 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
53037 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
53038 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
53039 Remove conditional code.
53040 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53041 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
53042 Remove conditional code.
53043 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53044 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
53045 Remove conditional code.
53046 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53047 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
53048 Remove conditional code.
53049 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
53050 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
53051 Remove conditional code.
53052 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53053 * sysdeps/unix/sysv/linux/sh/pwrite64.c
53054 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
53055 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
53056 * sysdeps/unix/sysv/linux/sigaction.c
53057 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53058 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53059 * sysdeps/unix/sysv/linux/sigpending.c
53060 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53061 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53062 * sysdeps/unix/sysv/linux/sigprocmask.c
53063 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53064 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53065 * sysdeps/unix/sysv/linux/sigsuspend.c
53066 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
53067 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
53068 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
53069 (__libc_missing_rt_sigs): Remove.
53070 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
53071 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
53072 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
53073 Remove conditional code.
53074 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
53075 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
53076 return 1.
53077 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
53078 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
53079 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
53080 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
53081
53082 2012-05-14 Andreas Jaeger <aj@suse.de>
53083
53084 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
53085 it's not used in glibc.
53086 (__coshm1): Likewise.
53087 (__acosh1p): Likewise.
53088 (__sgn): Likewise.
53089
53090 * manual/string.texi (Copying and Concatenation): Add missing
53091 variable in concat example.
53092 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
53093
53094 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53095
53096 [BZ #14103]
53097 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
53098 __builtin_clzl with __builtin_clzll.
53099
53100 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
53101
53102 [BZ #14104]
53103 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
53104 libc_freeres_ptr.
53105
53106 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53107
53108 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
53109 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
53110 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
53111 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
53112
53113 2012-05-14 Mike Frysinger <vapier@gentoo.org>
53114
53115 * NEWS: Update ia64 info.
53116
53117 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
53118
53119 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
53120 used as bcopy.
53121
53122 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
53123
53124 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
53125 * sysdeps/unix/syscalls.list (dup3): Likewise.
53126 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
53127 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
53128
53129 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
53130
53131 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
53132 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
53133
53134 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
53135
53136 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
53137 thread pointer.
53138 (TLS_IE): Use mov/add instead of movq/addq to load thread
53139 pointer.
53140 (TLS_GD_PREFIX): New.
53141 (TLS_GD): Use it.
53142
53143 2012-05-11 David S. Miller <davem@davemloft.net>
53144
53145 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
53146 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
53147 (_FPU_SETCW): Likewise.
53148
53149 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53150
53151 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
53152 is 32-byte aligned.
53153
53154 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
53155
53156 [BZ #11837]
53157 * iconvdata/gb18030.c: Update tables.
53158 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
53159 characters specially.
53160 (BODY for TO_LOOP): Add encoding of missing ranges.
53161
53162 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
53163
53164 [BZ #13673]
53165 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
53166 * sysdeps/mach/hurd/dup3.c: Likewise.
53167 * sysdeps/mach/hurd/readlinkat.c: Likewise.
53168 * sysdeps/powerpc/memmove.c:: Likewise.
53169
53170 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53171
53172 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
53173 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
53174
53175 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53176
53177 * elf/elf.h (R_X86_64_RELATIVE64): New.
53178 (R_X86_64_NUM): Updated.
53179 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
53180 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
53181 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
53182 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
53183 tst-quad1pie tst-quad2pie
53184 (modules-names): Add tst-quadmod1 tst-quadmod2.
53185 ($(objpfx)tst-quad1): New dependency.
53186 ($(objpfx)tst-quad2): Likewise.
53187 ($(objpfx)tst-quad1pie): Likewise.
53188 ($(objpfx)tst-quad2pie): Likewise.
53189 * sysdeps/x86_64/tst-quad1.c: New file.
53190 * sysdeps/x86_64/tst-quad1pie.c: New file.
53191 * sysdeps/x86_64/tst-quad2.c: Likewise.
53192 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
53193 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
53194 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
53195 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
53196 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
53197
53198 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53199
53200 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
53201 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
53202 * streams/stropts.h (t_scalar_t): Define type.
53203
53204 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
53205 (_PATH_PRESERVE): Set to "/var/lib".
53206 (_PATH_RWHODIR): Set to "/var/spool/rwho".
53207
53208 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
53209 instead of int.
53210
53211 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
53212 if __dir_mkfile succeeded.
53213
53214 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
53215 checking for _hurd_dtablesize. Unlock it right after having
53216 finished _hurd_dtable allocation.
53217
53218 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53219
53220 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
53221 * sysdeps/mach/hurd/configure: Regenerated.
53222 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
53223 special-casing to...
53224 * sysdeps/gnu/configure.in: ... this new file.
53225 * sysdeps/unix/sysv/linux/configure: Regenerated.
53226 * sysdeps/gnu/configure: New generated file.
53227
53228 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
53229 for Linux: use nsec instead of usec, as well as:
53230 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
53231 members of type struct timespec.
53232 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
53233 New macros.
53234 (struct stat64): Likewise.
53235 (_STATBUF_ST_NSEC): New macro.
53236 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
53237
53238 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
53239 __strtoul_internal rather than strtoul.
53240
53241 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
53242
53243 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
53244 and reject them.
53245
53246 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53247
53248 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
53249 which preserves existing values.
53250 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
53251
53252 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
53253
53254 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
53255 TIMEOUT values. Return EINVAL for NFDS values either negative or
53256 greater than FD_SETSIZE.
53257
53258 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53259
53260 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
53261 allocated, call __vm_protect to finish enabling the existing space, and
53262 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
53263 allocate the remainder.
53264
53265 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
53266
53267 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
53268 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
53269
53270 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53271
53272 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
53273 sysdeps/mach/hurd/readlink.c.
53274
53275 * posix/tst-sysconf.c (posix_options): Only use
53276 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
53277 _POSIX_SYNCHRONIZED_IO when they are defined
53278 * sysdeps/mach/hurd/bits/posix_opt.h:
53279 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
53280 (_XOPEN_REALTIME): Undefine macro.
53281 (_XOPEN_REALTIME_THREADS): Undefine macro.
53282 (_XOPEN_SHM): Undefine macro.
53283 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
53284 macro to -1.
53285 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
53286 macro to -1.
53287 (_POSIX_ASYNC_IO): Undefine macro.
53288 (_POSIX_PRIORITIZED_IO): Undefine macro.
53289 (_POSIX_SPIN_LOCKS): Define macro to -1.
53290
53291 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
53292 SA_NODEFER, SA_RESETHAND.
53293 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
53294 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
53295 F_DUPFD_CLOEXEC.
53296
53297 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53298
53299 * elf/Makefile (pldd-modules): Define unconditionally.
53300
53301 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53302
53303 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
53304
53305 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53306
53307 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
53308 Return ENOENT when name is empty.
53309 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
53310
53311 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53312
53313 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
53314
53315 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
53316
53317 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53318
53319 Fix mlock in all cases except non-readable pages.
53320 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
53321 instead of VM_PROT_ALL as parameter to __vm_wire function.
53322
53323 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
53324 (__mkdir): When path is `/', just fail with EEXIST.
53325 * sysdeps/mach/hurd/mkdirat.c: Likewise.
53326
53327 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53328
53329 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
53330 <sys/uio.h> (for writev).
53331 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
53332 and <sys/param.h> (for MIN).
53333
53334 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
53335
53336 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
53337 REQUESTED_TIME. Properly set the remaining time and return EINTR
53338 if interrupted.
53339
53340 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53341
53342 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
53343 Depend on against $(link-rpcuserlibs).
53344
53345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53346
53347 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
53348 (__libc_stack_end): Do not use attribute_relro.
53349 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
53350 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
53351 to libthread-provided value.
53352 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
53353 attribute_relro.
53354
53355 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53356
53357 [BZ #3748]
53358 * bits/libc-lock.h (__libc_once_get): New macro.
53359 * sysdeps/mach/bits/libc-lock.h: Likewise.
53360 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
53361 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
53362 instead of using implementation details.
53363
53364 * libio/fileops.c: Unconditionally include <kernel-features.h>.
53365 * libio/freopen.c: Likewise.
53366 * libio/freopen64.c: Likewise.
53367 * misc/syslog.c: Likewise.
53368 * nscd/connections.c: Likewise.
53369 * nscd/netgroupcache.c: Likewise.
53370 * sysdeps/posix/getcwd.c: Likewise.
53371
53372 2012-05-10 Roland McGrath <roland@hack.frob.com>
53373
53374 * math/w_ilogbf.c: Add #include <limits.h>.
53375
53376 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53377
53378 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
53379 path instead of returning without unlocking.
53380
53381 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
53382 immediate-write ioctls.
53383 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
53384
53385 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53386
53387 * sysdeps/mach/hurd/i386/init-first.c (init): Use
53388 __builtin_frame_address instead of making assumptions about the
53389 location of the return address relative to DATA. Force early load of
53390 the return address.
53391 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
53392 __builtin_frame_address.
53393
53394 dup3 for GNU Hurd.
53395 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
53396 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
53397 implement dup3 and do some further code clean-ups.
53398 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
53399 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
53400
53401 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53402
53403 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
53404
53405 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
53406 HURD_CRITICAL_END around holding _hurd_dtable_lock.
53407 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
53408 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
53409 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
53410 d->port.lock.
53411
53412 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
53413 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
53414 when handler == SIG_ERR, not when handler != SIG_ERR.
53415
53416 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53417
53418 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
53419 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
53420 definitions.
53421
53422 accept4 for GNU Hurd.
53423 * include/sys/socket.h (__libc_accept4): New prototype.
53424 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
53425 to implement __libc_accept4.
53426 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
53427 __libc_accept4.
53428 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
53429
53430 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
53431 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
53432 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
53433 signal-defines.sym.
53434
53435 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53436
53437 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
53438
53439 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
53440
53441 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
53442 assertion on O_CLOEXEC flag.
53443 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
53444 * hurd/intern-fd.c: Likewise.
53445 * hurd/port2fd.c: Likewise.
53446
53447 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
53448
53449 [BZ #3906]
53450 * bits/in.h (IPV6_PKTINFO): Define new macro.
53451 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
53452
53453 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53454
53455 [BZ #13954]
53456 [BZ #13955]
53457 [BZ #13956]
53458 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
53459 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
53460 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
53461 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
53462 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
53463 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
53464 * math/libm-test.inc (logb_test) : Additional logb tests.
53465
53466 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
53467 Andreas Jaeger <aj@suse.de>
53468
53469 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
53470 * configure: Regenerated.
53471 * config.h.in (LINK_OBSOLETE_RPC): New macro.
53472 * config.make.in (link-obsolete-rpc): New substituted variable.
53473 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
53474 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
53475 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53476 (shared-only-routines): Don't set it under [link-obsolete-rpc],
53477 so that libc.a contains the symbols.
53478 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
53479 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
53480 * sunrpc/auth_none.c: Likewise.
53481 * sunrpc/auth_unix.c: Likewise.
53482 * sunrpc/authdes_prot.c: Likewise.
53483 * sunrpc/authuxprot.c: Likewise.
53484 * sunrpc/clnt_gen.c: Likewise.
53485 * sunrpc/clnt_perr.c: Likewise.
53486 * sunrpc/clnt_raw.c: Likewise.
53487 * sunrpc/clnt_simp.c: Likewise.
53488 * sunrpc/clnt_tcp.c: Likewise.
53489 * sunrpc/clnt_udp.c: Likewise.
53490 * sunrpc/clnt_unix.c: Likewise.
53491 * sunrpc/des_crypt.c: Likewise.
53492 * sunrpc/des_soft.c: Likewise.
53493 * sunrpc/get_myaddr.c: Likewise.
53494 * sunrpc/key_call.c: Likewise.
53495 * sunrpc/key_prot.c: Likewise.
53496 * sunrpc/netname.c: Likewise.
53497 * sunrpc/pm_getmaps.c: Likewise.
53498 * sunrpc/pm_getport.c: Likewise.
53499 * sunrpc/pmap_clnt.c: Likewise.
53500 * sunrpc/pmap_prot.c: Likewise.
53501 * sunrpc/pmap_prot2.c: Likewise.
53502 * sunrpc/pmap_rmt.c: Likewise.
53503 * sunrpc/publickey.c: Likewise.
53504 * sunrpc/rpc_cmsg.c: Likewise.
53505 * sunrpc/rpc_common.c: Likewise.
53506 * sunrpc/rpc_dtable.c: Likewise.
53507 * sunrpc/rpc_prot.c: Likewise.
53508 * sunrpc/rpc_thread.c: Likewise.
53509 * sunrpc/rtime.c: Likewise.
53510 * sunrpc/svc.c: Likewise.
53511 * sunrpc/svc_auth.c: Likewise.
53512 * sunrpc/svc_raw.c: Likewise.
53513 * sunrpc/svc_run.c: Likewise.
53514 * sunrpc/svc_tcp.c: Likewise.
53515 * sunrpc/svc_udp.c: Likewise.
53516 * sunrpc/svc_unix.c: Likewise.
53517 * sunrpc/svcauth_des.c: Likewise.
53518 * sunrpc/xcrypt.c: Likewise.
53519 * sunrpc/xdr.c: Likewise.
53520 * sunrpc/xdr_array.c: Likewise.
53521 * sunrpc/xdr_float.c: Likewise.
53522 * sunrpc/xdr_intXX_t.c: Likewise.
53523 * sunrpc/xdr_mem.c: Likewise.
53524 * sunrpc/xdr_rec.c: Likewise.
53525 * sunrpc/xdr_ref.c: Likewise.
53526 * sunrpc/xdr_sizeof.c: Likewise.
53527 * sunrpc/xdr_stdio.c: Likewise.
53528
53529 2012-05-10 Roland McGrath <roland@hack.frob.com>
53530
53531 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
53532 change. Update copyright years.
53533
53534 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53535
53536 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
53537
53538 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
53539 Joseph Myers <joseph@codesourcery.com>
53540 Paul Pluzhnikov <ppluzhnikov@google.com>
53541
53542 [BZ #14012]
53543 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
53544 requiring rpcgen.
53545 [cross-compiling] (extra-libs): Likewise.
53546 [cross-compiling] (extra-libs-others): Likewise.
53547 [cross-compiling] (librpcsvc-routines): Likewise.
53548 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
53549 [cross-compiling] (omit-deps): Likewise.
53550 (sunrpc-CPPFLAGS): New variable.
53551 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
53552 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
53553 (cross-rpcgen-objs): New variable.
53554 (extra-objs): Append $(cross-rpcgen-objs).
53555 ($(cross-rpcgen-objs)): New rule.
53556 ($(objpfx)cross-rpcgen): Likewise.
53557 (rpcgen-cmd): Define to use $(built-program-file). Expand
53558 comment.
53559 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
53560 ($(objpfx)x%.stmp): Likewise.
53561 * sunrpc/proto.h [IS_IN_build] (_): Define.
53562 [IS_IN_build] (_libc_intl_domainname): Likewise.
53563
53564 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
53565
53566 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
53567 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
53568 and R_X86_64_TPOFF64.
53569
53570 2012-05-10 Joseph Myers <joseph@codesourcery.com>
53571
53572 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
53573 sysdeps/unix/sysv/syscalls.list.
53574 (stime): Likewise.
53575 (utime): Likewise.
53576 * sysdeps/unix/sysv/syscalls.list: Remove file.
53577
53578 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
53579
53580 [BZ #3440]
53581 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
53582 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
53583 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
53584 (__LC_IDENTIFICATION): Make these macros useful in #if
53585 expressions, as required by C99.
53586
53587 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
53588
53589 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
53590 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
53591 after this.
53592
53593 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
53594
53595 * stdlib/longlong.h: Updated from GCC.
53596
53597 2012-05-09 Andreas Jaeger <aj@suse.de>
53598
53599 * nscd/nscd.c (run_modes): Make named enum, reorder so that
53600 default is first entry.
53601 (run_mode): Set type.
53602 (main): Remove informal message about syslog.
53603 (options): Fix typo.
53604
53605 [BZ #14053]
53606 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
53607 to asm.
53608 (lrint): Likewise.
53609 (llrintf): Likewise.
53610 (llrint): Likewise.
53611 (rint): Likewise.
53612 (rintf): Likewise.
53613 (nearbyint): Likewise.
53614 (nearbyintf): Likewise.
53615
53616 2012-05-09 Andreas Jaeger <aj@suse.de>
53617 Pedro Alves <palves@redhat.com>
53618
53619 * nscd/nscd.c (run_mode): Use enum.
53620 (main): Cleanup coding style issue.
53621
53622 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
53623 Andreas Jaeger <aj@suse.de>
53624
53625 * nscd/nscd.c (go_background): Replaced with...
53626 (run_mode): ... this.
53627 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
53628 (options): Add -F --foreground.
53629 (main): Implement it.
53630 (parse_opt): Parse it.
53631
53632 2012-05-09 Andreas Jaeger <aj@suse.de>
53633
53634 [BZ #14083]
53635 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
53636 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
53637 -Wconversion warning.
53638 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
53639 Likewise.
53640
53641 2012-05-09 Joseph Myers <joseph@codesourcery.com>
53642
53643 * conform/data/locale.h-data (NULL): Use macro-constant. Require
53644 == 0.
53645 (LC_ALL): Use macro-int-constant.
53646 (LC_COLLATE): Likewise.
53647 (LC_CTYPE): Likewise.
53648 (LC_MESSAGES): Likewise.
53649 (LC_MONETARY): Likewise.
53650 (LC_NUMERIC): Likewise.
53651 (LC_TIME): Likewise.
53652 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
53653 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53654 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53655 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
53656 Specify type.
53657 [C99-based standards] (float_t): Expect type.
53658 [C99-based standards] (double_t): Expect type.
53659 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
53660 type.
53661 [C99-based standards] (HUGE_VALL): Likewise.
53662 [C99-based standards] (INFINITY): Likewise.
53663 [C99-based standards] (NAN): Likewise.
53664 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
53665 [C99-based standards] (FP_NAN): Likewise.
53666 [C99-based standards] (FP_NORMAL): Likewise.
53667 [C99-based standards] (FP_SUBNORMAL): Likewise.
53668 [C99-based standards] (FP_ZERO): Likewise.
53669 [C99-based standards] (FP_FAST_FMA): Use
53670 optional-macro-int-constant. Specify type. Require == 1.
53671 [C99-based standards] (FP_FAST_FMAF): Likewise.
53672 [C99-based standards] (FP_FAST_FMAL): Likewise.
53673 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
53674 [C99-based standards] (FP_ILOGBNAN): Likewise.
53675 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
53676 Specify type.
53677 [C99-based standards] (MATH_ERREXCEPT): Likewise.
53678 [C99-based standards] (math_errhandling): Specify type.
53679 [ISO99 || ISO11] (signgam): Do not allow.
53680 [non-C99-based standards] (copysignf): Do not allow.
53681 [non-C99-based standards] (exp2f): Likewise.
53682 [non-C99-based standards] (log2f): Likewise.
53683 [non-C99-based standards] (modff): Allow.
53684 [non-C99-based standards] (erff): Do not allow.
53685 [non-C99-based standards] (erfcf): Likewise.
53686 [non-C99-based standards] (gammaf): Likewise.
53687 [non-C99-based standards] (hypotf): Likewise.
53688 [non-C99-based standards] (j0f): Likewise.
53689 [non-C99-based standards] (j1f): Likewise.
53690 [non-C99-based standards] (jnf): Likewise.
53691 [non-C99-based standards] (lgammaf): Likewise.
53692 [non-C99-based standards] (tgammaf): Likewise.
53693 [non-C99-based standards] (y0f): Likewise.
53694 [non-C99-based standards] (y1f): Likewise.
53695 [non-C99-based standards] (ynf): Likewise.
53696 [non-C99-based standards] (isnanf): Likewise.
53697 [non-C99-based standards] (acoshf): Likewise.
53698 [non-C99-based standards] (asinhf): Likewise.
53699 [non-C99-based standards] (atanhf): Likewise.
53700 [non-C99-based standards] (cbrtf): Likewise.
53701 [non-C99-based standards] (expm1f): Likewise.
53702 [non-C99-based standards] (ilogbf): Likewise.
53703 [non-C99-based standards] (log1pf): Likewise.
53704 [non-C99-based standards] (logbf): Likewise.
53705 [non-C99-based standards] (nextafterf): Likewise.
53706 [non-C99-based standards] (remainderf): Likewise.
53707 [non-C99-based standards] (rintf): Likewise.
53708 [non-C99-based standards] (scalbf): Likewise.
53709 [non-C99-based standards] (copysignl): Likewise.
53710 [non-C99-based standards] (exp2l): Likewise.
53711 [non-C99-based standards] (log2l): Likewise.
53712 [non-C99-based standards] (modfl): Allow.
53713 [non-C99-based standards] (erfl): Do not allow.
53714 [non-C99-based standards] (erfcl): Likewise.
53715 [non-C99-based standards] (gammal): Likewise.
53716 [non-C99-based standards] (hypotl): Likewise.
53717 [non-C99-based standards] (j0l): Likewise.
53718 [non-C99-based standards] (j1l): Likewise.
53719 [non-C99-based standards] (jnl): Likewise.
53720 [non-C99-based standards] (lgammal): Likewise.
53721 [non-C99-based standards] (tgammal): Likewise.
53722 [non-C99-based standards] (y0l): Likewise.
53723 [non-C99-based standards] (y1l): Likewise.
53724 [non-C99-based standards] (ynl): Likewise.
53725 [non-C99-based standards] (isnanl): Likewise.
53726 [non-C99-based standards] (acoshl): Likewise.
53727 [non-C99-based standards] (asinhl): Likewise.
53728 [non-C99-based standards] (atanhl): Likewise.
53729 [non-C99-based standards] (cbrtl): Likewise.
53730 [non-C99-based standards] (expm1l): Likewise.
53731 [non-C99-based standards] (ilogbl): Likewise.
53732 [non-C99-based standards] (log1pl): Likewise.
53733 [non-C99-based standards] (logbl): Likewise.
53734 [non-C99-based standards] (nextafterl): Likewise.
53735 [non-C99-based standards] (remainderl): Likewise.
53736 [non-C99-based standards] (rintl): Likewise.
53737 [non-C99-based standards] (scalbl): Likewise.
53738 [ISO || ISO99 || ISO11] (*_t): Do not allow.
53739 [non-C99-based standards] (FP_*): Do not allow.
53740 [C99-based standards] (FP_*): Change to
53741 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
53742 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53743 allow.
53744 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
53745 (SIG_ERR): Likewise.
53746 [X/Open-based standards] (SIG_HOLD): Likewise.
53747 (SIG_IGN): Likewise.
53748 (SIGABRT): Use macro-int-constant. Specify type. Require
53749 positive value.
53750 (SIGFPE): Likewise.
53751 (SIGILL): Likewise.
53752 (SIGINT): Likewise.
53753 (SIGSEGV): Likewise.
53754 (SIGTER): Likewise.
53755 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
53756 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
53757 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
53758 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
53759 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
53760 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
53761 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
53762 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
53763 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
53764 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
53765 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
53766 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
53767 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
53768 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
53769 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
53770 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
53771 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
53772 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
53773 [X/Open-based standards] (SIGTRAP): Likewise.
53774 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
53775 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
53776 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
53777 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
53778 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
53779 allow.
53780
53781 2012-05-08 Ian Wienand <ianw@vmware.com>
53782
53783 [BZ #14080]
53784 * time/tzset.c (__tzset_parse_tz): Update default rules for
53785 daylight time changes in the Energy Policy Act of 2005.
53786
53787 2012-05-09 Andreas Jaeger <aj@suse.de>
53788
53789 [BZ #13983]
53790 * elf/ldconfig.c (parse_conf): Change string to make clear that
53791 ldconfig only issued a warning if ld.so.conf does not exist.
53792
53793 2012-05-08 David S. Miller <davem@davemloft.net>
53794
53795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
53796 movxtod instead of popping the value on the stack.
53797
53798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53799
53800 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
53801
53802 * config.h.in: Add HAVE_ARM_PCS_VFP.
53803
53804 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
53805
53806 [BZ #13979]
53807 * include/features.h: Warn if user requests __FORTIFY_SOURCE
53808 checking but the checks are disabled for any reason.
53809
53810 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
53811
53812 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
53813 and ELF64_R_TYPE with ELFW(R_TYPE).
53814
53815 2012-05-08 Joseph Myers <joseph@codesourcery.com>
53816
53817 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
53818 (ulimit): Likewise.
53819
53820 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
53821 (settimeofday): Likewise.
53822
53823 2012-05-08 Mike Frysinger <vapier@gentoo.org>
53824
53825 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
53826 a struct th_u2 inside the union, and move tu_block/tu_code into
53827 a new th_u3 union of tu_block/tu_code inside of that. Move
53828 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
53829 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
53830 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
53831 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
53832 (th_stuff): Change to th_u1.tu_stuff.
53833 (th_data): Define.
53834 (th_msg): Change to th_u1.th_u2.tu_data.
53835
53836 2012-05-07 David S. Miller <davem@davemloft.net>
53837
53838 * sysdeps/sparc/fpu/libm-test-ulps: Update.
53839
53840 [BZ #14074]
53841 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
53842 (SETUP_PIC_REG): Use it.
53843 (SETUP_PIC_REG_LEAF): Use it.
53844
53845 2012-05-07 Joseph Myers <joseph@codesourcery.com>
53846
53847 [BZ #13885]
53848 [BZ #13923]
53849 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53850 USE_AS_EXPM1L.
53851 (EXPL_FINITE): Likewise.
53852 (FLDLOG): Likewise.
53853 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53854 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53855 e_expl.S.
53856 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53857 USE_AS_EXPM1L.
53858 (EXPL_FINITE): Likewise.
53859 (FLDLOG): Likewise.
53860 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
53861 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
53862 e_expl.S.
53863 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
53864 test of -max_value argument for long double.
53865 * sysdeps/i386/fpu/libm-test-ulps: Update.
53866 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53867
53868 2012-05-06 David S. Miller <davem@davemloft.net>
53869
53870 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
53871 quad soft-float symbols whose references which are compiler
53872 generated.
53873 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53874
53875 2012-05-06 Joseph Myers <joseph@codesourcery.com>
53876
53877 [BZ #13884]
53878 [BZ #13914]
53879 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53880 USE_AS_EXP10L.
53881 (EXPL_FINITE): Likewise.
53882 (FLDLOG): Likewise.
53883 (c0): Likewise.
53884 (c1): Likewise.
53885 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53886 Adjust comments for base varying.
53887 (__expl_finite): Change alias to EXPL_FINITE.
53888 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
53889 e_expl.S.
53890 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
53891 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
53892 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
53893 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
53894 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
53895 USE_AS_EXP10L.
53896 (EXPL_FINITE): Likewise.
53897 (FLDLOG): Likewise.
53898 (c0): Likewise.
53899 (c1): Likewise.
53900 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
53901 Adjust comments for base varying.
53902 (__expl_finite): Change alias to EXPL_FINITE.
53903 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
53904 tests for bugs.
53905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53906
53907 [BZ #14064]
53908 * math/libm-test.inc (check_float_internal): Correct ulp
53909 calculation for subnormal expected results.
53910
53911 2012-05-06 Andreas Jaeger <aj@suse.de>
53912
53913 * Makeconfig (+math-flags): New, set to -frounding-math.
53914 (+cflags): Add +math-flags so that all of glibc gets compiled with
53915 it.
53916
53917 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
53918
53919 2012-05-05 Joseph Myers <joseph@codesourcery.com>
53920
53921 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
53922 Disable one test.
53923
53924 [BZ #13787]
53925 [BZ #13922]
53926 [BZ #14036]
53927 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
53928 (__ieee754_expl): Allow for and saturate large arguments.
53929 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
53930 (u_threshold): Likewise.
53931 (__exp): Call __ieee754_exp before checking for overflow and
53932 underflow.
53933 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
53934 (u_threshold): Likewise.
53935 (__expf): Call __ieee754_expf before checking for overflow and
53936 underflow.
53937 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
53938 (u_threshold): Likewise.
53939 (__expl): Call __ieee754_expl before checking for overflow and
53940 underflow.
53941 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
53942 (__ieee754_expl): Allow for and saturate large arguments.
53943 * math/libm-test.inc (exp_test): Add another test. Do not allow
53944 missing overflow exception on overflow.
53945 (expm1_test): Do not allow missing overflow exception on overflow.
53946
53947 * sysdeps/i386/fpu/e_expl.c: Move to ...
53948 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
53949 rather than using inline asm.
53950 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
53951 * sysdeps/x86_64/fpu/e_expl.S: Copy from
53952 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
53953
53954 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
53955 (nice): Likewise.
53956 (poll): Likewise.
53957 (signal): Likewise.
53958 (time): Likewise.
53959 (times): Likewise.
53960
53961 2012-05-04 Joseph Myers <joseph@codesourcery.com>
53962
53963 * sysdeps/unix/syscalls.list (adjtime): Add entry from
53964 sysdeps/unix/common/syscalls.list.
53965 (fchmod): Likewise.
53966 (fchown): Likewise.
53967 (ftruncate): Likewise.
53968 (getrusage): Likewise.
53969 (gettimeofday): Likewise.
53970 (setpgid): Likewise.
53971 (setregid): Likewise.
53972 (setreuid): Likewise.
53973 (sigaction): Likewise.
53974 (truncate): Likewise.
53975 (vhangup): Likewise.
53976 * sysdeps/unix/common/syscalls.list: Remove file.
53977 * sysdeps/unix/bsd/Implies: Don't include unix/common.
53978 * sysdeps/unix/sysv/linux/Implies: Likewise.
53979
53980 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
53981
53982 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
53983 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
53984 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
53985 Moved to ...
53986 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
53987 Here.
53988 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
53989 to ...
53990 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
53991 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
53992 to ...
53993 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
53994 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
53995 to ...
53996 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
53997 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
53998 to ...
53999 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
54000 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
54001 to ...
54002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
54003 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
54004 to ...
54005 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
54006 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
54007 to ...
54008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54009 Here.
54010 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
54011 to ...
54012 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
54013 Here.
54014 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
54015 to ...
54016 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
54017 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
54018 Moved to ...
54019 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
54020 Here.
54021 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
54022 to ...
54023 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
54024
54025 2012-05-04 Joseph Myers <joseph@codesourcery.com>
54026
54027 * sysdeps/unix/common/bits/dirent.h: Remove file.
54028 * sysdeps/unix/common/bits/fcntl.h: Likewise.
54029
54030 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
54031 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
54032 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
54033 * sysdeps/unix/bsd/isatty.c: Likewise.
54034 * sysdeps/unix/bsd/tcdrain.c: Likewise.
54035 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
54036 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
54037
54038 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54039
54040 [BZ #13563]
54041 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
54042 long double comparison inaccuracies.
54043 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
54044 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54045
54046 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
54047
54048 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
54049 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
54050
54051 2012-05-04 Joseph Myers <joseph@codesourcery.com>
54052
54053 [BZ #14049]
54054 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
54055 nonzero digits before rounding a hex value.
54056 * stdlib/tst-strtod.c (tests): Add another test.
54057
54058 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54059
54060 * sysdeps/s390/fpu/libm-test-ulps: Update.
54061
54062 2012-05-03 Andreas Jaeger <aj@suse.de>
54063
54064 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
54065 does not get optimized out.
54066 (malloc_opt_barrier): New.
54067
54068 2012-05-03 Andreas Jaeger <aj@suse.de>
54069 Roland McGrath <roland@hack.frob.com>
54070
54071 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
54072 intermediate file deletion.
54073 (generated): Add .symlist files.
54074
54075 2012-05-03 Joseph Myers <joseph@codesourcery.com>
54076
54077 [BZ #13775]
54078 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
54079 Redirect under this condition.
54080 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
54081 [__USE_GNU] (__dprintf_chk): Not under this condition.
54082 [__USE_GNU] (__vdprintf_chk): Likewise.
54083 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
54084 under this condition.
54085 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
54086 [__USE_XOPEN2K8] (dprintf): Define under this condition.
54087 [__USE_XOPEN2K8] (vdprintf): Likewise.
54088 [__USE_GNU] (__dprintf_chk): Not under this condition.
54089 [__USE_GNU] (__vdprintf_chk): Likewise.
54090 [__USE_GNU] (dprintf): Likewise.
54091 [__USE_GNU] (vdprintf): Likewise.
54092
54093 2012-05-03 Roland McGrath <roland@hack.frob.com>
54094
54095 * elf/Makefile (common-generated): Set this instead of generated for
54096 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
54097 $(all-built-dso)-derived lists.
54098
54099 2012-05-03 Andreas Jaeger <aj@suse.de>
54100
54101 * sysdeps/i386/fpu/libm-test-ulps: Update.
54102
54103 * FAQ: Removed.
54104 * FAQ.in: Likewise.
54105 * scripts/gen-FAQ.pl: Likewise.
54106 * manual/install.texi (Installation): Point to online location of
54107 FAQ.
54108 * Makefile (files-for-dist): Remove FAQ.
54109 (FAQ): Remove.
54110
54111 2012-05-02 Allan McRae <allan@archlinux.org>
54112
54113 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
54114 (LDFLAGS-reldepmod5.so): Likewise.
54115 (LDFLAGS-reldep6mod1.so): Likewise.
54116 (LDFLAGS-reldep6mod4.so): Likewise.
54117 (LDFLAGS-reldep8mod3.so): Likewise.
54118 (LDFLAGS-unload4mod1.so): Likewise.
54119 (LDFLAGS-unload4mod2.so): Likewise.
54120 (LDFLAGS-tst-initorder): Likewise.
54121 (LDFLAGS-tst-initordera2.so): Likewise.
54122 (LDFLAGS-tst-initordera3.so): Likewise.
54123 (LDFLAGS-tst-initordera4.so): Likewise.
54124 (LDFLAGS-tst-initorderb2.so): Likewise.
54125 (LDFLAGS-noload): Likewise.
54126 (LDFLAGS-next): Likewise.
54127 (LDFLAGS-order2mod1.so): Likewise.
54128 (LDFLAGS-order2mod2.so): Likewise.
54129 (LDFLAGS-tst-initorder2): Likewise.
54130 (LDFLAGS-tst-initorder2a.so): Likewise.
54131 (LDFLAGS-tst-initorder2b.so): Likewise.
54132 (LDFLAGS-tst-initorder2c.so): Likewise.
54133 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
54134
54135 2012-05-02 David S. Miller <davem@davemloft.net>
54136
54137 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54138
54139 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
54140
54141 [BZ #14055]
54142 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
54143
54144 2012-05-02 Andreas Jaeger <aj@suse.de>
54145
54146 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
54147 since we manipulate rounding mode.
54148 (CPPFLAGS-test-idouble.c): Likewise.
54149 (CPPFLAGS-test-ifloat.c): Likewise.
54150 (CFLAGS-test-ldouble.c): Likewise.
54151 (CFLAGS-test-double.c): Likewise.
54152 (CFLAGS-test-float.c): Likewise.
54153 (CFLAGS-test-misc.c): Likewise.
54154 (CFLAGS-test-test-fenv.c): Likewise.
54155
54156 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54157
54158 [BZ #2550]
54159 [BZ #2570]
54160 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
54161 comparisons to determine direction to adjust input.
54162
54163 2012-05-01 Roland McGrath <roland@hack.frob.com>
54164
54165 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
54166 output to the target.
54167
54168 * scripts/localplt.awk: New file.
54169 * elf/Makefile ($(objpfx)check-localplt): Target removed.
54170 (check-localplt-CFLAGS): Variable removed.
54171 ($(all-built-dso:=.jmprel)): New static pattern rule.
54172 (generated): Add those targets.
54173 (localplt-built-dso): New variable.
54174 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
54175
54176 * elf/check-localplt.c: File removed.
54177
54178 * scripts/check-execstack.awk: New file.
54179 * elf/Makefile ($(objpfx)check-execstack): Target removed.
54180 (check-execstack-CFLAGS): Variable removed.
54181 ($(objpfx)check-execstack.h): Target removed.
54182 ($(objpfx)execstack-default): New target.
54183 (generated): Add that instead of check-execstack.h.
54184 ($(all-built-dso:=.phdr)): New static pattern rule.
54185 (generated): Add those targets.
54186 * elf/check-execstack.c: File removed.
54187
54188 * scripts/check-textrel.awk: New file.
54189 * elf/Makefile ($(objpfx)check-textrel): Target removed.
54190 (check-textrel-CFLAGS): Variable removed.
54191 (all-built-dso): Use := to define.o
54192 ($(all-built-dso:=.dyn)): New static pattern rule.
54193 (generated): Add those targets.
54194 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
54195 * config.make.in (READELF): New substituted variable.
54196 * elf/check-textrel.c: File removed.
54197
54198 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54199
54200 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
54201 allow.
54202 * conform/data/ctype.h-data [C99-based standards] (isblank):
54203 Expect function.
54204 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
54205 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
54206 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54207 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
54208 Specify type. Require positive value.
54209 (EILSEQ): Likewise.
54210 (ERANGE): Likewise.
54211 [ISO || POSIX] (EILSEQ): Do not expect.
54212 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
54213 Specify type. Require positive value.
54214 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
54215 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
54216 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
54217 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
54218 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
54219 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
54220 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
54221 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
54222 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
54223 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
54224 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
54225 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
54226 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
54227 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
54228 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
54229 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
54230 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
54231 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
54232 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
54233 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
54234 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
54235 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
54236 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
54237 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
54238 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
54239 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
54240 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
54241 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
54242 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
54243 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
54244 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
54245 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
54246 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
54247 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
54248 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
54249 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
54250 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
54251 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
54252 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
54253 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
54254 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
54255 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
54256 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
54257 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
54258 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
54259 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
54260 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
54261 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
54262 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
54263 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
54264 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
54265 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
54266 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
54267 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
54268 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
54269 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
54270 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
54271 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
54272 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
54273 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
54274 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
54275 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
54276 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
54277 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
54278 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
54279 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
54280 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
54281 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
54282 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
54283 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
54284 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
54285 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
54286 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
54287 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
54288 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
54289 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
54290 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
54291 Require >= 2.
54292 (FLT_ROUNDS): Expect as macro, not constant.
54293 (FLT_MANT_DIG): Use macro-int-constant.
54294 (DBL_MANT_DIG): Likewise.
54295 (LDBL_MANT_DIG): Likewise.
54296 (FLT_DIG): Likewise.
54297 (DBL_DIG): Likewise.
54298 (LDBL_DIG): Likewise.
54299 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
54300 (DBL_MIN_EXP): Likewise.
54301 (LDBL_MIN_EXP): Likewise.
54302 (FLT_MAX_EXP): Use macro-int-constant.
54303 (DBL_MAX_EXP): Likewise.
54304 (LDBL_MAX_EXP): Likewise.
54305 (FLT_MAX_10_EXP): Likewise.
54306 (DBL_MAX_10_EXP): Likewise.
54307 (LDBL_MAX_10_EXP): Likewise.
54308 (FLT_MAX): Use macro-constant.
54309 (DBL_MAX): Likewise.
54310 (LDBL_MAX): Likewise.
54311 (FLT_EPSILON): Use macro-constant. Give upper bound.
54312 (DBL_EPSILON): Likewise.
54313 (LDBL_EPSILON): Likewise.
54314 (FLT_MIN): Likewise.
54315 (DBL_MIN): Likewise.
54316 (LDBL_MIN): Likewise.
54317 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
54318 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
54319 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
54320 [ISO11] (FLT_HAS_SUBNORM): Likewise.
54321 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
54322 [ISO11] (DBL_DECIMAL_DIG): Likewise.
54323 [ISO11] (FLT_DECIMAL_DIG): Likewise.
54324 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
54325 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
54326 [ISO11] (FLT_TRUE_MIN): Likewise.
54327 [ISO11] (LDBL_TRUE_MIN): Likewise.
54328 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54329 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
54330 (SCHAR_MIN): Use macro-int-constant. Specify type.
54331 (SCHAR_MAX): Likewise.
54332 (UCHAR_MAX): Likewise.
54333 (CHAR_MIN): Likewise.
54334 (CHAR_MAX): Likewise.
54335 (MB_LEN_MAX): Use macro-int-constant.
54336 (SHRT_MIN): Use macro-int-constant. Specify type.
54337 (SHRT_MAX): Likewise.
54338 (USHRT_MAX): Likewise.
54339 (INT_MAX): Likewise.
54340 (INT_MIN): Use macro-int-constant. Specify type. Make upper
54341 bound negative.
54342 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
54343 bound with "U".
54344 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
54345 bound with "L".
54346 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
54347 bound negative. Suffix upper bound with "L".
54348 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
54349 bound with "UL".
54350 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
54351 Specify type.
54352 [C99-based standards] (LLONG_MAX): Likewise.
54353 [C99-based standards] (ULLONG_MAX): Likewise.
54354 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
54355 == 0.
54356 [ISO11] (max_align_t): Require type.
54357 [ISO || ISO99 || ISO11] (*_t): Do not allow.
54358
54359 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
54360 from $CFLAGS, without defining away __attribute__ calls.
54361 (checknamespace): Use $CFLAGS_namespace.
54362
54363 * conform/conformtest.pl (@keywords): Only include C99 keywords
54364 for standards based on C99 or C11.
54365
54366 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
54367 Disable tests.
54368 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
54369 UNIX98]: Likewise.
54370
54371 * conform/conformtest.pl: Handle "macro-int-constant" and test for
54372 usability of symbols in #if.
54373
54374 * conform/conformtest.pl: If macro or constant types start
54375 "promoted:", expect the symbol to be of the following type
54376 promoted by the integer promotions.
54377
54378 * conform/conformtest.pl: Parse all "constant" and "macro" lines
54379 in one place. Also handle "macro-constant".
54380
54381 * conform/conformtest.pl: Only accept expected macro values with
54382 "==". Parse all "macro" lines in one place.
54383 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
54384
54385 * conform/conformtest.pl: Handle braced types on "constant" lines
54386 instead of handling "typed-constant".
54387 * conform/data/signal.h-data: Use "constant" instead of
54388 "typed-constant".
54389
54390 * conform/conformtest.pl: Handle "optional-" at start of lines in
54391 one place rather than duplicating several cases. Handle each
54392 format of "macro" line with initial "optional-".
54393
54394 * conform/conformtest.pl: Only accept expected constant or
54395 optional-constant values with "==". Parse all "constant" lines in
54396 one place. Parse all "optional-constant" lines in one place.
54397 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
54398 * conform/data/fmtmsg.h-data: Likewise.
54399 * conform/data/netinet/in.h-data: Likewise.
54400 * conform/data/tar.h-data: Likewise.
54401 * conform/data/limits.h-data: Use "==" form on "constant" and
54402 "optional-constant" lines.
54403
54404 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
54405 Use -std=c99 for XOPEN2K.
54406 (@knownproblems): Remove.
54407 (newtoken): Don't check %isknown.
54408
54409 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
54410 Do not expect macro.
54411 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
54412 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
54413 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
54414 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
54415 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
54416 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
54417 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
54418 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
54419 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
54420 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
54421 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
54422 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
54423 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
54424 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
54425 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
54426 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
54427 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
54428 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
54429 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
54430 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
54431 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
54432 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
54433 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
54434 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
54435 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
54436 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
54437 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
54438 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
54439 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
54440 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
54441 [XPG3] (acosh): Likewise.
54442 [XPG3] (asinh): Likewise.
54443 [XPG3] (atanh): Likewise.
54444 [XPG3] (cbrt): Likewise.
54445 [XPG3] (expm1): Likewise.
54446 [XPG3] (ilogb): Likewise.
54447 [XPG3] (log1p): Likewise.
54448 [XPG3] (logb): Likewise.
54449 [XPG3] (nextafter): Likewise.
54450 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
54451 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
54452 [XPG3] (remainder): Likewise.
54453 [XPG3] (rint): Likewise.
54454 [XPG3 || XPG4 || UNIX98] (round): Likewise.
54455 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
54456 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
54457 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
54458 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
54459 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
54460 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
54461 [UNIX98 || XOPEN2K] (scalb): Expect.
54462 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
54463 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
54464 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
54465 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
54466 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
54467 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
54468 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
54469 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
54470 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
54471 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
54472 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
54473 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
54474 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
54475 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
54476 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
54477 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
54478 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
54479 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
54480 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
54481 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
54482 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
54483 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
54484 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
54485 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
54486 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
54487 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
54488 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
54489 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
54490 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
54491 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
54492 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
54493 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
54494 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
54495 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
54496 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
54497 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
54498 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
54499 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
54500 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
54501 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
54502 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
54503 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
54504 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
54505 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
54506 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
54507 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
54508 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
54509 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
54510 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
54511 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
54512 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
54513 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
54514 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
54515 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
54516 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
54517 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
54518 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
54519 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
54520 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
54521 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
54522 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
54523 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
54524 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
54525 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
54526 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
54527 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
54528 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
54529 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
54530 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
54531 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
54532 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
54533 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
54534 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
54535 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
54536 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
54537 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
54538 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
54539 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
54540 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
54541 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
54542 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
54543 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
54544 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
54545 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
54546 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
54547 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
54548 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
54549 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
54550 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
54551 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
54552 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
54553 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
54554 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
54555 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
54556 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
54557 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
54558 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
54559 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
54560 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
54561 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
54562 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
54563 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
54564 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
54565 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
54566 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
54567 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
54568 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
54569 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
54570 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
54571 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
54572 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
54573 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
54574 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
54575 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
54576 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
54577 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
54578 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
54579 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
54580 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
54581 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
54582 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
54583 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
54584 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
54585 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
54586 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
54587 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
54588 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
54589 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
54590 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
54591 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
54592 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
54593 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
54594 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
54595 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
54596 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
54597 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
54598 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
54599
54600 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
54601 _XOPEN_SOURCE_EXTENDED for XPG4.
54602
54603 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
54604
54605 * Makeconfig (localtime): Remove variable.
54606 (inst_localtime-file): Likewise.
54607
54608 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54609
54610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
54611 Update.
54612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
54613 Update.
54614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
54615 Update.
54616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54617 Update.
54618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
54619 Update.
54620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
54621 Update.
54622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
54623 Update.
54624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
54625 Update.
54626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54627 Update.
54628
54629 2012-05-01 Joseph Myers <joseph@codesourcery.com>
54630
54631 [BZ #2550]
54632 [BZ #2570]
54633 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
54634 comparisons to determine direction to adjust input.
54635 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
54636 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
54637 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
54638 Likewise.
54639 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
54640 Likewise.
54641 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
54642 Likewise.
54643 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
54644 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
54645 Likewise.
54646 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
54647 Likewise.
54648 * math/libm-test.inc (nexttoward_test): Add more tests.
54649
54650 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
54651
54652 [BZ #14040]
54653 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
54654 in version GLIBC_2.1, not GLIBC_2.0.
54655 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
54656 Likewise.
54657
54658 2012-04-30 Joseph Myers <joseph@codesourcery.com>
54659
54660 [BZ #13942]
54661 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
54662 (1 - x) * (1 + x).
54663 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54664 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
54665 * math/libm-test.inc (acos_test): Add more tests.
54666 (asin_test): Likewise.
54667 * sysdeps/i386/fpu/libm-test-ulps: Update.
54668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54669
54670 [BZ #14034]
54671 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
54672 of square root.
54673 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
54674 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
54675 * math/libm-test.inc (acos_test_tonearest): New function.
54676 (acos_test_towardzero): Likewise.
54677 (acos_test_downward): Likewise.
54678 (acos_test_upward): Likewise.
54679 (asin_test_tonearest): Likewise.
54680 (asin_test_towardzero): Likewise.
54681 (asin_test_downward): Likewise.
54682 (asin_test_upward): Likewise.
54683 (main): Call the new functions.
54684 * sysdeps/i386/fpu/libm-test-ulps: Update.
54685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54686
54687 [BZ #13884]
54688 [BZ #13924]
54689 * math/e_exp10.c: Include <float.h>.
54690 (__ieee754_exp10): Handle underflow here rather than multiplying
54691 large negative argument by M_LN10.
54692 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
54693 of __ieee754_expf.
54694 * math/e_exp10l.c: Include <float.h>.
54695 (__ieee754_exp10l): Handle underflow here rather than multiplying
54696 large negative argument by M_LN10l.
54697 * math/libm-test.inc (exp10_test): Add another test. Do not allow
54698 spurious overflow exception on underflow.
54699
54700 2012-04-29 Marek Polacek <polacek@redhat.com>
54701
54702 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
54703 (__fortify_function): New macro.
54704 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
54705 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
54706 __extern_always_inline.
54707 * libio/bits/stdio2.h: Likewise.
54708 * libio/bits/stdio.h: Likewise.
54709 * string/string.h: Likewise.
54710 * string/bits/string3.h: Likewise.
54711 * include/stdio.h: Likewise.
54712 * stdlib/bits/stdlib.h: Likewise.
54713 * stdlib/stdlib.h: Likewise.
54714 * rt/bits/mqueue2.h: Likewise.
54715 * rt/mqueue.h: Likewise.
54716 * posix/bits/unistd.h: Likewise.
54717 * posix/unistd.h: Likewise.
54718 * io/bits/poll2.h: Likewise.
54719 * io/bits/fcntl2.h: Likewise.
54720 * io/fcntl.h: Likewise.
54721 * io/sys/poll.h: Likewise.
54722 * misc/bits/syslog.h: Likewise.
54723 * misc/bits/syslog-ldbl.h: Likewise.
54724 * misc/sys/syslog.h: Likewise.
54725 * socket/bits/socket2.h: Likewise.
54726 * socket/sys/socket.h: Likewise.
54727 * debug/tst-chk1.c: Likewise.
54728 * wcsmbs/bits/wchar2.h: Likewise.
54729 * wcsmbs/bits/wchar-ldbl.h: Likewise.
54730 * wcsmbs/wchar.h: Likewise.
54731
54732 2012-04-29 Andreas Jaeger <aj@suse.de>
54733
54734 * Makerules (tests): Remove enable-check-abi protection.
54735 (check-abi-warn): Remove.
54736 (check-abi-%): Remove check-abi-warn usage.
54737
54738 * configure.in: Remove check-abi configure option.
54739 * configure: Regenerated.
54740 * config.make.in (enable-check-abi): Remove.
54741
54742 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
54743
54744 [BZ #14033]
54745 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
54746 double functions to double *_finite functions.
54747
54748 [BZ #13941]
54749 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
54750 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
54751 LDBL_MIN_EXP.
54752 * stdio-common/Makefile (tests): Add tst-sprintf3.
54753 * stdio-common/tst-sprintf3.c: New file.
54754
54755 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
54756 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
54757
54758 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54759
54760 * conform/conformtest.pl: Remove duplicate typed-constant
54761 handling.
54762
54763 2012-04-28 David S. Miller <davem@davemloft.net>
54764
54765 * Makerules (%.abilist): Add vpath on sysdep_dirs.
54766 (check-abi-%): Remove AWK script prerequisite and explicit
54767 abilist directory.
54768 (check-abi): Rewrite to just diff the symlist with the abilist.
54769 (config-tls, config-abi-config): Delete, no longer used.
54770 (update-abi-%): Remove AWK script and explicit abilist directory.
54771 (update-abi): Rewrite to simply compare and conditionally copy the
54772 symlist and the sysdep abilist file. Remove update-abi-config
54773 checks.
54774 * abilist/ld.abilist: Remove.
54775 * abilist/libBrokenLocale.abilist: Remove.
54776 * abilist/libanl.abilist: Remove.
54777 * abilist/libcrypt.abilist: Remove.
54778 * abilist/libdl.abilist: Remove.
54779 * abilist/librt.abilist: Remove.
54780 * abilist/libthread_db.abilist: Remove.
54781 * abilist/libutil.abilist: Remove.
54782 * scripts/extract-abilist.awk: Remove.
54783 * scripts/merge-abilist.awk: Remove.
54784 * sysdeps/generic/libcidn.abilist: New file.
54785 * sysdeps/generic/libnss_compat.abilist: New file.
54786 * sysdeps/generic/libnss_db.abilist: New file.
54787 * sysdeps/generic/libnss_dns.abilist: New file.
54788 * sysdeps/generic/libnss_files.abilist: New file.
54789 * sysdeps/generic/libnss_hesiod.abilist: New file.
54790 * sysdeps/generic/libnss_nis.abilist: New file.
54791 * sysdeps/generic/libnss_nisplus.abilist: New file.
54792 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
54793 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
54794 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
54795 file.
54796 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
54797 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
54798 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
54799 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
54800 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
54801 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
54802 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
54803 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
54804 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
54805 file.
54806 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
54807 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
54808 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
54809 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
54810 file.
54811 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
54812 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
54813 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
54814 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
54815 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
54816 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
54817 file.
54818 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
54819 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
54820 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
54821 file.
54822 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
54823 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
54824 New file.
54825 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
54826 New file.
54827 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
54828 New file.
54829 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
54830 New file.
54831 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
54832 New file.
54833 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
54834 New file.
54835 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
54836 New file.
54837 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
54838 New file.
54839 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
54840 New file.
54841 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
54842 New file.
54843 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
54844 New file.
54845 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
54846 New file.
54847 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
54848 New file.
54849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
54850 file.
54851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
54852 New file.
54853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
54854 New file.
54855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
54856 file.
54857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
54858 New file.
54859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
54860 New file.
54861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
54862 file.
54863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
54864 New file.
54865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54866 New file.
54867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
54868 New file.
54869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
54870 New file.
54871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
54872 New file.
54873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
54874 New file.
54875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
54876 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
54877 file.
54878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
54879 New file.
54880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
54881 file.
54882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
54883 file.
54884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
54885 file.
54886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
54887 file.
54888 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
54889 file.
54890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54891 New file.
54892 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
54893 file.
54894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
54895 file.
54896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
54897 New file.
54898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
54899 file.
54900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
54901 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
54902 file.
54903 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
54904 New file.
54905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
54906 file.
54907 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
54908 file.
54909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
54910 file.
54911 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
54912 file.
54913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
54914 file.
54915 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54916 New file.
54917 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
54918 file.
54919 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
54920 file.
54921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
54922 New file.
54923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
54924 file.
54925 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
54926 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
54927 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
54928 file.
54929 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
54930 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
54931 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
54932 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
54933 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
54934 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
54935 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
54936 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
54937 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
54938 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
54939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
54940 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
54941 file.
54942 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
54943 New file.
54944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
54945 file.
54946 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
54947 file.
54948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
54949 file.
54950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
54951 file.
54952 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
54953 file.
54954 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54955 New file.
54956 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
54957 New file.
54958 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
54959 file.
54960 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
54961 New file.
54962 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
54963 file.
54964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
54965 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
54966 file.
54967 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
54968 New file.
54969 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
54970 file.
54971 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
54972 file.
54973 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
54974 file.
54975 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
54976 file.
54977 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
54978 file.
54979 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54980 New file.
54981 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
54982 New file.
54983 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
54984 file.
54985 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
54986 New file.
54987 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
54988 file.
54989
54990 2012-04-28 Joseph Myers <joseph@codesourcery.com>
54991
54992 * conform/conformtest.pl: Fix typo in handling typed-constant from
54993 allow-header.
54994
54995 2012-04-27 Joseph Myers <joseph@codesourcery.com>
54996
54997 * README: Cut down references to pre-2.6 Linux kernels and
54998 Linuxthreads. Update lists of configurations in libc and ports
54999 and sort alphabetically. Say "or newer" with Linux kernel version
55000 requirements.
55001
55002 * config.h.in [IS_IN_build]: Allow compiling without optimization.
55003
55004 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55005
55006 [BZ #887]
55007 * math/libm-test.inc (logb_test_downward): New test to expose
55008 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
55009 rounding mode.
55010
55011 2012-04-27 Joseph Myers <joseph@codesourcery.com>
55012
55013 [BZ #14027]
55014 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
55015 to be done.
55016 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
55017 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
55018
55019 2012-04-26 Joseph Myers <joseph@codesourcery.com>
55020
55021 * sysdeps/unix/i386/brk.S: Remove file.
55022 * sysdeps/unix/i386/dl-brk.S: Likewise.
55023 * sysdeps/unix/i386/pipe.S: Likewise.
55024 * sysdeps/unix/i386/sigreturn.S: Likewise.
55025 * sysdeps/unix/i386/syscall.S: Likewise.
55026 * sysdeps/unix/i386/vfork.S: Likewise.
55027 * sysdeps/unix/i386/wait.S: Likewise.
55028
55029 * sysdeps/unix/common/tcsendbrk.c: Move to ...
55030 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
55031
55032 * configure.in (arm*-none*): Do not allow without
55033 --enable-hacker-mode.
55034 (netbsd*): Remove case setting base_os.
55035 (386bsd*): Likewise.
55036 (freebsd*): Likewise.
55037 (bsdi*): Likewise.
55038 (osf*): Likewise.
55039 (sunos*): Likewise.
55040 (ultrix*): Likewise.
55041 (newsos*): Likewise.
55042 (dynix*): Likewise.
55043 (*bsd*): Likewise.
55044 (sysv*): Likewise.
55045 (isc*): Likewise.
55046 (esix*): Likewise.
55047 (sco*): Likewise.
55048 (minix*): Likewise.
55049 (irix4*): Likewise.
55050 (irix6*): Likewise.
55051 (solaris[2-9]*): Likewise.
55052 (none): Likewise.
55053 * configure: Regenerated.
55054
55055 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55056
55057 [BZ #11521]
55058 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
55059 overflow or cancellation in calculating denominator.
55060 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
55061 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
55062 down expression to avoid unexpected rounding in newer GCCs.
55063 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
55064
55065 2012-04-26 David S. Miller <davem@davemloft.net>
55066
55067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
55068 long-double compat symbols.
55069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
55071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
55072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
55073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
55074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
55075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
55076 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
55077 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
55078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
55079 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
55080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
55081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
55082
55083 2012-04-25 David S. Miller <davem@davemloft.net>
55084
55085 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
55086 HWCAP_* values only after the memory barriers have been defined.
55087 (atomic_full_barrier): Define.
55088 (atomic_read_barrier): Define.
55089 (atomic_write_barrier): Define.
55090
55091 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
55092
55093 * shlib-versions: Add libgcc_s version information.
55094 * sysdeps/generic/libgcc_s.h: Remove.
55095 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
55096 libgcc_s.h.
55097 * sysdeps/gnu/unwind-resume.c: Likewise.
55098 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
55099
55100 2012-04-25 David S. Miller <davem@davemloft.net>
55101
55102 * sysdeps/unix/sparc/brk.S: Delete.
55103 * sysdeps/unix/sparc/dl-brk.S: Delete.
55104 * sysdeps/unix/sparc/pipe.S: Delete.
55105 * sysdeps/unix/sparc/sysdep.S: Delete.
55106 * sysdeps/unix/sparc/sysdep.h: Delete.
55107 * sysdeps/unix/sparc/vfork.S: Delete.
55108 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
55109 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
55110 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
55111 (ret_ERRVAL, r0, r1, MOVE): Define.
55112 (JUMPTARGET): Remove.
55113 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
55114 sysdeps/unix/sparc/sysdep.h
55115 (ENTRY, END): Remove.
55116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
55117
55118 2012-04-25 Joseph Myers <joseph@codesourcery.com>
55119
55120 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
55121 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
55122 -DIS_IN_build.
55123
55124 * timezone/README: Update upstream location and email address for
55125 tzcode and tzdata.
55126 * timezone/zdump.c: Update from tzcode 2012b.
55127 * timezone/zic.c: Likewise.
55128
55129 * configure.in (libc_cv_as_needed): Remove test.
55130 * configure: Regenerated.
55131 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
55132 conditional definition.
55133 [$(have-as-needed) != yes] (no-as-needed): Likewise.
55134 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
55135 * config.make.in (have-as-needed): Remove variable.
55136
55137 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
55138 Paul Pluzhnikov <ppluzhnikov@google.com>
55139
55140 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
55141 strings correctly.
55142
55143 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
55144
55145 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
55146 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
55147 * sysdeps/sh/strlen.S: Likewise.
55148
55149 2012-04-24 Joseph Myers <joseph@codesourcery.com>
55150
55151 * sysdeps/unix/fork.S: Remove file.
55152 * sysdeps/unix/i386/fork.S: Likewise.
55153 * sysdeps/unix/sparc/fork.S: Likewise.
55154
55155 * sysdeps/unix/system.c: Remove file.
55156 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
55157
55158 * sysdeps/unix/getegid.S: Remove file.
55159 * sysdeps/unix/geteuid.S: Likewise.
55160
55161 2012-04-24 Roland McGrath <roland@hack.frob.com>
55162
55163 * scripts/check-localplt.awk: New file.
55164 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
55165 of diff.
55166 * scripts/data/localplt-generic.data: Add a comment.
55167
55168 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
55169 NODE when __dir_mkfile failed.
55170 * sysdeps/mach/hurd/symlinkat.c: Likewise.
55171 Reported by Ludovic Courtès <ludo@gnu.org>.
55172
55173 2012-04-24 Andreas Jaeger <aj@suse.de>
55174
55175 * Makerules (common-clean): Also remove gen-as-const-headers
55176 files.
55177
55178 2012-04-24 Joseph Myers <joseph@codesourcery.com>
55179
55180 * Makerules (native-compile): Do not change working directory for
55181 build. Use $(OUTPUT_OPTION) in command.
55182 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
55183
55184 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55185
55186 [BZ #13886]
55187 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
55188 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
55189 * math/libm-test.inc (floor_test): Add more tests.
55190 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
55191
55192 2012-04-24 Joseph Myers <joseph@codesourcery.com>
55193
55194 * sysdeps/unix/getdents.c: Remove file.
55195 * sysdeps/unix/sysv/getdents.c: Likewise.
55196 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
55197
55198 * sysdeps/unix/syscalls.list (madvise): Add syscall from
55199 sysdeps/unix/mman/syscalls.list.
55200 (mmap): Likewise.
55201 (mprotect): Likewise.
55202 (msync): Likewise.
55203 (munmap): Likewise.
55204 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
55205 * sysdeps/unix/mman/syscalls.list: Remove.
55206 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
55207
55208 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
55209 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
55210 * configure: Regenerated.
55211 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
55212 $(libgcc_s_suffix).
55213 * config.make.in (libgcc_s_suffix): Remove variable.
55214
55215 2012-04-23 Joseph Myers <joseph@codesourcery.com>
55216
55217 * sysdeps/unix/sysv/gethostname.c: Move to ...
55218 * sysdeps/posix/gethostname.c: ... here.
55219
55220 * sysdeps/unix/execve.S: Remove file.
55221
55222 * sysdeps/unix/_exit.S: Remove file.
55223
55224 2012-04-23 Andreas Jaeger <aj@suse.de>
55225
55226 [BZ #13739]
55227 * manual/Makefile: Remove make dist support, there's no
55228 need for a stand-alone documentation tar ball.
55229 (TEXI2DVI): Define always, it's not in Makeconfig.
55230 (dist): Removed.
55231 (tar-it): Removed.
55232 (edition): Removed.
55233 (glibc-doc-$(edition).tar): Removed
55234 (%.Z): Removed.
55235 (%.gz): Removed.
55236 (%.uu): Removed.
55237 (ETAGS): Remove, it's in Makeconfig.
55238 (move-if-change): Remove, it's in Makeconfig.
55239
55240 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
55241
55242 [BZ #13970]
55243 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
55244 (strtod, strtof, strtold, strtol, strtoul, strtoq)
55245 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
55246 (strtod_l, strtof_l, strtold_l): Remove __wur.
55247 It is not necessarily an error to ignore strtol's return value.
55248 One can reliably look at the stored endptr to decide whether
55249 the number had valid syntax.
55250
55251 2012-04-21 Andreas Jaeger <aj@suse.de>
55252
55253 [BZ #13739]
55254 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
55255
55256 2012-04-21 Joseph Myers <joseph@codesourcery.com>
55257
55258 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
55259 * sysdeps/unix/sysv/Versions: Remove file.
55260
55261 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
55262
55263 [BZ #13927]
55264 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55265
55266 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
55267
55268 [BZ #7064]
55269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
55270 version from __vm86.
55271
55272 2012-04-20 Joseph Myers <joseph@codesourcery.com>
55273
55274 * sysdeps/unix/common/lxstat.c: Remove file.
55275 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
55276
55277 * sysdeps/unix/sysv/Makefile: Remove file.
55278
55279 * sysdeps/unix/sysv/direct.h: Remove file.
55280
55281 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
55282 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
55283 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
55284 * sysdeps/unix/sysv/bits/signum.h: Likewise.
55285 * sysdeps/unix/sysv/bits/stat.h: Likewise.
55286 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
55287 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
55288
55289 * sysdeps/unix/sysv/setrlimit.c: Remove file.
55290
55291 * sysdeps/unix/xmknod.c: Remove file.
55292 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
55293
55294 * sysdeps/unix/sysv/settimeofday.c: Remove file.
55295
55296 * sysdeps/unix/sysv/i386/time.S: Remove file.
55297
55298 * sysdeps/unix/fxstat.c: Remove file.
55299 * sysdeps/unix/xstat.c: Likewise.
55300 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
55301
55302 * sysdeps/unix/sysv/sigaction.c: Remove file.
55303
55304 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
55305 (sysdep_headers): Remove variable.
55306 [termio.h not in sysdep_headers] (generated): Likewise.
55307 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
55308 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
55309 * sysdeps/unix/sysv/tcdrain.c: Likewise.
55310 * sysdeps/unix/sysv/tcflow.c: Likewise.
55311 * sysdeps/unix/sysv/tcflush.c: Likewise.
55312 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
55313 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
55314 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
55315 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
55316 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
55317
55318 * sysdeps/unix/siglist.c: Remove file.
55319
55320 * sysdeps/unix/getppid.S: Remove file.
55321
55322 * sysdeps/unix/mkdir.c: Remove file.
55323 * sysdeps/unix/rmdir.c: Likewise.
55324
55325 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
55326
55327 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
55328 ERR_MAX value.
55329 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
55330 errlist-compat value.
55331
55332 2012-04-18 David S. Miller <davem@davemloft.net>
55333
55334 * sysdeps/generic/memcopy.h (reg_char): Delete.
55335 * debug/strcat_chk.c: Use char, not reg_char.
55336 * debug/strcpy_chk.c: Likewise.
55337 * debug/strncat_chk.c: Likewise.
55338 * debug/strncpy_chk.c: Likewise.
55339 * string/memchr.c: Likewise.
55340 * string/memrchr.c: Likewise.
55341 * string/rawmemchr.c: Likewise.
55342 * string/strcat.c: Likewise.
55343 * string/strchr.c: Likewise.
55344 * string/strchrnul.c: Likewise.
55345 * string/strcmp.c: Likewise.
55346 * string/strcpy.c: Likewise.
55347 * string/strncat.c: Likewise.
55348 * string/strncmp.c: Likewise.
55349 * string/strncpy.c: Likewise.
55350
55351 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
55352
55353 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
55354 __builtin_memcopy is called when src and dest ranges are known to not
55355 overlap.
55356
55357 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
55358
55359 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
55360 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
55361 fwd_align_merge macro call.
55362 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
55363 bwd_align_merge macro call.
55364 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55365
55366 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
55367
55368 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
55369 bwd_align_merge macros.
55370 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
55371 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
55372 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55373
55374 2012-04-18 David S. Miller <davem@davemloft.net>
55375
55376 * sysdeps/sparc/sparc64/memcopy.h: Delete.
55377
55378 2012-04-18 Andreas Jaeger <aj@suse.de>
55379
55380 [BZ# 6794]
55381 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
55382 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
55383 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55384
55385 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
55386 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
55387 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55388
55389 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
55390 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
55391 Adjust for changed ldbl-128 files.
55392
55393 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
55394 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
55395 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
55396
55397 2012-04-17 David S. Miller <davem@davemloft.net>
55398
55399 * sysdeps/sparc/sparc32/memcopy.h: Delete.
55400
55401 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
55402
55403 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
55404 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
55405 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
55406 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
55407 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
55408 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
55409
55410 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55411
55412 [BZ #6794]
55413 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
55414 * math/libm-test.inc: Add ilogb errno and exception tests.
55415 * math/w_ilogb.c: New file: ilogb wrapper.
55416 * math/w_ilogbf.c: New file: ilogbf wrapper.
55417 * math/w_ilogbl.c: New file: ilogbl wrapper.
55418 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
55419 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
55420 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
55421 exception being thrown with 0.0 as argument.
55422 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
55423 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
55424 exception being thrown with 0.0 as argument.
55425 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
55426 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55427 exception being thrown with 0.0 as argument.
55428 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
55429 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
55430 exception being thrown with 0.0 as argument.
55431 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
55432 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
55433 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
55434 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
55435 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
55436 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
55437 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
55438 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
55439 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
55440
55441 2012-04-17 Petr Baudis <pasky@ucw.cz>
55442
55443 * include/sys/uio.h: Change __vector to __iovec to avoid clash
55444 with altivec.
55445
55446 2012-04-16 Marek Polacek <polacek@redhat.com>
55447
55448 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
55449
55450 2012-04-16 Marek Polacek <polacek@redhat.com>
55451
55452 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
55453 operands of fdivp instruction.
55454
55455 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
55456
55457 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
55458 * elf/tst-auditmod3b.c: Likewise.
55459 * elf/tst-auditmod4b.c: Likewise.
55460 * elf/tst-auditmod5b.c: Likewise.
55461 * elf/tst-auditmod6b.c: Likewise.
55462 * elf/tst-auditmod6c.c: Likewise.
55463 * elf/tst-auditmod7b.c: Likewise.
55464 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
55465 * sysdeps/x86_64/preconfigure.in: Likewise.
55466 * sysdeps/x86_64/preconfigure: Regenerated.
55467
55468 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
55469
55470 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
55471 __ILP32__.
55472
55473 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
55474
55475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
55476 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
55477
55478 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
55479
55480 [BZ #13973]
55481 * locale/iso-639.def: Fix gl language name. Spotted by
55482 Yaron Shahrabani.
55483
55484 2012-04-12 Roland McGrath <roland@hack.frob.com>
55485
55486 [BZ #2074]
55487 * libio/libio.h (__io_write_fn): Update comment.
55488
55489 2012-04-12 Petr Baudis <pasky@ucw.cz>
55490
55491 [BZ #2074]
55492 * stdio.texi (Hook Functions): The user provided writer function
55493 is not allowed to return -1.
55494
55495 2012-04-11 David S. Miller <davem@davemloft.net>
55496
55497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
55498
55499 2012-04-11 Mike Frysinger <vapier@gentoo.org>
55500
55501 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
55502 Add a leading slash to rtkaio.
55503
55504 2012-04-11 Jim Meyering <meyering@redhat.com>
55505
55506 [BZ #11959]
55507 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
55508 It is not necessarily an error to ignore fwrite's return
55509 value. One can reliably use ferror to test for errors after
55510 the fact.
55511
55512 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
55513
55514 * bits/types.h (__snseconds_t): New type.
55515 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
55516
55517 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
55518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
55519 (__SNSECONDS_T_TYPE): Likewise.
55520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
55521 (__SNSECONDS_T_TYPE): Likewise.
55522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
55523 (__SNSECONDS_T_TYPE): Likewise.
55524
55525 2012-04-10 Andreas Jaeger <aj@suse.de>
55526
55527 [BZ #2636]
55528 * manual/time.texi (Processor Time): Return type of times is
55529 elapsed real time since an arbitrary point in the past.
55530 (CPU Time): Move CLK_TCK from here...
55531 (Processor Time): ...to here. Correct description.
55532 * manual/conf.texi (Constants for Sysconf): Correct description of
55533 _SC_CLK_TCK.
55534
55535 2012-04-10 David S. Miller <davem@davemloft.net>
55536
55537 [BZ #13967]
55538 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
55539 where the is a gap between DT_REL(A) and DT_JMPREL.
55540
55541 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
55542
55543 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
55544 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55545 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55546
55547 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55548
55549 * elf/dl-support.c (_dl_inhibit_cache): New variable.
55550 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
55551 (dl_main): Handle --inhibit-cache.
55552 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
55553 _dl_inhibit_cache.
55554 * elf/dl-load.c (_dl_map_object): Use it.
55555 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
55556
55557 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55558
55559 [BZ #13872]
55560 * sysdeps/i386/fpu/e_powl.S (p78): New object.
55561 (__ieee754_powl): Saturate large exponents rather than testing for
55562 overflow of y*log2(x).
55563 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
55564 * math/libm-test.inc (pow_test): Do not permit spurious overflow
55565 exceptions.
55566
55567 [BZ #11521]
55568 * math/s_ctan.c: Include <float.h>.
55569 (__ctan): Avoid internal overflow or cancellation in calculating
55570 denominator.
55571 * math/s_ctanf.c: Likewise.
55572 * math/s_ctanl.c: Likewise.
55573 * math/s_ctanh.c: Likewise.
55574 * math/s_ctanhf.c: Likewise.
55575 * math/s_ctanhl.c: Likewise.
55576 * math/libm-test.inc (ctan_test): Add more tests.
55577 (ctanh_test): Likewise.
55578 * sysdeps/i386/fpu/libm-test-ulps: Update.
55579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55580
55581 2012-04-09 Andreas Jaeger <aj@suse.de>
55582
55583 [BZ #6894]
55584 * manual/filesys.texi (Directory Entries): Mention that d_namlen
55585 is an optional BSD extension.
55586
55587 [BZ #10254]
55588 * manual/stdio.texi (Opening Streams): Document additional fopen
55589 parameters.
55590
55591 2012-04-09 Roland McGrath <roland@hack.frob.com>
55592
55593 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
55594 %eax without telling the compiler.
55595
55596 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
55597
55598 [BZ # 13963]
55599 * manual/install.texi: Use sourceware.org.
55600
55601 2012-04-09 Joseph Myers <joseph@codesourcery.com>
55602
55603 [BZ #13873]
55604 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
55605 (__ieee754_pow): Generate overflow and underflow using huge*huge
55606 and tiny*tiny rather than just returning constant infinity or zero
55607 for large exponents.
55608 * math/libm-test.inc (pow_test): Require overflow exceptions for
55609 applicable cases of large exponents.
55610
55611 [BZ #706]
55612 * sysdeps/i386/fpu/e_pow.S (p10): New object.
55613 (__ieee754_pow): Use iterative multiplication algorithm only for
55614 integer exponents with absolute value below 1024. Check for odd
55615 integer exponents when using algorithm for real exponents.
55616 * math/libm-test.inc (pow_test): Add more tests.
55617 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
55618
55619 2012-04-08 Joseph Myers <joseph@codesourcery.com>
55620
55621 [BZ #13705]
55622 * math/libm-test.inc (exp_test): Do not allow overflow exception
55623 on underflow test.
55624
55625 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
55626
55627 [BZ #13705]
55628 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
55629 instead of __kernel_standard_f.
55630
55631 2012-04-08 Mike Frysinger <vapier@gentoo.org>
55632
55633 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
55634 * sysdeps/x86_64/memset_chk.S: Likewise.
55635
55636 2012-04-08 Andreas Jaeger <aj@suse.de>
55637
55638 [BZ #10153]
55639 * manual/startup.texi (Environment Access): Describe return value
55640 for putenv and setenv.
55641
55642 [BZ #6895]
55643 * manual/filesys.texi (Directory Entries): Add description for
55644 DT_LNK.
55645
55646 [BZ #6890]
55647 * manual/filesys.texi (Directory Entries): Clarify that it's file
55648 system not operating system in the description of DT_UNKNOWN.
55649
55650 [BZ #6578]
55651 * manual/syslog.texi (closelog): Fix reference, it's openlog.
55652
55653 2012-04-08 Stephen Compall <s11@member.fsf.org>
55654
55655 [BZ #6649]
55656 * manual/llio.texi (Opening and Closing Files): Add cross
55657 reference to explain mode argument.
55658
55659 2012-04-07 Mike Frysinger <vapier@gentoo.org>
55660
55661 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
55662 * sysdeps/x86_64/memset_chk.S: Likewise.
55663
55664 2012-04-07 David S. Miller <davem@davemloft.net>
55665
55666 * elf/elf.h (R_SPARC_WDISP10): Define.
55667 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
55668 R_SPARC_SIZE32.
55669 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
55670 R_SPARC_SIZE64 and R_SPARC_H34.
55671
55672 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
55673
55674 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
55675 conditions and remove no longer applicable assertion.
55676
55677 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55678
55679 * bits/byteswap.h: Include <features.h>.
55680 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
55681 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
55682
55683 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
55684
55685 * bits/byteswap.h (__bswap_16): Removed.
55686 Include <bits/byteswap-16.h> to get __bswap_16.
55687 * sysdeps/i386/bits/byteswap.h: Likewise.
55688 * sysdeps/s390/bits/byteswap.h: Likewise.
55689 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55690 * bits/byteswap-16.h: New file.
55691 * sysdeps/i386/bits/byteswap-16.h: Likewise.
55692 * sysdeps/s390/bits/byteswap-16.h: Likewise.
55693 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
55694 * string/Makefile (headers): Add bits/byteswap-16.h.
55695
55696 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
55697
55698 [BZ #13895]
55699 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
55700 extra indirection.
55701 * nss/Makefile (tests-static, tests): Add tst-nss-static.
55702 * nss/tst-nss-static.c: New.
55703
55704 2012-04-06 Robert Millan <rmh@gnu.org>
55705
55706 [BZ #6486]
55707 * manual/llio.texi (File Position Primitive): lseek
55708 refers to WHENCE when it really means OFFSET.
55709
55710 2012-04-06 Andreas Jaeger <aj@suse.de>
55711
55712 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
55713 strncmp declarations.
55714
55715 * abilist/libc.abilist: Add __poll and __ppoll.
55716
55717 2012-04-05 David S. Miller <davem@davemloft.net>
55718
55719 * scripts/check-local-headers.sh: Accept a host triplet in the
55720 path matched by the exclude regexp.
55721
55722 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
55723 definition.
55724 * sysdeps/powerpc/powerpc32/dl-machine.h
55725 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
55726 * sysdeps/s390/s390-32/dl-machine.h
55727 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55728 * sysdeps/sparc/sparc32/dl-machine.h
55729 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55730 * sysdeps/sparc/sparc64/dl-machine.h
55731 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
55732
55733 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
55734 lazy binding.
55735 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
55736 undefined symbol errors.
55737
55738 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
55739 DT_NEEDED entries.
55740
55741 2012-04-05 Michael Matz <matz@suse.de>
55742
55743 [BZ #13592]
55744 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
55745
55746 2012-04-05 Andreas Jaeger <aj@suse.de>
55747
55748 [BZ #13908]
55749 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
55750 comment.
55751
55752 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55753
55754 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
55755 which ROUND is no valid rounding mode.
55756
55757 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55758
55759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
55760 read again.
55761 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
55762
55763 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55764
55765 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
55766 an exception using FPU order intentionally.
55767
55768 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55769
55770 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
55771 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
55772 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
55773 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
55774
55775 2012-04-05 Simon Josefsson <simon@josefsson.org>
55776
55777 [BZ #12340]
55778 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
55779 EINVAL when BUFLEN is too smal.
55780
55781 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
55782
55783 [BZ #13553]
55784 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
55785 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
55786
55787 2012-04-03 Andreas Jaeger <aj@suse.de>
55788
55789 [BZ #13938]
55790 * manual/setjmp.texi (System V contexts): Fix sentence.
55791
55792 [BZ #13926]
55793 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
55794 New macro for this case.
55795 [!__GNUC__] (__bswap_64): New inline function for this case.
55796 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55797 * bits/byteswap.h: Likewise.
55798 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
55799 ull, guard with __GLIBC_HAVE_LONG_LONG.
55800
55801 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
55802 __GLIBC_HAVE_LONG_LONG.
55803
55804 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
55805 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
55806
55807 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55808
55809 [BZ #13691]
55810 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
55811 inptr and inend, rather than using last_ch.
55812
55813 2012-04-02 David S. Miller <davem@davemloft.net>
55814
55815 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
55816 * stdio-common/printf-parse.h (read_int): Change return type to
55817 'int', return -1 on INT_MAX overflow.
55818 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
55819 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
55820 overflows INT_MAX. Check for overflow of in-format-string precision
55821 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
55822 SIZE_MAX not INT_MAX for integer overflow test.
55823 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
55824 skip the construct in the format string but do not record anything.
55825 * stdio-common/bug22.c: Adjust to test both width/prevision
55826 INT_MAX overflow as well as total length INT_MAX overflow. Check
55827 explicitly for proper errno values.
55828
55829 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
55830
55831 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
55832 CHAR_MAX.
55833 * string/test-strcmp.c [! WIDE]: Likewise.
55834 * time/tst-mktime2.c: Likewise for INT_MAX.
55835 * string/test-string.h: #include <sys/param.h> for MIN.
55836
55837 * csu/init-first.c (__libc_init_first): Call __ctype_init.
55838 * sysdeps/i386/init-first.c (init): Likewise.
55839 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
55840 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
55841 * sysdeps/sh/init-first.c (init): Likewise.
55842
55843 2012-04-01 Ulrich Drepper <drepper@gmail.com>
55844
55845 * po/ru.po: Update from translation team.
55846 * po/vi.po: Likewise.
55847
55848 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
55849
55850 * resolv/nss_dns/dns-host.c: Merge copyright years.
55851
55852 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
55853
55854 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
55855 Optimize memcpy with prefetch if
55856 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
55857 src, dst pointers have unequal 16 byte alignments.
55858
55859 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
55860
55861 [BZ #13928]
55862 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
55863 from a CNAME entry and return the minimum ttl for the query.
55864 (gaih_getanswer_slice): Likewise.
55865
55866 2012-03-30 Jeff Law <law@redhat.com>
55867
55868 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
55869 due to long keys.
55870 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
55871 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
55872
55873 * resolv/nss_dns/dns-host.c: Update copyright year.
55874
55875 2012-03-30 Ulrich Drepper <drepper@gmail.com>
55876
55877 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
55878 requests to save a system call. Fix check that all bytes are sent.
55879
55880 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
55881 comments for sendmmsg.
55882
55883 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
55884
55885 [BZ #13691]
55886 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
55887 with only 1 character between 0x0041 and 0x01b0.
55888 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
55889 * wcsmbs/tst-mbsnrtowcs.c: New file.
55890
55891 2012-03-29 David S. Miller <davem@davemloft.net>
55892
55893 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
55894 small copies by hand.
55895
55896 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
55897
55898 [BZ #13761]
55899 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
55900 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
55901 group memberships.
55902
55903 2012-03-28 David S. Miller <davem@davemloft.net>
55904
55905 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
55906 that branches into memcpy.
55907 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55908 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
55909 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
55910 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
55911 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
55912 bits.
55913 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
55914 implementation too.
55915 * sysdeps/sparc/mempcpy.S: New file.
55916
55917 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
55918 the IFUNC routine in the libc case.
55919 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
55920
55921 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
55922 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
55923 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
55924 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
55925 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
55926 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
55927 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
55928 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
55929
55930 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
55931 loop to 256 bytes instead of 64 bytes and fix test signedness.
55932
55933 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
55934 * sysdeps/sparc/sparc32/Makefile: rather than here...
55935 * sysdeps/sparc/sparc64/Makefile: and here.
55936
55937 2012-03-28 Ulrich Drepper <drepper@gmail.com>
55938
55939 * malloc/mallocbug.c: Avoid warnings about unused variables.
55940
55941 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
55942
55943 [BZ #13760]
55944 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
55945 in the right place. Discard and retry query if response is
55946 larger than input buffer size.
55947
55948 2012-03-28 Joseph Myers <joseph@codesourcery.com>
55949
55950 [BZ #369]
55951 [BZ #2678]
55952 [BZ #3866]
55953 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
55954 x for large integer exponent.
55955 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
55956 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
55957 sign of result as needed afterwards.
55958 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
55959 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
55960 result for underflowing pow the same as for overflow.
55961 (__kernel_standard_l): Handle powl overflow and underflow here
55962 rather than calling __kernel_standard.
55963 * math/libm-test.inc (pow_test): Add more tests.
55964
55965 [BZ #3868]
55966 [BZ #13879]
55967 [BZ #13910]
55968 [BZ #13911]
55969 [BZ #13912]
55970 [BZ #13913]
55971 [BZ #13915]
55972 [BZ #13916]
55973 [BZ #13917]
55974 [BZ #13918]
55975 [BZ #13919]
55976 [BZ #13920]
55977 [BZ #13921]
55978 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
55979 * sysdeps/ieee754/k_standard.c: Include <float.h>.
55980 (__kernel_standard_l): New function.
55981 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
55982 __kernel_standard.
55983 * math/w_acosl.c (__acosl): Likewise.
55984 * math/w_asinl.c (__asinl): Likewise.
55985 * math/w_atan2l.c (__atan2l): Likewise.
55986 * math/w_atanhl.c (__atanhl): Likewise.
55987 * math/w_coshl.c (__coshl): Likewise.
55988 * math/w_exp10l.c (__exp10l): Likewise.
55989 * math/w_exp2l.c (__exp2l): Likewise.
55990 * math/w_fmodl.c (__fmodl): Likewise.
55991 * math/w_hypotl.c (__hypotl): Likewise.
55992 * math/w_j0l.c (__j0l, __y0l): Likewise.
55993 * math/w_j1l.c (__j1l, __y1l): Likewise.
55994 * math/w_jnl.c (__jnl, __ynl): Likewise.
55995 * math/w_lgammal.c (__lgammal): Likewise.
55996 * math/w_log10l.c (__log10l): Likewise.
55997 * math/w_log2l.c (__log2l): Likewise.
55998 * math/w_logl.c (__logl): Likewise.
55999 * math/w_powl.c (__powl): Likewise.
56000 * math/w_remainderl.c (__remainderl): Likewise.
56001 * math/w_scalbl.c (sysv_scalbl): Likewise.
56002 * math/w_sinhl.c (__sinhl): Likewise.
56003 * math/w_sqrtl.c (__sqrtl): Likewise.
56004 * math/w_tgammal.c (__tgammal): Likewise.
56005 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
56006 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
56007 * math/libm-test.inc (acos_test): Add more tests.
56008 (acosh_test): Likewise.
56009 (asin_test): Likewise.
56010 (atanh_test): Likewise.
56011 (exp_test): Likewise.
56012 (exp10_test): Likewise.
56013 (exp2_test): Likewise.
56014 (expm1_test): Likewise.
56015 (lgamma_test): Likewise.
56016 (log_test): Likewise.
56017 (log10_test): Likewise.
56018 (log1p_test): Likewise.
56019 (log2_test): Likewise.
56020 (pow_test): Do not allow some spurious overflow exceptions.
56021 (sqrt_test): Add more tests.
56022 (tgamma_test): Likewise.
56023 (y0_test): Likewise.
56024 (y1_test): Likewise.
56025 (yn_test): Likewise.
56026
56027 2012-03-27 Anton Blanchard <anton@samba.org>
56028
56029 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
56030 MAP_HUGETLB.
56031 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56032 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56033 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56034
56035 2012-03-27 David S. Miller <davem@davemloft.net>
56036
56037 * conform/Makefile: Run run-conformtest.sh using $(BASH).
56038
56039 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
56040 have-as-vis3 check.
56041
56042 2012-03-27 Andreas Jaeger <aj@suse.de>
56043
56044 * sysdeps/x86_64/elf/configure.in: Moved to ...
56045 * sysdeps/x86_64/configure.in: ... here.
56046 * sysdeps/x86_64/elf/start.S: Moved to ...
56047 * sysdeps/x86_64/start.S: ... here.
56048 * sysdeps/x86_64/elf/configure: Delete.
56049
56050 * sysdeps/x86_64/configure.in: Merge contents from
56051 sysdeps/i386/configure.in (without i686 check).
56052
56053 * sysdeps/i386/elf/Versions: Merge into ...
56054 * sysdeps/i386/Versions: ... this.
56055 * sysdeps/i386/elf/Versions: Delete file.
56056 * sysdeps/i386/elf/start.S: Moved to ...
56057 * sysdeps/i386/start.S: ...here.
56058 * sysdeps/i386/elf/configure.in: Merge into...
56059 * sysdeps/i386/configure.in: ...here.
56060 * sysdeps/i386/elf/configure.in: Delete file.
56061 * sysdeps/i386/elf/configure: Delete file.
56062
56063 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
56064 * debug/backtracesyms.c: ... here.
56065 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
56066 * debug/backtracesymsfd.c: ... here.
56067 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
56068 * sysdeps/generic/ifunc-sel.h: ... here.
56069
56070 * sysdeps/unix/i386/start.c: Delete file.
56071 * sysdeps/unix/sparc/start.c: Delete file.
56072 * sysdeps/unix/start.c: Delete file.
56073
56074 * sysdeps/sh/elf/configure.in: Moved to ...
56075 * sysdeps/sh/configure.in: ... here.
56076 * sysdeps/sh/elf/start.S: Moved to ...
56077 * sysdeps/sh/start.S: ... here.
56078 * sysdeps/sh/elf/configure: Delete file.
56079
56080 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
56081 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
56082 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
56083 * sysdeps/powerpc/powerpc64/entry.h: ... here.
56084 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
56085 * sysdeps/powerpc/powerpc64/start.S: here.
56086 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
56087 * sysdeps/powerpc/powerpc64/Makefile: ... this.
56088 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
56089 * sysdeps/powerpc/powerpc64/configure.in: ... this.
56090 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
56091
56092 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
56093 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
56094 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
56095 * sysdeps/powerpc/powerpc32/start.S: ... here.
56096 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
56097 * sysdeps/powerpc/powerpc32/configure.in: ... this.
56098 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
56099
56100 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
56101 * sysdeps/powerpc/ifunc-sel.h: ... here.
56102 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
56103 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
56104
56105 * sysdeps/sparc/elf/configure.in: Moved to ...
56106 * sysdeps/sparc/configure.in: ... here.
56107 * sysdeps/sparc/elf/configure: Delete file.
56108 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
56109 * sysdeps/sparc/sparc32/start.S: ... here.
56110 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
56111 * sysdeps/sparc/sparc64/start.S: ... here.
56112 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
56113 * sysdeps/sparc/sparc32/Makefile: ... this.
56114 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
56115 * sysdeps/sparc/sparc64/Makefile: ... this.
56116
56117 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
56118 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
56119 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
56120 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
56121 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
56122 * sysdeps/s390/s390-32/setjmp.S: ... here.
56123 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
56124 * sysdeps/s390/s390-32/configure.in: ... here.
56125 * sysdeps/s390/s390-32/elf/configure: Delete file.
56126 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
56127 * sysdeps/s390/s390-32/start.S: ... here.
56128
56129 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
56130 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
56131 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
56132 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
56133 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
56134 * sysdeps/s390/s390-64/setjmp.S: ... here.
56135 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
56136 * sysdeps/s390/s390-64/configure.in: ... here
56137 * sysdeps/s390/s390-64/elf/configure: Delete file.
56138 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
56139 * sysdeps/s390/s390-64/start.S: ... here.
56140 * sysdeps/s390/s390-64/elf/configure: Delete.
56141
56142 * configure.in: Remove support for elf directories in sysdeps.
56143
56144 * configure: Regenerated.
56145 * sysdeps/i386/configure: Regenerated.
56146 * sysdeps/powerpc/powerpc32/configure: Regenerated.
56147 * sysdeps/powerpc/powerpc64/configure: Regenerated.
56148 * sysdeps/s390/s390-32/configure: Regenerated.
56149 * sysdeps/s390/s390-64/configure: Regenerated.
56150 * sysdeps/sh/configure: Regenerated.
56151 * sysdeps/sparc/configure: Regenerated.
56152 * sysdeps/x86_64/configure: Regenerated.
56153
56154 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
56155
56156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56157
56158 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
56159 denormal result into account.
56160
56161 2012-03-25 Roland McGrath <roland@hack.frob.com>
56162
56163 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
56164 Reported by Allan McRae <allan@archlinux.org>.
56165
56166 2012-03-23 Jeff Law <law@redhat.com>
56167
56168 * nss/getnssent.c (__nss_getent): Fix typo.
56169
56170 2012-03-23 David S. Miller <davem@davemloft.net>
56171
56172 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56173
56174 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
56175
56176 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
56177 to pad to uint64_t for each field.
56178 (dl_tls_index): Replace unsigned long with uint64_t.
56179
56180 2012-03-23 Daniel Jacobowitz <dmj@google.com>
56181 Paul Pluzhnikov <ppluzhnikov@google.com>
56182
56183 [BZ #6528]
56184 * grp/Makefile (otherlibs): Don't set it.
56185 * inet/Makefile (otherlibs): Likewise.
56186 * login/Makefile (otherlibs): Likewise.
56187 * nscd/Makefile (otherlibs): Likewise.
56188 * posix/Makefile (otherlibs): Likewise.
56189 * pwd/Makefile (otherlibs): Likewise.
56190 * rt/Makefile (otherlibs): Likewise.
56191 * sunrpc/Makefile (otherlibs): Likewise.
56192 * nss/Makefile (otherlibs): Likewise.
56193 Add libnss_files to routines and static-only-routines.
56194 ($(objpfx)getent): Remove rule.
56195 * resolv/Makefile: Add libnss_dns and libresolv to routines and
56196 static-only-routines.
56197
56198 2012-03-22 Joseph Myers <joseph@codesourcery.com>
56199
56200 [BZ #13892]
56201 * math/s_cexp.c: Include <float.h>.
56202 (__cexp): Handle exp result overflowing not necessarily
56203 overflowing both real and imaginary parts of result.
56204 * math/s_cexpf.c: Likewise.
56205 * math/s_cexpl.c: Likewise.
56206 * math/libm-test.inc (cexp_test): Add more tests.
56207 * sysdeps/i386/fpu/libm-test-ulps: Update.
56208 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56209
56210 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
56211
56212 * include/link.h (ELFW): New macro.
56213 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
56214 Replace ELF64_R_TYPE with ELFW(R_TYPE).
56215
56216 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
56217
56218 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
56219 with uint64_t.
56220
56221 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
56222
56223 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
56224 declaration.
56225 (struct La_x32_retval): Likewise.
56226
56227 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
56228
56229 * sysdeps/x86_64/preconfigure.in: New file.
56230 * sysdeps/x86_64/preconfigure: New generated file.
56231
56232 2012-03-22 Joseph Myers <joseph@codesourcery.com>
56233
56234 [BZ #13824]
56235 * math/e_exp2l.c: Include <float.h>.
56236 (__ieee754_exp2l): Handle overflow and underflow cases
56237 separately. Only pass fractional part of argument to
56238 __ieee754_expl.
56239 * math/libm-test.inc (exp2_test): Add more tests.
56240
56241 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
56242 negating x to take absolute value.
56243 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
56244 Likewise.
56245 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
56246 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
56247 Likewise.
56248 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
56249 computing low part if x was negated.
56250 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
56251
56252 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
56253
56254 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
56255 la_x32_gnu_pltexit.
56256 (pltexit): Cast int_retval to ptrdiff_t.
56257 * elf/tst-auditmod3b.c: Likewise.
56258 * elf/tst-auditmod4b.c: Likewise.
56259 * elf/tst-auditmod5b.c: Likewise.
56260 * elf/tst-auditmod6b.c: Likewise.
56261 * elf/tst-auditmod6c.c: Likewise.
56262 * elf/tst-auditmod7b.c: Likewise.
56263
56264 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
56265 and x32_gnu_pltexit.
56266
56267 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
56268 __ELF_NATIVE_CLASS.
56269 (La_x32_regs): New macro.
56270 (La_x32_retval): Likewise.
56271 (la_x32_gnu_pltenter): New function prototype.
56272 (la_x32_gnu_pltexit): Likewise.
56273
56274 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
56275
56276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
56277 exponent.
56278
56279 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56280
56281 * configure.in (libc_cv_cc_nofma): Check for option to disable
56282 generation of FMA instructions.
56283 * configure: Regenerate.
56284 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
56285 * sysdeps/ieee754/dbl-64/Makefile: New file.
56286 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
56287 Remove brandred-fma4.
56288 (CFLAGS-brandred-fma4.c): Remove.
56289 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
56290 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
56291 define.
56292 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
56293 define.
56294
56295 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
56296
56297 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
56298 LLONG_MAX != LONG_MAX.
56299 (_itoa_word): Use _ITOA_WORD_TYPE on value.
56300 (_fitoa_word): Likewise.
56301 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
56302 LLONG_MAX != LONG_MAX.
56303 * stdio-common/_itowa.h: Include <_itoa.h>.
56304 (_itowa_word): Use _ITOA_WORD_TYPE on value.
56305 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
56306 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
56307 only if not defined.
56308 (_ITOA_WORD_TYPE): Likewise.
56309 (_itoa_word): Use _ITOA_WORD_TYPE on value.
56310 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
56311
56312 2012-03-21 David S. Miller <davem@davemloft.net>
56313
56314 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56315
56316 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
56317
56318 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
56319 of x86_64 when setting libc_cv_slibdir, libdir and
56320 libc_cv_localedir.
56321 * sysdeps/unix/sysv/linux/configure: Regenerated.
56322
56323 2012-03-21 Joseph Myers <joseph@codesourcery.com>
56324
56325 * manual/lang.texi (Old Varargs): Remove section.
56326 (How Variadic): Update menu.
56327 (va_start): Do not mention varargs.h.
56328
56329 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
56330 Joseph Myers <joseph@codesourcery.com>
56331
56332 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
56333 link test.
56334 * configure: Regenerated.
56335
56336 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
56337
56338 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
56339 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
56340 conformtest.pl
56341
56342 2012-03-21 Joseph Myers <joseph@codesourcery.com>
56343
56344 * NOTES: Remove.
56345 * Makefile (files-for-dist): Remove NOTES.
56346 (NOTES): Remove rule.
56347 * README: Don't refer to NOTES.
56348 * manual/creature.texi: Don't include macros.texi.
56349 * manual/intro.texi (creature.texi): Remove comment referring to
56350 NOTES.
56351
56352 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
56353 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
56354 * configure: Regenerated.
56355 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
56356 LIBC_TRY_CC_OPTION.
56357 (libc_cv_as_i686): Likewise.
56358 (libc_cv_cc_avx): Likewise.
56359 (libc_cv_cc_sse2avx): Likewise.
56360 (libc_cv_cc_fma4): Likewise.
56361 (libc_cv_cc_novzeroupper): Likewise.
56362 * sysdeps/i386/configure: Regenerated.
56363
56364 [BZ #13883]
56365 * sysdeps/i386/fpu/s_cexp.S: Remove.
56366 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
56367 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
56368 * math/libm-test.inc (cexp_test): Add more tests.
56369 * sysdeps/i386/fpu/libm-test-ulps: Update.
56370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56371
56372 2012-03-21 Allan McRae <allan@archlinux.org>
56373
56374 * timezone/Makefile: Do not install iso3166.tab and zone.tab
56375
56376 2012-03-21 Joseph Myers <joseph@codesourcery.com>
56377
56378 [BZ #13871]
56379 * math/w_exp2.c: Do not include <float.h>.
56380 (o_threshold, u_threshold): Remove.
56381 (__exp2): Calculate result before checking finiteness and calling
56382 __kernel_standard.
56383 * math/w_exp2f.c: Likewise.
56384 * math/w_exp2l.c: Likewise.
56385 * math/libm-test.inc (exp2_test): Require overflow exception for
56386 1e6 input.
56387
56388 [BZ #3866]
56389 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
56390 range of signed 64-bit integers before using fistpll. Remove
56391 checks for whether integers fit in mantissa bits.
56392 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
56393 the range of signed 32-bit integers before using fistpl. Remove
56394 checks for whether integers fit in mantissa bits.
56395 * sysdeps/i386/fpu/e_powl.S (p64): New object.
56396 (__ieee754_powl): Test for y outside the range of signed 64-bit
56397 integers before using fistpll. Reduce 64-bit values to 63-bit
56398 ones as needed.
56399 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
56400 divide-by-zero is raised for zero to large negative powers.
56401 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
56402 (__ieee754_powl): Test for y outside the range of signed 64-bit
56403 integers before using fistpll. Reduce 64-bit values to 63-bit
56404 ones as needed.
56405 * math/libm-test.inc (pow_test): Add more tests.
56406
56407 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
56408
56409 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
56410 <stdio-common/_itoa.h>.
56411 * debug/segfault.c: Likewise.
56412 * elf/dl-cache.c: Likewise.
56413 * elf/dl-minimal.c: Likewise.
56414 * elf/dl-misc.c: Likewise.
56415 * elf/dl-sysdep.c: Likewise.
56416 * elf/dl-version.c: Likewise.
56417 * elf/rtld.c: Likewise.
56418 * hurd/hurdsock.c: Likewise.
56419 * hurd/lookup-retry.c: Likewise.
56420 * malloc/malloc.c: Likewise.
56421 * malloc/mtrace.c: Likewise.
56422 * nscd/nscd_getgr_r.c: Likewise.
56423 * nscd/nscd_getpw_r.c: Likewise.
56424 * nscd/nscd_getserv_r.c: Likewise.
56425 * posix/getopt_init.c: Likewise.
56426 * posix/wordexp.c: Likewise.
56427 * stdio-common/_itoa.c: Likewise.
56428 * stdio-common/printf_fphex.c: Likewise.
56429 * stdio-common/vfprintf.c: Likewise.
56430 * string/_strerror.c: Likewise.
56431 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
56432 * sysdeps/i386/i686/hp-timing.h: Likewise.
56433 * sysdeps/mach/_strerror.c: Likewise.
56434 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
56435 * sysdeps/mach/hurd/sethostid.c: Likewise.
56436 * sysdeps/mach/hurd/xmknodat.c: Likewise.
56437 * sysdeps/mach/xpg-strerror.c: Likewise.
56438 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
56439 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
56440 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
56441 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
56442 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
56443 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
56444 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
56445 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
56446 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
56447 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
56448 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
56449 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
56450 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
56451 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
56452 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
56453 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
56454 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
56455 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
56456 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
56457 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
56458 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
56459
56460 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
56461
56462 * stdio-common/_itoa.h: Moved to ...
56463 * sysdeps/generic/_itoa.h: Here.
56464
56465 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
56466
56467 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
56468 instead of "_itoa.h" and "_itowa.h".
56469 * stdio-common/vfprintf.: Likewise.
56470
56471 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
56472
56473 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
56474 <bits/wordsize.h>.
56475 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
56476 (__signbit): Likwise.
56477 (llrintf): Likwise.
56478 (llrint): Likwise.
56479
56480 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
56481
56482 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
56483 __WORDSIZE != 64.
56484
56485 2012-03-20 Joseph Myers <joseph@codesourcery.com>
56486
56487 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
56488 OVERFLOW_EXCEPTION_OK.
56489 * math/libm-test.inc ("Philosophy"): Update comment about
56490 exception testing.
56491 (OVERFLOW_EXCEPTION): Define.
56492 (OVERFLOW_EXCEPTION_OK): Likewise.
56493 (INVALID_EXCEPTION_OK): Renumber.
56494 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
56495 (IGNORE_ZERO_INF_SIGN): Likewise.
56496 (test_exceptions): Handle FE_OVERFLOW.
56497 (exp10_test): Expect overflow exceptions.
56498 (exp2_test): Likewise.
56499 (expm1_test): Likewise.
56500 (nextafter_test): Likewise.
56501 (pow_test): Likewise.
56502 (scalbn_test): Likewise.
56503 (scalbln_test): Likewise.
56504
56505 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56506
56507 * sysdeps/x86_64/bits/atomic.h
56508 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
56509 64bit integer.
56510 (atomic_exchange_acq): Likewise.
56511 (__arch_exchange_and_add_body): Likewise.
56512 (__arch_add_body): Likewise.
56513 (atomic_add_negative): Likewise.
56514 (atomic_add_zero): Likewise.
56515
56516 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56517
56518 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
56519 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
56520
56521 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56522
56523 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
56524 Check __x86_64__ instead of __WORDSIZE.
56525
56526 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56527
56528 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
56529
56530 2012-03-19 David S. Miller <davem@davemloft.net>
56531
56532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
56533
56534 * sysdeps/sparc/fpu/fenv_private.h: New file.
56535 * sysdeps/sparc/fpu/math_private.h: Use it.
56536 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
56537 Remove.
56538 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
56539 (libc_feholdexcept_setroundl): Remove.
56540 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
56541 Remove.
56542 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
56543 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
56544
56545 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56546
56547 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
56548 int64_t instead of long int.
56549 (INSERT_WORDS64): Likwise.
56550
56551 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
56552
56553 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
56554 _Unwind_GetCFA return to _Unwind_Ptr first.
56555
56556 2012-03-19 Joseph Myers <joseph@codesourcery.com>
56557
56558 [BZ #13629]
56559 * math/s_clog.c: Include <float.h>.
56560 (__clog): Scale large or subnormal inputs.
56561 * math/s_clogf.c: Likewise.
56562 * math/s_clogl.c: Likewise.
56563 * math/s_clog10.c: Include <float.h>.
56564 (M_LOG10_2): Define.
56565 (__clog10): Scale large or subnormal inputs.
56566 * math/s_clog10f.c: Likewise.
56567 * math/s_clog10l.c: Likewise.
56568 * math/libm-test.inc (clog_test): Add more tests.
56569 (clog10_test): Likewise.
56570 * sysdeps/i386/fpu/libm-test-ulps: Update.
56571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56572
56573 [BZ #11451]
56574 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
56575 x and y.
56576 * math/libm-test.inc (atan2_test): Add another test.
56577
56578 * Makerules (common-objdir-compile): Remove.
56579 * sysdeps/unix/Makefile (config-generated): Do not add
56580 $(unix-generated) to variable.
56581 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
56582 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
56583 Remove rule.
56584 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
56585 Likewise.
56586 [generic bits/local_lim.h] (before-compile): Do not append to
56587 variable.
56588 [generic bits/local_lim.h] (common-generated): Likewise.
56589 [generic sys/param.h] (before-compile): Do not append to variable.
56590 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
56591 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
56592 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
56593 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
56594 include.
56595 [generic sys/param.h] (sys/param.h-includes): Remove variable.
56596 [generic sys/param.h] (sys/param.h-includes): Remove rule.
56597 [generic sys/param.h] ($(addprefix
56598 $(common-objpfx),$(sys/param.h-includes))): Likewise.
56599 [generic sys/param.h] (common-generated): Do not append to
56600 variable.
56601 [generic sys/param.h] (sysdep_headers): Likewise.
56602 [generic bits/errno.h] (before-compile): Do not append to
56603 variable.
56604 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
56605 rule.
56606 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
56607 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
56608 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
56609 [generic bits/errno.h] (common-generated): Do not append to
56610 variable.
56611 [generic bits/ioctls.h] (before-compile): Do not append to
56612 variable.
56613 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
56614 rule.
56615 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
56616 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
56617 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
56618 rule.
56619 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
56620 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
56621 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
56622 [generic bits/ioctls.h] (common-generated): Do not append to
56623 variable.
56624 [generic sys/syscall.h] (syscall.h): Remove variable.
56625 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
56626 rule.
56627 [generic sys/syscall.h] (before-compile): Do not append to
56628 variable.
56629 [generic sys/syscall.h] (common-generated): Likewise.
56630 * sysdeps/unix/errnos-tmpl.c: Remove file.
56631 * sysdeps/unix/errnos.awk: Likewise.
56632 * sysdeps/unix/ioctls-tmpl.c: Likewise.
56633 * sysdeps/unix/ioctls.awk: Likewise.
56634 * sysdeps/unix/mk-local_lim.c: Likewise.
56635 * sysdeps/unix/snarf-ioctls: Likewise.
56636
56637 2012-03-19 Richard Henderson <rth@twiddle.net>
56638
56639 * sysdeps/i386/fpu/fenv_private.h: New file.
56640 * sysdeps/i386/fpu/math_private.h: Use it.
56641 (math_opt_barrier, math_force_eval): Remove.
56642 (libc_feholdexcept_setround_53bit): Remove.
56643 (libc_feupdateenv_53bit): Remove.
56644 * sysdeps/x86_64/fpu/math_private.h: Likewise.
56645 (math_opt_barrier, math_force_eval): Remove.
56646 (libc_feholdexcept): Remove.
56647 (libc_feholdexcept_setround): Remove.
56648 (libc_fetestexcept, libc_fesetenv): Remove.
56649 (libc_feupdateenv_test): Remove.
56650 (libc_feupdateenv, libc_feholdsetround): Remove.
56651 (libc_feresetround): Remove.
56652
56653 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
56654 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
56655
56656 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
56657 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
56658 (libc_feupdateenv_testl): New.
56659 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
56660 (libc_feupdateenv_testf): New.
56661 (libc_feupdateenv): Use libc_feupdateenv_test.
56662 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
56663 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
56664
56665 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
56666 (libc_feholdsetroundf, libc_feholdsetroundl): New.
56667 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
56668 (libc_feresetround_noex): New.
56669 (libc_feresetround_noexf): New.
56670 (libc_feresetround_noexl): New.
56671 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
56672 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
56673 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
56674 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
56675 SET_RESTORE_ROUND.
56676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
56677 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
56678 (__cos): Likewise.
56679 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
56680 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
56681 SET_RESTORE_ROUND_NOEX.
56682 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
56683 SET_RESTORE_ROUND_NOEXF.
56684 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
56685 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
56686 (libc_feholdsetroundf): New.
56687 (libc_feresetround, libc_feresetroundf): New.
56688
56689 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
56690 (libc_feholdexcept_setround_53bit): Convert from macro to function.
56691 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
56692
56693 * sysdeps/generic/math_private.h: Include <fenv.h>.
56694 (default_libc_feholdexcept): New.
56695 (default_libc_feholdexcept_setround): New.
56696 (default_libc_fesetenv, default_libc_feupdateenv): New.
56697 (libc_feholdexcept): Only define if undefined.
56698 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
56699 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
56700 (libc_feholdexcept_setroundl): Likewise.
56701 (libc_feholdexcept_setround_53bit): Likewise.
56702 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
56703 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
56704 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
56705 (libc_feupdateenv_53bit): Likewise.
56706 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
56707 (libc_feholdexcept): Convert from macro to inline function.
56708 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
56709 (libc_fesetenv, libc_feupdateenv): Likewise.
56710
56711 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
56712 not previously defined.
56713 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
56714 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
56715 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
56716 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
56717 * sysdeps/ieee754/flt-32/math_private.h: New file.
56718 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
56719 math_private.h below SET_FLOAT_WORD.
56720 (__isnan, __isinf_ns, __finite): Remove.
56721 (__isnanf, __isinf_nsf, __finitef): Remove.
56722
56723 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
56724
56725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56726
56727 2012-03-17 David S. Miller <davem@davemloft.net>
56728
56729 [BZ #6471]
56730 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
56731 for 2.16.
56732
56733 2012-03-16 David S. Miller <davem@davemloft.net>
56734
56735 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
56736 warnings.
56737
56738 [BZ #6471]
56739 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
56740 properly.
56741 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
56742 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
56743 sysdep_routines when subdir is sysvipc.
56744 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
56745 __getshmlba helper.
56746
56747 * sysdeps/sparc/fpu/libm-test/ulps: Update.
56748
56749 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56750
56751 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
56752 [__LP64__].
56753
56754 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56755
56756 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
56757 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
56758 (__lround): Renamed to ...
56759 (__llround): This. Replace long int with long long int.
56760 Define lround functions as aliases of llround functions.
56761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
56762
56763 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56764
56765 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
56766 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
56767 adresses to uintptr_t. Replace "long int" and "unsigned long
56768 int" with "greg_t" on va_arg.
56769
56770 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56771
56772 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
56773 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
56774
56775 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
56776 Move e_machine check before EI_CLASS check. Handle x32
56777 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
56778 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
56779 SKIP_EM_IA_64 and include
56780 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
56781
56782 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
56783 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
56784 (add_system_dir): New macro.
56785
56786 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
56787 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
56788
56789 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56790
56791 [BZ #2551]
56792 [BZ #2552]
56793 [BZ #2553]
56794 [BZ #2554]
56795 [BZ #2562]
56796 [BZ #2563]
56797 [BZ #2565]
56798 [BZ #2566]
56799 [BZ #2576]
56800 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
56801 (y0): Likewise.
56802 * math/w_j0f.c (j0f): Likewise.
56803 (y0f): Likewise.
56804 * math/w_j0l.c (__j0l): Likewise.
56805 (__y0l): Likewise.
56806 * math/w_j1.c (j1): Likewise.
56807 (y1): Likewise.
56808 * math/w_j1f.c (j1f): Likewise.
56809 (y1f): Likewise.
56810 * math/w_j1l.c (__j1l): Likewise.
56811 (__y1l): Likewise.
56812 * math/w_jn.c (jn): Likewise.
56813 (yn): Likewise.
56814 * math/w_jnf.c (jnf): Likewise.
56815 (ynf): Likewise.
56816 * math/w_jnl.c (__jnl): Likewise.
56817 (__ynl): Likewise.
56818 * math/libm-test.inc (j0_test): Add more tests.
56819 (j1_test): Likewise.
56820 (jn_test): Likewise. Add trailing semicolon to existing test.
56821 (y0_test): Likewise.
56822 (y1_test): Likewise.
56823 * sysdeps/i386/fpu/libm-test-ulps: Update.
56824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56825
56826 [BZ #13851]
56827 [BZ #13854]
56828 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
56829 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
56830 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
56831 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
56832 (__tanl): Set errno for infinite argument.
56833 * sysdeps/i386/fpu/mptan.c: Remove.
56834 * sysdeps/i386/fpu/s_tan.S: Likewise.
56835 * sysdeps/i386/fpu/s_tanl.S: Likewise.
56836 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
56837 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
56838 * math/libm-test.inc (tan_test): Add more tests and enable more
56839 tests for double and long double.
56840 * sysdeps/i386/fpu/libm-test-ulps: Update.
56841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56842
56843 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
56844
56845 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
56846 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
56847
56848 2012-03-16 Roland McGrath <roland@hack.frob.com>
56849
56850 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
56851 * configure.in: Use it for both main tree and add-ons.
56852 * configure: Regenerated.
56853
56854 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
56855
56856 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
56857
56858 2012-03-16 Joseph Myers <joseph@codesourcery.com>
56859
56860 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
56861 in comment.
56862
56863 [BZ #13851]
56864 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
56865 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
56866 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
56867 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
56868 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
56869 infinite argument.
56870 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
56871 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
56872 != 0 for prec == 2.
56873 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
56874 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
56875 * sysdeps/i386/fpu/s_cosl.S: Likewise.
56876 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
56877 * sysdeps/i386/fpu/s_sinl.S: Likewise.
56878 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
56879 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
56880 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
56881 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
56882 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
56883 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
56884 * math/libm-test.inc (cos_test): Add more tests and enable more
56885 tests for long double.
56886 (sin_test): Likewise.
56887 (sincos_test): Likewise.
56888 * sysdeps/i386/fpu/libm-test-ulps: Update.
56889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56890
56891 2012-03-16 David S. Miller <davem@davemloft.net>
56892
56893 * sysdeps/sparc/fpu/math_private.h: New file.
56894
56895 2012-03-15 David S. Miller <davem@davemloft.net>
56896
56897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
56898 file.
56899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
56900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
56901 file.
56902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
56903 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
56904 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
56905 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
56906 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
56907 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
56908 sysdep routines.
56909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
56910
56911 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
56912 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
56913
56914 * sysdeps/sparc/sparc-ifunc.h: New file.
56915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
56916 sparc-ifunc.h
56917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
56918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
56919 Likewise.
56920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
56921 Likewise.
56922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
56923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
56924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
56925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
56926 Likewise.
56927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
56928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
56929 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
56930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
56931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
56932 Likewise.
56933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
56934 Likewise.
56935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
56936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
56937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
56938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
56939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
56940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
56941 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
56942 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
56943 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
56944 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
56945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
56946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
56947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
56948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
56949 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
56950 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
56951 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
56952 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
56953 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
56954 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
56955 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
56956 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
56957 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
56958 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
56959
56960 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
56961
56962 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
56963 scaling.
56964 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56965
56966 2012-03-15 Andreas Jaeger <aj@suse.de>
56967
56968 [BZ #13852]
56969 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
56970 ieee754/flt-32 implementation for sin, cos and sincos.
56971 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
56972 * sysdeps/i386/fpu/s_cosf.S: Likewise.
56973 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
56974 * sysdeps/i386/fpu/s_sinf.S: Likewise.
56975 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
56976 ieee754/flt-32 implementation for tan.
56977
56978 * math/libm-test.inc (cos_test): Enable some large input tests for
56979 float as well
56980 (sin_test): Likewise.
56981 (sincos_test): Likewise.
56982 (tan_test): Add tests for large input.
56983
56984 * sysdeps/i386/fpu/libm-test-ulps: Update.
56985
56986 2012-03-15 Andreas Jaeger <aj@suse.de>
56987
56988 [BZ #13658]
56989 * math/libm-test.inc (cos_test): Add more test cases.
56990 (sin_test): Likewise.
56991 (sincos_test): Likewise.
56992
56993 2012-03-15 Andreas Jaeger <aj@suse.de>
56994
56995 [BZ #13837]
56996 * math/libm-test.inc (cos_test): Add a test case for large input
56997 value.
56998 (sin_test): Likewise.
56999 (sincos_test): Likewise.
57000
57001 2012-03-15 Andreas Jaeger <aj@suse.de>
57002 Joseph Myers <joseph@codesourcery.com>
57003
57004 [BZ #13658]
57005 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
57006 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
57007 * sysdeps/i386/fpu/branred.c: Likewise.
57008 * sysdeps/i386/fpu/dosincos.c: Likewise.
57009 * sysdeps/i386/fpu/mpa.c: Likewise.
57010 * sysdeps/i386/fpu/s_cos.S: Likewise.
57011 * sysdeps/i386/fpu/s_sin.S: Likewise.
57012 * sysdeps/i386/fpu/s_sincos.S: Likewise.
57013 * sysdeps/i386/fpu/sincos32.c: Likewise.
57014
57015 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
57016 Define.
57017 (libc_feupdateenv_53bit): Define.
57018 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
57019 Define.
57020 (libc_feupdateenv_53bit): Define.
57021
57022 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
57023 53 bit (without extend i386 double precision).
57024
57025 * math/libm-test.inc (sincos_test): Add tests for large input.
57026 (sin): Likewise.
57027 (cos): Likewise.
57028
57029 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
57030
57031 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
57032
57033 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57034
57035 2012-03-15 David S. Miller <davem@davemloft.net>
57036
57037 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
57038 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
57039 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
57040 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
57041 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
57042 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
57043 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
57044 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
57045 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
57046 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
57047 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
57048 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
57049 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
57050 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
57051 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
57052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
57053 file.
57054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
57055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
57056 file.
57057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
57058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
57059 file.
57060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
57061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
57062 file.
57063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
57064 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
57065 fmin/fmax sysdep routines.
57066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
57067
57068 2012-03-14 David S. Miller <davem@davemloft.net>
57069
57070 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
57071 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
57072 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
57073 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
57074 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
57075 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
57076 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
57077 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
57078 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
57079 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
57080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
57081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
57082 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
57083 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
57084 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
57085 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
57086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
57087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
57088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
57089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
57090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
57091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
57092 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
57093 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
57094 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
57095 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
57096 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
57097 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
57098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
57099 routines.
57100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
57101 file.
57102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
57103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
57104 file.
57105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
57106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
57107 file.
57108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
57109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
57110 file.
57111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
57112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
57113 file.
57114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
57115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
57116 file.
57117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
57118 file.
57119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
57120 file.
57121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
57122 file.
57123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
57124 New file.
57125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
57126 file.
57127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
57128 file.
57129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
57130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
57131 file.
57132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
57133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
57134 file.
57135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
57136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
57137 file.
57138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
57139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
57140 VIS3 routines.
57141
57142 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57143 New file.
57144
57145 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57146
57147 * sysdeps/sparc/configure.in: New file.
57148 * sysdeps/sparc/configure: Generate.
57149 * configure.in (libc_cv_sparc_as_vis3): Substitute.
57150 * configure: Regenerate.
57151 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
57152 * config.make.in (have-as-vis3): New.
57153 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
57154 available use -Av9d instead of -Av9a.
57155 * sysdeps/sparc/sparc64/Makefile: Likewise.
57156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
57157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
57158 New file.
57159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
57160 file.
57161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
57162 New file.
57163 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
57164 file.
57165 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
57166 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
57167 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
57168 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
57169 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
57170
57171 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
57172 fzeros/fnegs to load 0x80000000 into a float register instead of
57173 using the stack.
57174 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
57175
57176 2012-03-14 Joseph Myers <joseph@codesourcery.com>
57177
57178 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57179 bits/syscall.h.
57180 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
57181 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
57182 ($(inst_includedir)/bits/syscall.h): Remove rule.
57183 ($(objpfx)bits/syscall.d): Include instead of
57184 $(objpfx)syscall-list.d.
57185 (generated): Change syscall-list.h and syscall-list.d to
57186 bits/syscall.h and bits/syscall.d.
57187
57188 2012-03-14 Roland McGrath <roland@hack.frob.com>
57189
57190 [BZ #13846]
57191 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
57192
57193 2012-03-14 Joseph Myers <joseph@codesourcery.com>
57194
57195 [BZ #13841]
57196 * math/s_csqrt.c: Include <float.h>.
57197 (__csqrt): Scale large or subnormal inputs.
57198 * math/s_csqrtf.c: Likewise.
57199 * math/s_csqrtl.c: Likewise.
57200 * math/libm-test.inc (csqrt_test): Add more tests.
57201 * sysdeps/i386/fpu/libm-test-ulps: Update.
57202 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57203
57204 [BZ #13840]
57205 * math/libm-test.inc (hypot_test): Add more tests.
57206
57207 2012-03-13 David S. Miller <davem@davemloft.net>
57208
57209 [BZ #13840]
57210 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
57211 double-precision for the calculation instead of scaling.
57212
57213 2012-03-13 Joseph Myers <joseph@codesourcery.com>
57214
57215 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
57216 manipulate bits before adding and subtracting TWO52[sx].
57217 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
57218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
57219 Likewise.
57220 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
57221
57222 2012-03-13 David S. Miller <davem@davemloft.net>
57223
57224 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
57225 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
57226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
57227 rtld-global-offsets.h
57228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
57229
57230 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
57231 large parameters.
57232
57233 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
57234
57235 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
57236 'err' in the ifdef scope in which it is actually used.
57237
57238 * nss/nss_db/db-init.c: Include string.h
57239
57240 2012-03-12 David S. Miller <davem@davemloft.net>
57241
57242 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
57243 masking out of the most significant byte of random value used.
57244 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57245 Fix coding style in previous change.
57246
57247 * sysdeps/unix/sysv/linux/kernel-features.h
57248 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
57249 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
57250 expression.
57251 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
57252 later.
57253
57254 2012-03-11 David S. Miller <davem@davemloft.net>
57255
57256 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57257 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
57258 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
57259 for 'resultvar' otherwise things get truncated on 64-bit.
57260
57261 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57262 Fix masking out of the most significant byte of random value used.
57263
57264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57265
57266 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
57267
57268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57269
57270 2012-03-09 David S. Miller <davem@davemloft.net>
57271
57272 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
57273 variables with appropriate CPP guards.
57274 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
57275 from the frame pointer, not the stack pointer. Correct layout
57276 comments. Fix test on resulting framesize and the management of
57277 the outregs buffer for pltexit. Preserve floating point return
57278 values across _dl_call_pltexit call.
57279 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
57280 framesize and the management of the outregs buffer for pltexit.
57281 Preserve floating point return values across _dl_call_pltexit
57282 call.
57283 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
57284 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
57285 (la_sparc64_gnu_pltexit): New functions.
57286 (print_exit): Fix format string for return register value.
57287
57288 2012-03-10 Joseph Myers <joseph@codesourcery.com>
57289
57290 * sunrpc/Makefile (others): Add rpcgen.
57291 ($(objpfx)rpcgen): Remove special build rule and dependency on
57292 libc.
57293 * sunrpc/rpcgen.c: New file.
57294
57295 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
57296
57297 [BZ #13673]
57298 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
57299 * stdio-common/bug-vfprintf-nargs.c: Likewise.
57300 * sysdeps/i386/crti.S: Likewise.
57301 * sysdeps/i386/crtn.S: Likewise.
57302 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
57303 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
57304 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
57305 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
57306 * sysdeps/sh/crti.S: Likewise.
57307 * sysdeps/sh/crtn.S: Likewise.
57308 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
57309
57310 [BZ #13673]
57311 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
57312 with URL.
57313 * locale/programs/locfile-kw.gperf: Likewise.
57314 * locale/programs/charmap-kw.h: Regenerated.
57315 * locale/programs/locfile-kw.h: Likewise.
57316
57317 [BZ #13673]
57318 * intl/plural.y: Replace FSF snail mail address with URL.
57319 * intl/plural.c: Regenerated.
57320
57321 2012-03-09 Richard Henderson <rth@twiddle.net>
57322
57323 * include/math_private.h: Remove file.
57324 * math/math_private.h: Move file ...
57325 * sysdeps/generic/math_private.h: ... here.
57326
57327 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
57328 * sysdeps/powerpc/fpu/math_private.h: Likewise.
57329 * sysdeps/x86_64/fpu/math_private.h: Likewise.
57330
57331 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
57332 and <math_private.h>.
57333 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
57334 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
57335 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
57336 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
57337 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
57338 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
57339 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
57340 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
57341 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
57342 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
57343 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
57344 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
57345 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
57346 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
57347 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
57348 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
57349 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
57350 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
57351 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
57352 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
57353 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
57354 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
57355 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
57356 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
57357 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
57358 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
57359 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
57360 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
57361 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
57362 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
57363 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
57364 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
57365 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
57366 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
57367 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
57368 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
57369 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
57370 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
57371 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
57372 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
57373 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
57374 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
57375 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
57376 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
57377 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
57378 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
57379 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
57380 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
57381 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
57382 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
57383 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
57384 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
57385 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
57386 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
57387 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
57388 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
57389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
57390 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
57391 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
57392 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
57393 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
57394 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
57395 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
57396 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
57397 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
57398 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
57399 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
57400 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
57401 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
57402 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
57403 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57404 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
57405 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57406 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57407 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
57408 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
57409 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
57410 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
57412 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
57413 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57414 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
57415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57416 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
57417 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57418 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
57419 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
57420 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
57421 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
57422 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
57423 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
57424 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
57425 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
57426 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
57427 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
57428 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
57429 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
57430 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
57431 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
57432 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
57433 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
57434 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
57435 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
57436 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
57437 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
57438 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
57439 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
57440 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
57441 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
57442 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
57443 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
57444 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
57445 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
57446 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
57447 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
57448 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
57449 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
57450 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
57451 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
57452 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
57453 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
57454 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
57455 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
57456 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
57457 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
57458 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
57459 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
57460 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
57461 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
57462 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
57463 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
57464 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
57465 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
57466 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
57467 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
57468 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
57469 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
57470 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
57471 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
57472 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
57473 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
57474 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
57475 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
57476 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
57477 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
57478 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
57479 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
57480 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
57481 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
57482 * sysdeps/ieee754/k_standard.c: Likewise.
57483 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
57484 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
57485 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
57486 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
57487 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
57488 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
57489 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
57490 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
57491 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
57492 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
57493 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
57494 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
57495 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
57496 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
57497 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
57498 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
57499 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
57500 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
57501 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
57502 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
57503 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
57504 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
57505 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
57506 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
57507 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
57508 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
57509 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
57510 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
57511 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
57512 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
57513 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
57514 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
57515 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
57516 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
57517 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
57518 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
57519 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
57520 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
57521 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
57522 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
57523 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
57524 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
57525 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
57526 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
57527 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
57528 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
57529 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
57530 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
57531 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
57532 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
57533 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
57534 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
57535 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
57536 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
57537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
57538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
57539 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
57540 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
57541 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
57542 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
57543 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
57544 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
57545 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
57546 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
57547 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
57548 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
57549 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
57550 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
57551 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
57552 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
57553 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
57554 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
57555 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
57556 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
57557 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
57558 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
57559 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
57560 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
57561 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57562 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
57563 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
57564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
57565 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
57566 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
57567 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
57568 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
57569 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
57570 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
57571 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
57572 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
57573 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
57574 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
57575 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
57576 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
57577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
57578 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
57579 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
57580 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
57581 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
57582 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
57583 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
57584 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
57585 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
57586 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
57587 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
57588 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
57589 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
57590 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
57591 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
57592 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
57593 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
57594 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
57595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
57596 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
57597 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
57598 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
57599 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
57600 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
57601 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
57602 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
57603 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
57604 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
57605 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57606 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
57607 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
57608 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
57609 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57610 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
57611 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
57612 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
57613 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57614 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57615 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57616 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57617 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
57618 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
57619 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
57620 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57621 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57622 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
57623 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
57624 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57625 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
57626 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
57627 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
57628 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57629 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57630 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
57631 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
57632 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
57633 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57634 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
57635 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
57636 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57637 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
57638 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
57639 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
57640 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
57641 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
57642 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57643 * sysdeps/ieee754/s_lib_version.c: Likewise.
57644 * sysdeps/ieee754/s_matherr.c: Likewise.
57645 * sysdeps/ieee754/s_signgam.c: Likewise.
57646 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57647 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57648 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
57649 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
57650 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
57651 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
57652 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
57653 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
57654 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
57655 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
57656 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
57657 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
57658 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
57659 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
57660 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
57661 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
57662 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57663 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
57664 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57665 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
57666 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
57667
57668 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57669
57670 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
57671 * sunrpc/rpc_main.c: Likewise.
57672 * sunrpc/rpc_svcout.c: Likewise.
57673
57674 2012-03-09 David S. Miller <davem@davemloft.net>
57675
57676 * include/math_private.h: New file.
57677
57678 2012-03-09 Joseph Myers <joseph@codesourcery.com>
57679
57680 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
57681 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
57682 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
57683 from <bits/socket_type.h>.
57684 (enum __socket_type): Don't define here.
57685 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
57686 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
57687 bits/socket_type.h.
57688
57689 [BZ #13566]
57690 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
57691 checking __USE_GNU.
57692
57693 * Makerules ($(inst_includedir)/%.h): New rule.
57694 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
57695 (install-others): Remove variable setting.
57696 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
57697
57698 2012-03-08 Richard Henderson <rth@twiddle.net>
57699
57700 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
57701 from macro to inline function; merge with the
57702 !__LIBC_INTERNAL_MATH_INLINES version.
57703 (__ieee754_sqrtf): Likewise.
57704
57705 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
57706 to inline function.
57707 (__rintf, __floor, __floorf): Likewise.
57708
57709 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
57710 macro to inline function.
57711 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
57712
57713 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
57714 not <math/math_private.h>.
57715
57716 2012-03-08 David S. Miller <davem@davemloft.net>
57717
57718 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
57719 copyright year.
57720 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
57721
57722 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
57723
57724 * resolv/gai_misc.c (handle_requests): Fix struct timespec
57725 normalization.
57726 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
57727 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
57728
57729 2012-03-08 Ulrich Drepper <drepper@gmail.com>
57730
57731 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
57732 be defined individually, they must be defined as a block. Define
57733 S for printing a string instead of hidint the different by using a
57734 macro for adding the 'l'.
57735 * stdio-common/tst-fphex-wide.c: Adjust.
57736
57737 2012-03-07 Marek Polacek <polacek@redhat.com>
57738
57739 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
57740
57741 2012-03-08 Marek Polacek <polacek@redhat.com>
57742
57743 [BZ #13806]
57744 * stdio-common/Makefile (tests): Add tst-fphex-wide.
57745 * stdio-common/tst-fphex.c: Define a few macros to make the
57746 test reusable. Use them.
57747 * stdio-common/tst-fphex-wide.c: New file.
57748
57749 2012-03-08 Joseph Myers <joseph@codesourcery.com>
57750
57751 [BZ #6911]
57752 * manual/macros.texi (gnusystems): New macro.
57753 (nongnusystems): Likewise.
57754 (gnulinuxhurdsystems): Likewise.
57755 (gnuhurdsystems): Likewise..
57756 (gnulinuxsystems): Likewise.
57757 * manual/charset.texi: Use new macros or @theglibc{} to refer to
57758 variants of the GNU system, not "GNU system".
57759 * manual/conf.texi: Likewise.
57760 * manual/errno.texi: Likewise. Update example of errno macro
57761 expansion.
57762 * manual/filesys.texi: Likewise.
57763 (getumask): Document as specific to GNU/Hurd.
57764 * manual/install.texi: Likewise. Reword some references to
57765 GNU/Linux.
57766 * manual/intro.texi: Likewise.
57767 * manual/io.texi: Likewise.
57768 (File Name Portability): Detail which constraints are inapplicable
57769 to all GNU systems and which are only inapplicable to GNU/Hurd.
57770 * manual/job.texi: Likewise.
57771 * manual/llio.texi: Likewise.
57772 (O_NOCTTY): Document as present on GNU/Linux.
57773 * manual/maint.texi: Likewise.
57774 * manual/memory.texi: Likewise.
57775 * manual/pattern.texi: Likewise.
57776 * manual/pipe.texi: Likewise.
57777 * manual/process.texi: Likewise.
57778 * manual/resource.texi: Likewise.
57779 (RUSAGE_CHILDREN): Remove statement about specifying a particular
57780 child on GNU/Hurd.
57781 * manual/setjmp.texi: Likewise.
57782 * manual/signal.texi: Likewise.
57783 * manual/startup.texi: Likewise.
57784 * manual/stdio.texi: Likewise.
57785 * manual/terminal.texi: Likewise.
57786 (ONLCR): Document as POSIX.
57787 (OXTABS): Document availability on GNU/Linux as XTABS.
57788 (ONOEOT): Document availability separately from other bits.
57789 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
57790 * manual/time.texi: Likewise.
57791 * manual/users.texi: Likewise.
57792 * INSTALL: Regenerated.
57793 * sysdeps/gnu/errlist.c: Regenerated.
57794
57795 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
57796 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
57797 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
57798 puts.
57799 * configure: Regenerated.
57800
57801 2012-03-07 Joseph Myers <joseph@codesourcery.com>
57802
57803 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
57804 default includes instead of AC_HEADER_CHECK.
57805 * sysdeps/i386/configure: Regenerated.
57806
57807 [BZ #10716]
57808 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
57809 * math/s_cacoshf.c (__cacoshf): Likewise.
57810 * math/s_cacoshl.c (__cacoshl): Likewise.
57811 * math/s_casinh.c (__casinh): Set signs of result from argument.
57812 * math/s_casinhf.c (__casinhf): Likewise.
57813 * math/s_casinhl.c (__casinhl): Likewise.
57814 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
57815 (casinh_test): Add more tests.
57816 * sysdeps/i386/fpu/libm-test-ulps: Update.
57817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57818
57819 2012-03-07 Ulrich Drepper <drepper@gmail.com>
57820
57821 * po/zh_TW.po: Update from translation team.
57822
57823 * login/Makefile (distribute): Remove variable.
57824 * catgets/Makefile: Likewise.
57825 * mach/Makefile: Likewise.
57826 * malloc/Makefile: Likewise.
57827 * misc/Makefile: Likewise.
57828 * iconv/Makefile: Likewise.
57829 * nscd/Makefile: Likewise.
57830 * hurd/Makefile: Likewise.
57831 * manual/Makefile: Likewise.
57832 * locale/Makefile: Likewise.
57833 * intl/Makefile: Likewise.
57834 * conform/Makefile: Likewise.
57835 * nss/Makefile: Likewise.
57836 * time/Makefile: Likewise.
57837 * soft-fp/Makefile: Likewise.
57838 * dirent/Makefile: Likewise.
57839 * gmon/Makefile: Likewise.
57840 * po/Makefile: Likewise.
57841 * rt/Makefile: Likewise.
57842 * socket/Makefile: Likewise.
57843 * math/Makefile: Likewise.
57844 * signal/Makefile: Likewise.
57845 * debug/Makefile: Likewise.
57846 * elf/Makefile: Likewise.
57847 * timezone/Makefile: Likewise.
57848 * stdlib/Makefile: Likewise.
57849 * iconvdata/Makefile: Likewise.
57850 * sunrpc/Makefile: Likewise.
57851 * io/Makefile: Likewise.
57852 * argp/Makefile: Likewise.
57853 * inet/Makefile: Likewise.
57854 * hesiod/Makefile: Likewise.
57855 * grp/Makefile: Likewise.
57856 * csu/Makefile: Likewise.
57857 * wctype/Makefile: Likewise.
57858 * crypt/Makefile: Likewise.
57859 * libio/Makefile: Likewise.
57860 * string/Makefile: Likewise.
57861 * nis/Makefile: Likewise.
57862 * resolv/Makefile: Likewise.
57863 * stdio-common/Makefile: Likewise.
57864 * wcsmbs/Makefile: Likewise.
57865 * dlfcn/Makefile: Likewise.
57866 * posix/Makefile: Likewise.
57867
57868 [BZ #6959]
57869 * timezone/Makefile: Don't install timezone files, just the programs
57870 and scripts.
57871
57872 2012-03-06 Ulrich Drepper <drepper@gmail.com>
57873
57874 * nss/databases.def: Add missing gshadow entry.
57875
57876 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
57877
57878 2012-03-06 Marek Polacek <polacek@redhat.com>
57879
57880 [BZ #13726]
57881 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
57882 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
57883 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
57884 * stdio-common/tst-long-dbl-fphex.c: New file.
57885
57886 2012-03-06 David S. Miller <davem@davemloft.net>
57887
57888 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
57889 (set_obp_int): New function.
57890 (get_obp_int): New function.
57891 (__get_clockfreq_via_dev_openprom): Likewise.
57892 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
57893 Avoid unused variable warnings on 'val' and use builtin_expect.
57894 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
57895 __builtin_expect.
57896 (INLINE_CLONE_SYSCALL): Likewise.
57897
57898 2012-03-05 David S. Miller <davem@davemloft.net>
57899
57900 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57901
57902 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
57903
57904 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57905
57906 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
57907 only for |x| >= 40.
57908 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
57909
57910 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
57911
57912 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
57913 Replace gettimeofday with __vdso_gettimeofday.
57914
57915 * sysdeps/unix/sysv/linux/x86_64/init-first.c
57916 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
57917 __vdso_clock_gettime and __vdso_getcpu.
57918
57919 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
57920 time with __vdso_time.
57921
57922 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57923
57924 * manual/lang.texi (size_t): Note types to which size_t may be
57925 equivalent with the GNU C Library, but do not describe when
57926 differences between them are significant.
57927
57928 2012-03-05 Andreas Jaeger <aj@suse.de>
57929
57930 * sysdeps/i386/fpu/libm-test-ulps: Update.
57931
57932 2012-03-05 Joseph Myers <joseph@codesourcery.com>
57933
57934 [BZ #3976]
57935 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
57936 (__ieee754_pow): Save and restore rounding mode and use
57937 round-to-nearest for main computations.
57938 * math/libm-test.inc (pow_test_tonearest): New function.
57939 (pow_test_towardzero): Likewise.
57940 (pow_test_downward): Likewise.
57941 (pow_test_upward): Likewise.
57942 (main): Call the new functions.
57943 * sysdeps/i386/fpu/libm-test-ulps: Update.
57944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57945
57946 [BZ #3976]
57947 * math/libm-test.inc (cosh_test_tonearest): New function.
57948 (cosh_test_towardzero): Likewise.
57949 (cosh_test_downward): Likewise.
57950 (cosh_test_upward): Likewise.
57951 (sinh_test_tonearest): Likewise.
57952 (sinh_test_towardzero): Likewise.
57953 (sinh_test_downward): Likewise.
57954 (sinh_test_upward): Likewise.
57955 (main): Call the new functions.
57956 * sysdeps/i386/fpu/libm-test-ulps: Update.
57957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57958
57959 2012-03-05 Tom de Vries <tom@codesourcery.com>
57960
57961 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
57962 default stack guard is set in last bytes.
57963 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
57964
57965 2012-03-05 Kees Cook <keescook@chromium.org>
57966
57967 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
57968
57969 [BZ #13656]
57970 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
57971 possibly allocate from heap instead of stack.
57972 * stdio-common/bug-vfprintf-nargs.c: New file.
57973 * stdio-common/Makefile (tests): Add nargs overflow test.
57974
57975 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
57976
57977 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57978
57979 2012-03-03 Marek Polacek <polacek@redhat.com>
57980
57981 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
57982 * math/math_private.h: Likewise.
57983 * stdlib/tst-strtod.c: Likewise.
57984 * sysdeps/i386/i486/bits/atomic.h: Likewise.
57985 * sysdeps/x86_64/bits/atomic.h: Likewise.
57986
57987 2012-03-02 David S. Miller <davem@davemloft.net>
57988
57989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
57990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
57991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
57992 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
57993 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
57994 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
57995 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
57996 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
57997
57998 2012-03-02 Roland McGrath <roland@hack.frob.com>
57999
58000 [BZ #13792]
58001 * manual/examples/README: New file, says the example source files
58002 can be used under GPL>=2.
58003 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
58004 line containing just "*/".
58005 * manual/examples/add.c: Add copyright header (GPL>=2).
58006 * manual/examples/argp-ex1.c: Likewise.
58007 * manual/examples/argp-ex2.c: Likewise.
58008 * manual/examples/argp-ex3.c: Likewise.
58009 * manual/examples/argp-ex4.c: Likewise.
58010 * manual/examples/atexit.c: Likewise.
58011 * manual/examples/db.c: Likewise.
58012 * manual/examples/dir.c: Likewise.
58013 * manual/examples/dir2.c: Likewise.
58014 * manual/examples/execinfo.c: Likewise.
58015 * manual/examples/filecli.c: Likewise.
58016 * manual/examples/filesrv.c: Likewise.
58017 * manual/examples/fmtmsgexpl.c: Likewise.
58018 * manual/examples/genpass.c: Likewise.
58019 * manual/examples/inetcli.c: Likewise.
58020 * manual/examples/inetsrv.c: Likewise.
58021 * manual/examples/isockad.c: Likewise.
58022 * manual/examples/longopt.c: Likewise.
58023 * manual/examples/memopen.c: Likewise.
58024 * manual/examples/memstrm.c: Likewise.
58025 * manual/examples/mkfsock.c: Likewise.
58026 * manual/examples/mkisock.c: Likewise.
58027 * manual/examples/mygetpass.c: Likewise.
58028 * manual/examples/pipe.c: Likewise.
58029 * manual/examples/popen.c: Likewise.
58030 * manual/examples/rprintf.c: Likewise.
58031 * manual/examples/search.c: Likewise.
58032 * manual/examples/select.c: Likewise.
58033 * manual/examples/setjmp.c: Likewise.
58034 * manual/examples/sigh1.c: Likewise.
58035 * manual/examples/sigusr.c: Likewise.
58036 * manual/examples/stpcpy.c: Likewise.
58037 * manual/examples/strdupa.c: Likewise.
58038 * manual/examples/strftim.c: Likewise.
58039 * manual/examples/strncat.c: Likewise.
58040 * manual/examples/subopt.c: Likewise.
58041 * manual/examples/swapcontext.c: Likewise.
58042 * manual/examples/termios.c: Likewise.
58043 * manual/examples/testopt.c: Likewise.
58044 * manual/examples/testpass.c: Likewise.
58045 * manual/examples/timeval_subtract.c: Likewise.
58046
58047 [BZ #13792]
58048 * manual/time.texi (Elapsed Time): Move timeval_subtract example
58049 function to ...
58050 * manual/timeval_subtract.c.texi: ... here, new file.
58051
58052 2012-03-02 David S. Miller <davem@davemloft.net>
58053
58054 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
58055
58056 2012-03-02 Joseph Myers <joseph@codesourcery.com>
58057
58058 [BZ #3976]
58059 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
58060 (__sin): Save and restore rounding mode and use round-to-nearest
58061 for all computations.
58062 (__cos): Save and restore rounding mode and use round-to-nearest
58063 for all computations.
58064 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
58065 <fenv.h>.
58066 (tan): Save and restore rounding mode and use round-to-nearest for
58067 all computations.
58068 * math/libm-test.inc (cos_test_tonearest): New function.
58069 (cos_test_towardzero): Likewise.
58070 (cos_test_downward): Likewise.
58071 (cos_test_upward): Likewise.
58072 (sin_test_tonearest): Likewise.
58073 (sin_test_towardzero): Likewise.
58074 (sin_test_downward): Likewise.
58075 (sin_test_upward): Likewise.
58076 (tan_test_tonearest): Likewise.
58077 (tan_test_towardzero): Likewise.
58078 (tan_test_downward): Likewise.
58079 (tan_test_upward): Likewise.
58080 (main): Call the new functions.
58081 * sysdeps/i386/fpu/libm-test-ulps: Update.
58082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58083
58084 [BZ #10135]
58085 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
58086 small n, then large n, before computing and testing k+n.
58087 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
58088 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
58089 Likewise.
58090 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
58091 Likewise.
58092 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
58093 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
58094 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
58095 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
58096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
58097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
58098 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
58099 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
58100 * math/libm-test.inc (scalbn_test): Add more tests.
58101 (scalbln_test): Likewise.
58102
58103 * manual/filesys.texi (mode_t): Describe constraints on size and
58104 signedness, not exact equivalence to a particular type.
58105 (ino_t): Likewise.
58106 (ino64_t): Likewise.
58107 (dev_t): Likewise.
58108 (nlink_t): Likewise.
58109 (blkcnt_t): Likewise.
58110 (blkcnt64_t): Likewise.
58111 * manual/llio.texi (off_t): Likewise.
58112
58113 [BZ #3976]
58114 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
58115 (__ieee754_exp): Save and restore rounding mode and use
58116 round-to-nearest for all computations.
58117 * math/libm-test.inc (exp_test_tonearest): New function.
58118 (exp_test_towardzero): Likewise.
58119 (exp_test_downward): Likewise.
58120 (exp_test_upward): Likewise.
58121 (main): Call the new functions.
58122 * sysdeps/i386/fpu/libm-test-ulps: Update.
58123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58124
58125 2012-03-01 Chris Demetriou <cgd@google.com>
58126
58127 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
58128 have predictable order.
58129
58130 2012-03-01 David S. Miller <davem@davemloft.net>
58131
58132 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
58133
58134 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
58135 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
58136 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
58137 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
58138
58139 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
58140 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
58141 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
58142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
58143 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
58144 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
58145 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
58146 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
58147 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
58148
58149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58150
58151 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
58152 * sysdeps/sparc/fpu/libm-test-ulps: to here.
58153 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
58154
58155 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
58156 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
58157 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58158 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
58159 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
58160 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
58161 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
58162 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
58163 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58164 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
58165 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
58166 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58167 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
58168 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58169 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58170 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58171 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
58172 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
58173 * sysdeps/sparc/elf/configure: Regenerated.
58174
58175 2012-03-01 Joseph Myers <joseph@codesourcery.com>
58176
58177 * configure.in (AS, LD): Require binutils 2.20 or later.
58178 * configure: Regenerated.
58179 * manual/install.texi (Tools for Compilation): Give binutils 2.20
58180 as required minimum version.
58181 * INSTALL: Regenerated.
58182
58183 [BZ #2541]
58184 [BZ #4108]
58185 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
58186 before squaring exponent.
58187 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
58188 bottom long double and 27 bits of top long double before squaring
58189 exponent.
58190 * math/libm-test.inc (erfc_test): Add more tests.
58191 * sysdeps/i386/fpu/libm-test-ulps: Update.
58192 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58194
58195 2012-03-01 Kai Tietz <ktietz@redhat.com>
58196
58197 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
58198 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
58199 containing bit-fields.
58200 * soft-fp/extended.h (_FP_UNION_E): Likewise.
58201 * soft-fp/single.h (_FP_UNION_S): Likewise.
58202 * soft-fp/double.h (_FP_UNION_D): Likewise.
58203
58204 2012-02-29 Joseph Myers <joseph@codesourcery.com>
58205
58206 [BZ #13786]
58207 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
58208 not include ../strcmp.S.
58209 [USE_AS_STRNCASECMP_L]: Likewise.
58210 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
58211 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
58212 * sysdeps/i386/i686/multiarch/strncase_l-c.c
58213 (__strncasecmp_l_ia32): Define as alias to
58214 __strncasecmp_l_nonascii.
58215
58216 [BZ #5794]
58217 * math/libm-test.inc (expm1_test): Add test for bug 5794.
58218 * sysdeps/i386/fpu/libm-test-ulps: Update.
58219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58220
58221 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
58222 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58223
58224 2012-02-29 Jeff Law <law@redhat.com>
58225
58226 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
58227 out of bounds read.
58228
58229 2012-02-29 Marek Polacek <polacek@redhat.com>
58230
58231 [BZ #13706]
58232 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
58233 * elf/Makefile: Add rules to run tst-unused-dep.out.
58234
58235 2012-02-28 David S. Miller <davem@davemloft.net>
58236
58237 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
58238 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
58239 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
58240 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
58241 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
58242 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
58243
58244 2012-02-29 Joseph Myers <joseph@codesourcery.com>
58245
58246 * math/libm-test.inc (llround_test): Move one test from
58247 lround_test. Use TEST_f_L in moved test.
58248 (lround_test): Move misplaced test to llround_test. Add testcase
58249 from bug 2561.
58250
58251 2012-02-28 Ulrich Drepper <drepper@gmail.com>
58252
58253 * sysdeps/x86_64/fpu/e_expf.S: New file.
58254 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
58255
58256 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
58257
58258 [BZ #13637]
58259 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
58260 of remain_len that may cause incomplete multi-byte character and
58261 false match.
58262 * posix/bug-regex33.c: New file.
58263 * posix/Makefile (tests): Add bug-regex33.
58264
58265 2012-02-28 Joseph Myers <joseph@codesourcery.com>
58266
58267 * manual/macros.texi: New file.
58268 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
58269 * manual/libc.texinfo: Include macros.texi.
58270 * manual/creatute.texi: Likewise.
58271 * manual/install.texi: Likewise.
58272 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
58273 @glibcadj{} in references to the GNU C Library.
58274 * manual/charset.texi: Likewise.
58275 * manual/conf.texi: Likewise.
58276 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
58277 when not using those macros.
58278 * manual/creature.texi: Likewise.
58279 * manual/crypt.texi: Likewise.
58280 * manual/errno.texi: Likewise.
58281 * manual/filesys.texi: Likewise.
58282 * manual/header.texi: Likewise.
58283 * manual/install.texi: Likewise.
58284 * manual/intro.texi: Likewise.
58285 * manual/io.texi: Likewise.
58286 * manual/job.texi: Likewise.
58287 * manual/lang.texi: Likewise.
58288 * manual/libc.texiinfo: Likewise.
58289 * manual/llio.texi: Likewise.
58290 * manual/locale.texi: Likewise.
58291 * manual/maint.texi: Likewise.
58292 * manual/math.texi: Likewise.
58293 * manual/memory.texi: Likewise.
58294 * manual/message.texi: Likewise.
58295 * manual/nss.texi: Likewise.
58296 * manual/pattern.texi: Likewise.
58297 * manual/process.texi: Likewise.
58298 * manual/resource.texi: Likewise.
58299 * manual/search.texi: Likewise.
58300 * manual/setjmp.texi: Likewise.
58301 * manual/signal.texi: Likewise.
58302 * manual/socket.texi: Likewise.
58303 * manual/startup.texi: Likewise.
58304 * manual/stdio.texi: Likewise.
58305 * manual/string.texi: Likewise.
58306 * manual/sysinfo.texi: Likewise.
58307 * manual/syslog.texi: Likewise.
58308 * manual/terminal.texi: Likewise.
58309 * manual/time.texi: Likewise.
58310 * manual/users.texi: Likewise.
58311 * INSTALL: Regenerated.
58312 * NOTES: Regenerated.
58313 * sysdeps/gnu/errlist.c: Regenerated.
58314
58315 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
58316
58317 * include/dirent.h: Include <dirstream.h> before
58318 <dirent/dirent.h>.
58319
58320 2012-02-28 David S. Miller <davem@davemloft.net>
58321
58322 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
58323 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
58324 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
58325 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
58326
58327 2012-02-27 David S. Miller <davem@davemloft.net>
58328
58329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
58330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
58331 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
58332 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
58333
58334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
58335 frame pointer instead of stack pointer relative arg slot.
58336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58337 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58338 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58339
58340 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
58341
58342 [BZ #3992]
58343 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
58344
58345 2012-02-27 David S. Miller <davem@davemloft.net>
58346
58347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
58348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
58349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
58350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
58351 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
58352 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
58353 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
58354 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
58355
58356 2012-02-27 Joseph Myers <joseph@codesourcery.com>
58357
58358 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
58359 later. Allow versions 5-9.
58360 * configure: Regenerated.
58361 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
58362 required minimum version and 4.6 as recommended version. Do not
58363 mention bugs in GCC 2.7 and 2.8.
58364 * INSTALL: Regenerated.
58365
58366 2012-02-27 David S. Miller <davem@davemloft.net>
58367
58368 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
58369 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
58370 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
58371 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
58372 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
58373 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
58374 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
58375 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
58376
58377 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
58378 manipulate bits before adding and subtracting TWO112[sx].
58379 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58380
58381 2012-02-27 Roland McGrath <roland@hack.frob.com>
58382
58383 [BZ #13775]
58384 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
58385 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
58386 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
58387 being in POSIX, because they are in 1003.1-2008.
58388
58389 * rt/tst-aio.c: Include <fcntl.h>.
58390 * rt/tst-aio7.c: Likewise.
58391 * rt/tst-aio64.c: Likewise.
58392
58393 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
58394
58395 2012-02-27 Joseph Myers <joseph@codesourcery.com>
58396
58397 * manual/install.texi (--with-headers): Describe headers as
58398 interface headers, not private headers.
58399 (Specific advice for GNU/Linux systems): Describe use of headers
58400 from "make headers_install", not private headers from older
58401 kernels.
58402 * INSTALL: Regenerated.
58403 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
58404 Change to 2.6.19.
58405 * sysdeps/unix/sysv/linux/configure: Regenerated.
58406
58407 * manual/llio.texi (fclean): Remove documentation.
58408
58409 * manual/Makefile (libc-texi-generated): New variable. Include
58410 version.texi.
58411 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
58412 $(libc-texi-generated), not duplicated list of files.
58413 (version.texi, stamp-version): New rules.
58414 (realclean): Remove $(libc-texi-generated), not individual files
58415 from that list. Do not remove dir-add.texinfo.
58416 * manual/libc.texinfo: Comment out uses of edition numbers and
58417 references to printed manual. Remove last-updated dates.
58418 (EDITION): Comment out.
58419 (ISBN): Likewise.
58420 (VERSION, UPDATED): Remove.
58421 (version.texi): Include.
58422
58423 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
58424
58425 * sysdeps/posix/spawni.c: Include <signal.h>.
58426 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
58427 * sysdeps/pthread/aio_fsync.c: Likewise.
58428
58429 2012-02-26 Ulrich Drepper <drepper@gmail.com>
58430
58431 * conform/Makefile (tests): Run only when not cross-compiling and
58432 when fast-check is not defined.
58433
58434 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
58435 * conform/data/limits.h-data: Fixes for POSIX2008.
58436 * conform/run-conformtest.sh: Run all tests.
58437 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
58438 headers.
58439 * include/bits/dlfcn.h: Likewise.
58440 * include/langinfo.h: Likewise.
58441 * include/monetary.h: Likewise.
58442 * include/sys/poll.h: Likewise.
58443
58444 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
58445 for __USE_GNU.
58446 * posix/spawn.h: Define __need_sigset_t.
58447 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
58448 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
58449 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
58450 to get sigevent_t only.
58451 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
58452 only for __USE_GNU.
58453 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
58454 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
58455 process_vm_writev only for __USE_GNU.
58456 * termios/termios.h: Declare tcgetsid also for POSIX2008.
58457
58458 * conform/Makefile: For now ignore errors from run-conformtest.
58459 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
58460 POSIX to avoid namespace pollution. Don't prepend headers.
58461 * conform/data/aio.h-data: Fixes for POSIX testing.
58462 * conform/data/fcntl.h-data: Likewise.
58463 * conform/data/glob.h-data: Likewise.
58464 * conform/data/grp.h-data: Likewise.
58465 * conform/data/pthread.h-data: Likewise.
58466 * conform/data/pwd.h-data: Likewise.
58467 * conform/data/signal.h-data: Likewise.
58468 * conform/data/spawn.h-data: Likewise.
58469 * conform/data/stdio.h-data: Likewise.
58470 * conform/data/stdlib.h-data: Likewise.
58471 * conform/data/stropts.h-data: Likewise.
58472 * conform/data/sys/mman.h-data: Likewise.
58473 * conform/data/sys/stat.h-data: Likewise.
58474 * conform/data/sys/types.h-data: Likewise.
58475 * conform/data/sys/wait.h-data: Likewise.
58476 * conform/data/time.h-data: Likewise.
58477 * conform/data/unistd.h-data: Likewise.
58478 * conform/data/utime.h-data: Likewise.
58479
58480 * io/sys/stat.h: fchmod was always in POSIX.
58481 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
58482 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
58483 * rt/aio.h: Define __need_timespec before including <time.h>.
58484 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
58485 struct. Add forward declaration of pthread_attr_t and use it in
58486 sigevent.
58487 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
58488 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
58489 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
58490 always remove CLK_TCK definition.
58491
58492 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
58493
58494 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
58495
58496 2012-02-25 Ulrich Drepper <drepper@gmail.com>
58497
58498 * conform/run-conformtest.sh: New file.
58499 * conform/Makefile: Run run-conformtest for tests.
58500 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
58501 support.
58502
58503 * conform/data/uchar.h-data: New file.
58504 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
58505 * conform/data/arpa/inet.h-data: Likewise.
58506 * conform/data/assert.h-data: Likewise.
58507 * conform/data/complex.h-data: Likewise.
58508 * conform/data/cpio.h-data: Likewise.
58509 * conform/data/ctype.h-data: Likewise.
58510 * conform/data/dirent.h-data: Likewise.
58511 * conform/data/dlfcn.h-data: Likewise.
58512 * conform/data/errno.h-data: Likewise.
58513 * conform/data/fcntl.h-data: Likewise.
58514 * conform/data/float.h-data: Likewise.
58515 * conform/data/fmtmsg.h-data: Likewise.
58516 * conform/data/fnmatch.h-data: Likewise.
58517 * conform/data/ftw.h-data: Likewise.
58518 * conform/data/glob.h-data: Likewise.
58519 * conform/data/grp.h-data: Likewise.
58520 * conform/data/iconv.h-data: Likewise.
58521 * conform/data/inttypes.h-data: Likewise.
58522 * conform/data/langinfo.h-data: Likewise.
58523 * conform/data/libgen.h-data: Likewise.
58524 * conform/data/limits.h-data: Likewise.
58525 * conform/data/locale.h-data: Likewise.
58526 * conform/data/math.h-data: Likewise.
58527 * conform/data/monetary.h-data: Likewise.
58528 * conform/data/mqueue.h-data: Likewise.
58529 * conform/data/ndbm.h-data: Likewise.
58530 * conform/data/net/if.h-data: Likewise.
58531 * conform/data/netdb.h-data: Likewise.
58532 * conform/data/netinet/in.h-data: Likewise.
58533 * conform/data/nl_types.h-data: Likewise.
58534 * conform/data/poll.h-data: Likewise.
58535 * conform/data/pthread.h-data: Likewise.
58536 * conform/data/pwd.h-data: Likewise.
58537 * conform/data/regex.h-data: Likewise.
58538 * conform/data/sched.h-data: Likewise.
58539 * conform/data/search.h-data: Likewise.
58540 * conform/data/semaphore.h-data: Likewise.
58541 * conform/data/setjmp.h-data: Likewise.
58542 * conform/data/signal.h-data: Likewise.
58543 * conform/data/spawn.h-data: Likewise.
58544 * conform/data/stdarg.h-data: Likewise.
58545 * conform/data/stdio.h-data: Likewise.
58546 * conform/data/stdlib.h-data: Likewise.
58547 * conform/data/string.h-data: Likewise.
58548 * conform/data/strings.h-data: Likewise.
58549 * conform/data/stropts.h-data: Likewise.
58550 * conform/data/sys/ipc.h-data: Likewise.
58551 * conform/data/sys/mman.h-data: Likewise.
58552 * conform/data/sys/msg.h-data: Likewise.
58553 * conform/data/sys/resource.h-data: Likewise.
58554 * conform/data/sys/select.h-data: Likewise.
58555 * conform/data/sys/sem.h-data: Likewise.
58556 * conform/data/sys/shm.h-data: Likewise.
58557 * conform/data/sys/socket.h-data: Likewise.
58558 * conform/data/sys/stat.h-data: Likewise.
58559 * conform/data/sys/statvfs.h-data: Likewise.
58560 * conform/data/sys/time.h-data: Likewise.
58561 * conform/data/sys/timeb.h-data: Likewise.
58562 * conform/data/sys/times.h-data: Likewise.
58563 * conform/data/sys/types.h-data: Likewise.
58564 * conform/data/sys/uio.h-data: Likewise.
58565 * conform/data/sys/un.h-data: Likewise.
58566 * conform/data/sys/utsname.h-data: Likewise.
58567 * conform/data/sys/wait.h-data: Likewise.
58568 * conform/data/syslog.h-data: Likewise.
58569 * conform/data/tar.h-data: Likewise.
58570 * conform/data/termios.h-data: Likewise.
58571 * conform/data/utime.h-data: Likewise.
58572 * conform/data/utmpx.h-data: Likewise.
58573 * conform/data/varargs.h-data: Likewise.
58574 * conform/data/wchar.h-data: Likewise.
58575 * conform/data/wctype.h-data: Likewise.
58576 * conform/data/wordexp.h-data: Likewise.
58577
58578 * include/stropts.h: New file.
58579 * include/uchar.h: New file.
58580 * include/aio.h: Changes to allow conformtest.pl to use the headers.
58581 * include/assert.h: Likewise.
58582 * include/ctype.h: Likewise.
58583 * include/dirent.h: Likewise.
58584 * include/dlfcn.h: Likewise.
58585 * include/fcntl.h: Likewise.
58586 * include/fnmatch.h: Likewise.
58587 * include/glob.h: Likewise.
58588 * include/grp.h: Likewise.
58589 * include/libio.h: Likewise.
58590 * include/locale.h: Likewise.
58591 * include/math.h: Likewise.
58592 * include/net/if.h: Likewise.
58593 * include/netdb.h: Likewise.
58594 * include/netinet/in.h: Likewise.
58595 * include/pthread.h: Likewise.
58596 * include/pwd.h: Likewise.
58597 * include/regex.h: Likewise.
58598 * include/sched.h: Likewise.
58599 * include/search.h: Likewise.
58600 * include/setjmp.h: Likewise.
58601 * include/signal.h: Likewise.
58602 * include/stdio.h: Likewise.
58603 * include/stdlib.h: Likewise.
58604 * include/string.h: Likewise.
58605 * include/sys/cdefs.h: Likewise.
58606 * include/sys/mman.h: Likewise.
58607 * include/sys/msg.h: Likewise.
58608 * include/sys/resource.h: Likewise.
58609 * include/sys/select.h: Likewise.
58610 * include/sys/socket.h: Likewise.
58611 * include/sys/stat.h: Likewise.
58612 * include/sys/statvfs.h: Likewise.
58613 * include/sys/time.h: Likewise.
58614 * include/sys/times.h: Likewise.
58615 * include/sys/uio.h: Likewise.
58616 * include/sys/utsname.h: Likewise.
58617 * include/sys/wait.h: Likewise.
58618 * include/termios.h: Likewise.
58619 * include/time.h: Likewise.
58620 * include/ulimit.h: Likewise.
58621 * include/unistd.h: Likewise.
58622 * include/utime.h: Likewise.
58623 * include/wchar.h: Likewise.
58624 * include/wctype.h: Likewise.
58625 * include/wordexp.h: Likewise.
58626
58627 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
58628
58629 * time/time.h: TIME_UTC must be a macro.
58630 Make timespec_get available for ISO C11 only as well.
58631
58632 2012-02-24 Ulrich Drepper <drepper@gmail.com>
58633
58634 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
58635 Reported by Peng Haitao <penght@cn.fujitsu.com>.
58636
58637 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58638
58639 * configure.in: Use -o not -a in test for unsupported multi-arch.
58640
58641 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58642
58643 * manual/texinfo.tex: Update to version 2012-01-19.16.
58644
58645 2012-02-24 Joseph Myers <joseph@codesourcery.com>
58646
58647 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
58648
58649 2012-02-24 Roland McGrath <roland@hack.frob.com>
58650
58651 [BZ #13738]
58652 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
58653 * manual/fdl-1.3.texi: New file.
58654 * manual/fdl-1.1.texi: File removed.
58655
58656 [BZ #13738]
58657 * manual/libc.texinfo (FDL_VERSION): New @set.
58658 Use it for mention of FDL in cover text.
58659 (Documentation License): Use it in @include file name.
58660
58661 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58662 Roland McGrath <roland@hack.frob.com>
58663
58664 [BZ #5461]
58665 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
58666 (not LONG_LONG_MAX and LONG_LONG_MIN.
58667 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
58668 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
58669 name.
58670 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
58671
58672 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58673
58674 [BZ #2547]
58675 [BZ #11365]
58676 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
58677 manipulate bits before adding and subtracting TWO23[sx].
58678 * math/libm-test.inc (nearbyint_test): Add more tests.
58679
58680 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58681
58682 [BZ #2548]
58683 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
58684 bits before adding and subtracting TWO23[sx].
58685 * math/libm-test.inc (rint_test): Add more tests.
58686 (rint_test_tonearest): Likewise.
58687 (rint_test_towardzero): Likewise.
58688 (rint_test_downward): Likewise.
58689 (rint_test_upward: Likewise.
58690
58691 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58692
58693 [BZ #10110]
58694 * include/stdc-predef.h: New file. Extracted from features.h.
58695 * include/features.h: Include stdc-predef.h.
58696 * Makefile (headers): Add stdc-predef.h.
58697 * CONFORMANCE (Compiler limitations): Update.
58698
58699 2012-02-22 Joseph Myers <joseph@codesourcery.com>
58700
58701 * manual/libc.texinfo (VERSION, UPDATED): Revert.
58702
58703 2012-02-21 David S. Miller <davem@davemloft.net>
58704
58705 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
58706 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58707
58708 2012-02-20 David S. Miller <davem@davemloft.net>
58709
58710 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
58711 using a normal save/restore sequence, rather than allocating a
58712 dummy stack frame just to store a frame pointer and restore.
58713 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58714
58715 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58716
58717 * manual/install.texi: Fix stray word in line-wrapped comment.
58718
58719 2012-02-20 David S. Miller <davem@davemloft.net>
58720
58721 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
58722 both binutils and gcc support GOTDATA.
58723
58724 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
58725 "rd %pc" in the PIC register setup sequences.
58726
58727 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
58728 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
58729 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
58730 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
58731 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
58732 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
58733 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58734 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
58735 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
58736 (SYSCALL_ERROR_HANDLER): Likewise.
58737 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
58738 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
58739 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
58740 (SYSCALL_ERROR_HANDLER): Likewise.
58741
58742 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
58743 (HAVE_GCC_GOTDATA): New.
58744 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
58745 relocation support in both binutils and gcc.
58746 * sysdeps/sparc/elf/configure: Regenerate.
58747
58748 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
58749 * sysdeps/sparc/sparc32/elf/configure: Delete.
58750 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
58751 * sysdeps/sparc/sparc64/elf/configure: Delete.
58752 * sysdeps/sparc/elf/configure.in: New file.
58753 * sysdeps/sparc/elf/configure: Generate.
58754
58755 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
58756 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
58757 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
58758 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
58759 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
58760
58761 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58762
58763 * manual/install.texi: Do not mention specific glibc version
58764 numbers.
58765 * manual/libc.texinfo (VERSION, UPDATED): Update.
58766 (@copying): Use @copyright{} and range of years.
58767
58768 2012-02-21 Joseph Myers <joseph@codesourcery.com>
58769
58770 [BZ #13695]
58771 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
58772 [crti.S not in sysdirs] (generated): Do not append.
58773 [crti.S not in sysdirs] (omit-deps): Likewise.
58774 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
58775 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
58776 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
58777 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
58778 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
58779 Likewise.
58780 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
58781 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
58782 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
58783 * csu/defs.awk: Remove file.
58784 * sysdeps/generic/initfini.c: Likewise.
58785 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
58786 variable.
58787 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
58788 Likewise.
58789
58790 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58791
58792 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
58793 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
58794 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
58795 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
58796 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
58797 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
58798 <bits/epoll.h>.
58799 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
58800 (__EPOLL_PACKED): Define to empty if not defined by
58801 <bits/epoll.h>.
58802 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
58803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58804 bits/epoll.h.
58805
58806 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58807
58808 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
58809 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
58810 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
58811 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
58812 <bits/timerfd.h>.
58813 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
58814 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
58815 bits/timerfd.h.
58816
58817 2012-02-20 Joseph Myers <joseph@codesourcery.com>
58818
58819 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
58820 in C locale.
58821 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
58822 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
58823 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
58824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58825
58826 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
58827
58828 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
58829 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
58830
58831 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
58832
58833 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
58834 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
58835 defined.
58836 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
58837 Likewise.
58838 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
58839 entry for 2.16.
58840
58841 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
58842
58843 * math/w_acos.c: Use non-signaling floating-point comparisons.
58844 * math/w_acosf.c: Likewise.
58845 * math/w_acosh.c: Likewise.
58846 * math/w_acoshf.c: Likewise.
58847 * math/w_acoshl.c: Likewise.
58848 * math/w_acosl.c: Likewise.
58849 * math/w_asin.c: Likewise.
58850 * math/w_asinf.c: Likewise.
58851 * math/w_asinl.c: Likewise.
58852 * math/w_atanh.c: Likewise.
58853 * math/w_atanhf.c: Likewise.
58854 * math/w_atanhl.c: Likewise.
58855 * math/w_exp2.c: Likewise.
58856 * math/w_exp2f.c: Likewise.
58857 * math/w_exp2l.c: Likewise.
58858 * math/w_j0.c: Likewise.
58859 * math/w_j0f.c: Likewise.
58860 * math/w_j0l.c: Likewise.
58861 * math/w_j1.c: Likewise.
58862 * math/w_j1f.c: Likewise.
58863 * math/w_j1l.c: Likewise.
58864 * math/w_jn.c: Likewise.
58865 * math/w_jnf.c: Likewise.
58866 * math/w_log.c: Likewise.
58867 * math/w_log10.c: Likewise.
58868 * math/w_log10f.c: Likewise.
58869 * math/w_log10l.c: Likewise.
58870 * math/w_log2.c: Likewise.
58871 * math/w_log2f.c: Likewise.
58872 * math/w_log2l.c: Likewise.
58873 * math/w_logf.c: Likewise.
58874 * math/w_logl.c: Likewise.
58875 * math/w_sqrt.c: Likewise.
58876 * math/w_sqrtf.c: Likewise.
58877 * math/w_sqrtl.c: Likewise.
58878 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
58879 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
58880 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
58881 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
58882 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
58883
58884 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58885
58886 [BZ #9739]
58887 * manual/string.texi (strnlen): Use correct parameter name in
58888 equivalent expression.
58889
58890 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58891
58892 [BZ #11174]
58893 * manual/users.texi (seteuid): Consistently use neweuid for
58894 argument name.
58895
58896 2012-02-19 Joseph Myers <joseph@codesourcery.com>
58897
58898 [BZ #13704]
58899 * manual/nss.texi (Services in the NSS configuration): Correct
58900 list of services in example configuration file.
58901
58902 2012-02-19 Nick Bowler <nbowler@draconx.ca>
58903
58904 [BZ #11322]
58905 * manual/arith.texi: Remove statements about negative zero
58906 behaving identically to zero.
58907
58908 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58909
58910 [BZ #5993]
58911 * manual/install.texi: Do not document upgrading from libc5.
58912
58913 2012-02-18 Joseph Myers <joseph@codesourcery.com>
58914
58915 [BZ #4596]
58916 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
58917
58918 2012-02-18 David S. Miller <davem@davemloft.net>
58919
58920 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
58921 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
58922 %o7 across the call.
58923 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
58924 instead.
58925 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
58926 SETUP_PIC_REG_LEAF.
58927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
58928 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
58929 * sysdeps/sparc/crtn.S: Likewise.
58930
58931 2012-02-17 Ulrich Drepper <drepper@gmail.com>
58932
58933 * aout/Makefile: Remove.
58934
58935 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
58936
58937 [BZ #13058]
58938 * manual/examples/argp-ex1.c (main): Format definition in GNU
58939 style.
58940 * manual/examples/argp-ex2.c (main): Likewise.
58941 * manual/examples/argp-ex3.c (main): Likewise.
58942 * manual/examples/argp-ex4.c (main): Likewise.
58943 * manual/examples/longopt.c (main): Use new-style prototype
58944 definition.
58945 * manual/examples/strncat.c (main): Specify return type and use
58946 (void) for arguments.
58947 * manual/examples/subopt.c (main): Use char **argv argument.
58948
58949 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58950
58951 [BZ #5077]
58952 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
58953 rounding modes.
58954
58955 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
58956
58957 [BZ #6907]
58958 * manual/string.texi (strchr): Change when strchrnul is
58959 recommended.
58960
58961 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
58962
58963 [BZ #174]
58964 * manual/locale.texi (setlocale): Document LOCPATH.
58965
58966 2012-02-17 Joseph Myers <joseph@codesourcery.com>
58967
58968 [BZ #10210]
58969 * manual/process.texi (execle): Move @dots{} before last argument.
58970
58971 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
58972
58973 [BZ #12047]
58974 * manual/charset.texi (Generic Charset Conversion): Fix typo
58975 (LC_TYPE -> LC_CTYPE).
58976
58977 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
58978
58979 [BZ #5805]
58980 * manual/arith.texi (scalbn): Use @var{} on parameter names.
58981 (scalbnf): Likewise.
58982 (scalbnl): Likewise.
58983 (scalbln): Likewise.
58984 (scalblnf): Likewise.
58985 (scalblnl): Likewise.
58986 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
58987 (vwarnx): Likewise.
58988 (verr): Likewise.
58989 (verrx): Likewise.
58990 * manual/filesys.texi (telldir): Use braces around return type.
58991 * manual/llio.texi (mmap): Add space after comma.
58992 (mmap64): Likewise.
58993 * manual/math.texi (jn): Use @var{} on parameter names.
58994 (jnf): Likewise.
58995 (jnl): Likewise.
58996 (yn): Likewise.
58997 (ynf): Likewise.
58998 (ynl): Likewise.
58999 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
59000 line.
59001 * manual/resource.texi (ulimit): Use @dots{} instead of literal
59002 "...".
59003 (sched_get_priority_min): Remove semicolon on @deftypefun line.
59004 (sched_get_priority_max): Likewise.
59005 * manual/signal.texi (sigvec): Add space after comma.
59006 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
59007 names.
59008 (if_indextoname): Likewise.
59009 (if_freenameindex): Likewise.
59010 (sendto): Use ',' instead of '.' in prototype.
59011 * manual/startup.texi (syscall): Use @dots{} instead of literal
59012 "...".
59013 * manual/stdio.texi (__fpending): Separate initial words of
59014 paragraph from @deftypefun line.
59015 * manual/syslog.texi (syslog): Use @dots{} instead of literal
59016 "...".
59017 (vsyslog): Use @var{} on parameter names.
59018 * manual/terminal.texi (stty): Use @var{} on parameter names.
59019 * manual/users.texi (getutmp): Use @var{} on parameter names.
59020 (getutmpx): Likewise.
59021
59022 2012-02-17 Joseph Myers <joseph@codesourcery.com>
59023
59024 [BZ #6884]
59025 * manual/stdio.texi (fopen): Fix typos in description of
59026 ",ccs=STRING".
59027
59028 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
59029
59030 [BZ #4026]
59031 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
59032 get clock_id definition.
59033
59034 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
59035
59036 [BZ #4822]
59037 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
59038 (madvise): Cast every argument to void on its own.
59039
59040 2012-02-17 Joseph Myers <joseph@codesourcery.com>
59041
59042 [BZ #9902]
59043 * manual/startup.texi (Exit Status): Fix typo.
59044
59045 2012-02-17 Joseph Myers <joseph@codesourcery.com>
59046
59047 [BZ #10140]
59048 * manual/examples/argp-ex1.c: Include <stdlib.h>.
59049 * manual/examples/argp-ex2.c: Likewise.
59050 * manual/examples/argp-ex3.c: Likewise.
59051
59052 2012-02-16 Richard Henderson <rth@redhat.com>
59053
59054 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
59055 * sysdeps/s390/s390-32/initfini.c: Remove.
59056 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
59057 * sysdeps/s390/s390-64/initfini.c: Remove.
59058
59059 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
59060
59061 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
59062 compiler output for sysdeps/generic/initfini.c.
59063 * sysdeps/sh/elf/initfini.c: Remove file.
59064
59065 2012-02-16 David S. Miller <davem@davemloft.net>
59066
59067 [BZ #11494]
59068 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
59069
59070 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
59071 * sysdeps/sparc/crti.S: New file.
59072 * sysdeps/sparc/crtn.S: New file.
59073 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
59074 * sysdeps/sparc/sparc64/Makefile: Likewise.
59075
59076 2012-02-15 Mike Frysinger <vapier@gentoo.org>
59077
59078 [BZ #3335]
59079 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
59080
59081 2012-02-15 Roland McGrath <roland@hack.frob.com>
59082
59083 [BZ #4822]
59084 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
59085
59086 * mach/devstream.c (cookie_io_functions_t): Macro removed.
59087 (write, read, close): Likewise.
59088 Patch by Aurelien Jarno <aurelien@aurel32.net>.
59089
59090 2012-02-15 Joseph Myers <joseph@codesourcery.com>
59091
59092 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
59093 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
59094 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
59095 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
59096 <bits/signalfd.h>.
59097 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
59098 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59099 bits/signalfd.h.
59100
59101 2012-02-14 Marek Polacek <polacek@redhat.com>
59102
59103 * sysdeps/x86_64/crti.S: New file.
59104 * sysdeps/x86_64/crtn.S: New file.
59105 * sysdeps/x86_64/elf/initfini.c: Remove file.
59106
59107 2012-02-13 Joseph Myers <joseph@codesourcery.com>
59108
59109 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
59110 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
59111 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
59112 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
59113 <bits/inotify.h>.
59114 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
59115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59116 bits/inotify.h.
59117
59118 2012-02-13 Joseph Myers <joseph@codesourcery.com>
59119
59120 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
59121 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
59122 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
59123 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
59124 <bits/eventfd.h>.
59125 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
59126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59127 bits/eventfd.h.
59128
59129 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
59130
59131 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
59132 __feraiseexcept instead of feraiseexcept.
59133
59134 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
59135 nanosleep invocations.
59136 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
59137 strings, and add error checking for a nanosleep invocations.
59138
59139 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
59140
59141 Replace FSF snail mail address with URLs, as per GNU coding standards.
59142 Most of the snail mail addresses were wrong anyway, and omitting
59143 them makes the source code easier to maintain. Almost all of the
59144 changes are to license notices and to locale LC_IDENTIFICATION
59145 addresses, except for this one:
59146 * manual/libc.texinfo: In "Published by", give the FSF's URL,
59147 not its snail mail address.
59148
59149 2012-02-09 Richard Henderson <rth@twiddle.net>
59150
59151 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
59152 of kernel-features.h.
59153
59154 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
59155
59156 2012-02-08 Marek Polacek <polacek@redhat.com>
59157
59158 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
59159 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
59160 * sysdeps/gnu/_G_config.h: Likewise.
59161 * sysdeps/generic/_G_config.h: Likewise.
59162
59163 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
59164
59165 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
59166 tests.
59167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59168
59169 * sysdeps/powerpc/powerpc32/crti.S: New file.
59170 * sysdeps/powerpc/powerpc32/crtn.S: New file.
59171 * sysdeps/powerpc/powerpc64/crti.S: New file.
59172 * sysdeps/powerpc/powerpc64/crtn.S: New file.
59173
59174 * Makeconfig (have-initfini): Don't set.
59175 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
59176 * configure.in (nopic_initfini): Don't substitute.
59177 * config.h.in (HAVE_INITFINI): Don't #undef.
59178 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
59179 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
59180
59181 2012-02-08 Joseph Myers <joseph@codesourcery.com>
59182
59183 Support crti.S and crtn.S provided directly by architectures.
59184 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
59185 [crti.S in sysdirs] (omit-deps): Likewise.
59186 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
59187 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
59188 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
59189 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
59190 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
59191 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
59192 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
59193 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
59194 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
59195 compiler output for sysdeps/generic/initfini.c.
59196 * sysdeps/i386/elf/Makefile: Remove file.
59197 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
59198
59199 2012-02-07 Marek Polacek <polacek@redhat.com>
59200
59201 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
59202 * sysdeps/gnu/_G_config.h: Likewise.
59203 * sysdeps/mach/hurd/_G_config.h: Likewise.
59204
59205 2012-02-07 Marek Polacek <polacek@redhat.com>
59206
59207 * math/Makefile (tests): Add tst-CMPLX2.
59208 * math/tst-CMPLX2.c: New file.
59209
59210 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
59211
59212 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
59213
59214 * math/libm-test.inc (jn_test): Add missing L suffix.
59215
59216 2012-02-06 Marek Polacek <polacek@redhat.com>
59217
59218 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
59219 * sysdeps/i386/fpu/e_powf.S: Likewise.
59220 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
59221 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
59222 * sysdeps/i386/fpu/e_acosh.S: Likewise.
59223 * sysdeps/i386/fpu/e_pow.S: Likewise.
59224 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
59225 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
59226 * sysdeps/i386/fpu/s_expm1.S: Likewise.
59227 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
59228 * sysdeps/i386/fpu/e_log2.S: Likewise.
59229 * sysdeps/i386/fpu/e_log2l.S: Likewise.
59230 * sysdeps/i386/fpu/e_scalb.S: Likewise.
59231 * sysdeps/i386/fpu/e_powl.S: Likewise.
59232 * sysdeps/i386/fpu/s_log1p.S: Likewise.
59233 * sysdeps/i386/fpu/e_log10f.S: Likewise.
59234 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
59235 * sysdeps/i386/fpu/e_logl.S: Likewise.
59236 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
59237 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
59238 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
59239 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
59240 * sysdeps/i386/fpu/e_log2f.S: Likewise.
59241 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
59242 * sysdeps/i386/fpu/e_log.S: Likewise.
59243 * sysdeps/i386/fpu/s_cexp.S: Likewise.
59244 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
59245 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
59246 * sysdeps/i386/fpu/e_logf.S: Likewise.
59247 * sysdeps/i386/fpu/e_log10l.S: Likewise.
59248 * sysdeps/i386/fpu/e_atanh.S: Likewise.
59249 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
59250 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
59251 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
59252 * sysdeps/i386/fpu/e_log10.S: Likewise.
59253 * sysdeps/i386/fpu/s_frexp.S: Likewise.
59254 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
59255 * sysdeps/i386/fpu/s_asinh.S: Likewise.
59256 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
59257 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
59258 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
59259 * sysdeps/i386/asm-syntax.h: Likewise.
59260 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
59261 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
59262 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
59263 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
59264 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
59265 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
59266 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
59267 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
59268 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
59269 * sysdeps/powerpc/sysdep.h: Likewise.
59270 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
59271 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
59272
59273 2012-02-06 Joseph Myers <joseph@codesourcery.com>
59274
59275 [BZ #411]
59276 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
59277
59278 2012-02-06 Joseph Myers <joseph@codesourcery.com>
59279
59280 * sysdeps/i386/sysdep.h: Include <features.h>.
59281 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
59282 version.
59283
59284 2012-02-05 Joseph Myers <joseph@codesourcery.com>
59285
59286 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
59287 Define.
59288 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
59289 LOAD_PIC_REG_STR.
59290
59291 2012-02-03 Joseph Myers <joseph@codesourcery.com>
59292
59293 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
59294 (SETUP_PIC_REG): Use GET_PC_THUNK.
59295 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
59296 macro.
59297
59298 2012-02-03 Joseph Myers <joseph@codesourcery.com>
59299
59300 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
59301 for non-PIC compilation.
59302 (SETUP_PIC_REG): Add .p2align directive.
59303 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
59304 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
59305 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59306 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59307 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
59308 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59309 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
59310 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
59311 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59312 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59313 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59314 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59315 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59316 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59317 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59318 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
59319 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
59320 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59321 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59322 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59323 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59324 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
59325 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59326 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59327 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
59328 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
59329 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59330 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
59331 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59332 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59333 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59334 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59335 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59336 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59337 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59338 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59339 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59340 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59341 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59342 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59343 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59344
59345 2012-02-03 Joseph Myers <joseph@codesourcery.com>
59346
59347 * math/tst-CMPLX.c: Include <stdio.h>.
59348
59349 2012-01-31 Joseph Myers <joseph@codesourcery.com>
59350
59351 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
59352 float.
59353 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59354 * sysdeps/sparc/bits/mathdef.h: Likewise.
59355
59356 2012-01-31 Marek Polacek <polacek@redhat.com>
59357
59358 * libio/libio.h: Don't define _PARAMS.
59359 * locale/programs/config.h: Don't define PARAMS.
59360 * stdlib/strtol_l.c: Likewise.
59361 (__strtol_l): Remove PARAMS from the prototype.
59362
59363 2012-01-31 Ulrich Drepper <drepper@gmail.com>
59364
59365 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
59366 names. Just use the correct names. Remove unnecessary wrapper
59367 functions.
59368 * malloc/arena.c: Likewise.
59369 * malloc/hooks.c: Likewise.
59370
59371 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
59372 ARENA_TEST says not to. Simplify test for creation of a new arena.
59373 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
59374
59375 2012-01-30 Ulrich Drepper <drepper@gmail.com>
59376
59377 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
59378 into tail calls.
59379 (update_get_addr): New function.
59380 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
59381 GET_ADDR_MODULE parameter.
59382
59383 2012-01-30 Joseph Myers <joseph@codesourcery.com>
59384
59385 * crypt/cert.c: Remove __STDC__ conditionals.
59386 * crypt/crypt-entry.c: Likewise.
59387 * crypt/crypt_util.c: Likewise.
59388 * libio/filedoalloc.c: Likewise.
59389 * libio/fileops.c: Likewise.
59390 * libio/genops.c: Likewise.
59391 * libio/iofclose.c: Likewise.
59392 * libio/iofdopen.c: Likewise.
59393 * libio/iofopen.c: Likewise.
59394 * libio/iofopen64.c: Likewise.
59395 * libio/iogetdelim.c: Likewise.
59396 * libio/iopopen.c: Likewise.
59397 * libio/obprintf.c: Likewise.
59398 * libio/oldfileops.c: Likewise.
59399 * libio/oldiofclose.c: Likewise.
59400 * libio/oldiofdopen.c: Likewise.
59401 * libio/oldiofopen.c: Likewise.
59402 * libio/oldiopopen.c: Likewise.
59403 * libio/wfiledoalloc.c: Likewise.
59404 * libio/wgenops.c: Likewise.
59405 * locale/programs/xmalloc.c: Likewise.
59406 * misc/syslog.c: Likewise.
59407 * stdio-common/xbug.c: Likewise.
59408 * string/memchr.c: Likewise.
59409 * string/memcmp.c: Likewise.
59410 * string/memrchr.c: Likewise.
59411 * string/rawmemchr.c: Likewise.
59412 * sysdeps/posix/getcwd.c: Likewise.
59413 * time/strftime_l.c: Likewise.
59414
59415 2012-01-30 Joseph Myers <joseph@codesourcery.com>
59416
59417 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
59418 * config.make.in (config-cflags-sse2avx): Define.
59419 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
59420 Fix typo.
59421
59422 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
59423
59424 * scripts/config.guess: Update from upstream config git repository.
59425 * scripts/config.sub: Likewise.
59426
59427 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
59428
59429 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
59430 (EM_NUM): Update.
59431 (R_TILEPRO_*, R_TILEGX_*): New macros.
59432
59433 * scripts/firstversions.awk: Fix bug in version range handling.
59434
59435 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
59436
59437 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
59438
59439 * include/sys/epoll.h: New file.
59440 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
59441 libc_hidden_def.
59442
59443 2012-01-28 Ulrich Drepper <drepper@gmail.com>
59444
59445 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
59446 Avoid unnecessary __WORDSIZE == 64 test.
59447 (fmaxf): Use VEX format if possible.
59448 (fmax): Likewise.
59449 (fminf): Likewise.
59450 (fmin): Likewise.
59451
59452 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
59453 * math/math_private.h: Remove libc_fegetround* and
59454 libc_fesetround*.
59455 * sysdeps/i386/configure.in: Check for -msse2avx.
59456 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
59457 also if SSE2AVX is defined.
59458 Remove libc_fegetround* and libc_fesetround*.
59459 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
59460 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
59461 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
59462 of HAS_YMM_USABLE.
59463 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59464 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59465 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59466 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59467 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59468
59469 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
59470
59471 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59472
59473 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
59474 size is not set.
59475 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
59476
59477 2012-01-27 Ulrich Drepper <drepper@gmail.com>
59478
59479 [BZ #13618]
59480 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
59481 relocation.
59482 * Makeconfig (libm): Define.
59483 * elf/Makefile: Add rules to build and run tst-relsort1.
59484 * elf/tst-relsort1.c: New file.
59485 * elf/tst-relsort1mod1.c: New file.
59486 * elf/tst-relsort1mod2.c: New file.
59487
59488 2012-01-27 Joseph Myers <joseph@codesourcery.com>
59489
59490 * math/s_ldexp.c: Remove __STDC__ conditionals.
59491 * math/s_ldexpf.c: Likewise.
59492 * math/s_ldexpl.c: Likewise.
59493 * math/s_nextafter.c: Likewise.
59494 * math/s_nexttowardf.c: Likewise.
59495 * math/s_significand.c: Likewise.
59496 * math/s_significandf.c: Likewise.
59497 * math/s_significandl.c: Likewise.
59498 * math/w_jnl.c: Likewise.
59499 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
59500 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
59501 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
59502 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
59503 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
59504 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
59505 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
59506 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
59507 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
59508 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
59509 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
59510 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
59511 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
59512 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
59513 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
59514 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
59515 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59516 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59517 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
59518 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
59519 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
59520 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
59521 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
59522 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
59523 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
59524 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
59525 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
59526 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
59527 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
59528 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
59529 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
59530 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
59531 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
59532 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
59533 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
59534 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
59535 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
59536 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
59537 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
59538 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
59539 * sysdeps/ieee754/k_standard.c: Likewise.
59540 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
59541 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
59542 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
59543 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
59544 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
59545 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
59546 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
59547 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
59548 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
59549 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
59550 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
59551 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
59552 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
59553 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
59554 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
59555 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
59556 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
59557 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
59558 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
59559 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
59560 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
59561 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
59562 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
59563 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
59564 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
59565 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
59566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
59567 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
59568 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
59569 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
59570 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
59571 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
59572 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
59573 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
59574 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
59575 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
59576 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
59577 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
59578 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
59579 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
59580 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
59581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
59582 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
59583 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
59584 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
59585 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
59586 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
59587 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
59588 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
59589 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
59590 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
59591 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
59592 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
59593 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
59594 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
59595 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
59596 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
59597 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
59598 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
59599 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
59600 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
59601 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
59602 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
59603 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
59604 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
59605 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
59606 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
59607 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
59608 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
59609 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
59610 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
59611 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
59612 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
59613 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
59614 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
59615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
59616 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
59617 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
59618 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
59619 * sysdeps/ieee754/s_matherr.c: Likewise.
59620 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
59621 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
59622 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
59623 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
59624
59625 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59626
59627 * crypt/md5.h: Remove __STDC__ conditionals.
59628 * libio/libioP.h: Likewise.
59629 * locale/programs/config.h: Likewise.
59630 * sysdeps/generic/sysdep.h: Likewise.
59631 * sysdeps/i386/asm-syntax.h: Likewise.
59632 * sysdeps/s390/asm-syntax.h: Likewise.
59633 * sysdeps/unix/sysdep.h: Likewise.
59634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
59635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
59636
59637 2012-01-26 Joseph Myers <joseph@codesourcery.com>
59638
59639 * libio/libio.h: Remove __STDC__ conditionals.
59640 * malloc/obstack.h: Likewise.
59641 * math/complex.h: Likewise.
59642 * math/math.h: Likewise.
59643 * sysdeps/generic/_G_config.h: Likewise.
59644 * sysdeps/gnu/_G_config.h: Likewise.
59645 * sysdeps/mach/hurd/_G_config.h: Likewise.
59646 * sysdeps/powerpc/bits/mathdef.h: Likewise.
59647 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
59648 * sysdeps/sparc/bits/mathdef.h: Likewise.
59649
59650 2012-01-26 Ulrich Drepper <drepper@gmail.com>
59651
59652 [BZ #13583]
59653 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
59654 Clean up HAS_* macros.
59655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
59656 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
59657 possible.
59658 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
59659 HAS_AVX.
59660 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
59661 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
59662 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
59663 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
59664 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
59665
59666 2012-01-25 Joseph Myers <joseph@codesourcery.com>
59667
59668 * elf/tst-unique3.cc (gets): Remove declaration.
59669 * elf/tst-unique3lib.cc (gets): Likewise.
59670 * elf/tst-unique3lib2.cc (gets): Likewise.
59671 * elf/tst-unique4.cc (gets): Likewise.
59672
59673 2012-01-24 Ulrich Drepper <drepper@gmail.com>
59674
59675 * include/stdio.h: Add C++ protection. Add gets declarations and
59676 definitions.
59677 * debug/tst-chk1.c: Don't declare gets here.
59678 * stdio-common/tst-gets.c: Likewise.
59679
59680 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59681
59682 * posix/glob: Remove directory.
59683
59684 2012-01-24 Joseph Myers <joseph@codesourcery.com>
59685
59686 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
59687
59688 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
59689
59690 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
59691 of the non-standard EPFNOSUPPORT.
59692
59693 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
59694
59695 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
59696 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
59697 ANYWHERE set to 1 only on KERN_NO_SPACE error.
59698
59699 2012-01-21 Ulrich Drepper <drepper@gmail.com>
59700
59701 * wcsmbs/uchar.h: Test __STDC_VERSION__.
59702
59703 2012-01-20 Ulrich Drepper <drepper@gmail.com>
59704
59705 * nscd/aicache.c (addhstaiX): Do not cache negative results of
59706 transient errors.
59707 * nscd/grpcache.c (cache_addgr): Likewise.
59708 * nscd/hstcache.c (cache_addhst): Likewise.
59709 * nscd/initgrcache.c (addinitgroupsX): Likewise.
59710 * nscd/pwdcache.c (cache_addpw): Likewise.
59711 * nscd/servicescache.c (cache_addserv): Likewise.
59712
59713 2012-01-16 Ulrich Drepper <drepper@gmail.com>
59714
59715 * malloc/malloc.c: Various cleanups.
59716 * malloc/hooks.c: Likewise.
59717
59718 * stdlib/Makefile (tests): Add bug-fmtmsg1.
59719 * stdlib/bug-fmtmsg1.c: New file.
59720
59721 * stdlib/fmtmsg.c (init): Add missing unlock.
59722 Patch by Peng Haitao <penght@cn.fujitsu.com>.
59723
59724 2012-01-12 Marek Polacek <polacek@redhat.com>
59725
59726 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
59727 and _GNU_SOURCE.
59728
59729 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
59730
59731 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
59732 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
59733 macro to ensure uniqueness of label name.
59734 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
59735 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
59736
59737 2012-01-11 Ulrich Drepper <drepper@gmail.com>
59738
59739 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
59740
59741 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
59742 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
59743 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
59744 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
59745
59746 2012-01-10 Ulrich Drepper <drepper@gmail.com>
59747
59748 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
59749
59750 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
59751 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
59752 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
59753
59754 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
59755
59756 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
59757 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
59758 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
59759 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
59760
59761 * math/bits/math-finite.h: Add ldexp support.
59762
59763 2012-01-10 Marek Polacek <polacek@redhat.com>
59764
59765 * locale/programs/localedef.h (show_archive_content): Add noreturn
59766 attribute.
59767
59768 2012-01-09 Ulrich Drepper <drepper@gmail.com>
59769
59770 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
59771
59772 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59773
59774 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
59775
59776 * io/Makefile (headers): Add bits/poll2.h.
59777
59778 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
59779
59780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
59781 typo #include statement.
59782
59783 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59784
59785 * include/sys/cdefs.h: Define __attribute_alloc_size.
59786 * catgets/gencat.c: Add alloc_size attribute and apply consistently
59787 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
59788 * elf/pldd.c: Likewise.
59789 * iconv/iconv_charmap.c: Likewise.
59790 * iconv/iconvconfig.c: Likewise.
59791 * iconv/strtab.c: Likewise.
59792 * locale/programs/locale.c: Likewise.
59793 * locale/programs/localedef.h: Likewise.
59794 * locale/programs/simple-hash.c: Likewise.
59795 * nscd/nscd.h: Likewise.
59796 * nss/makedb.c: Likewise.
59797 * sysdeps/generic/ldconfig.h: Likewise.
59798 * locale/programs/localedef.c: Remove xmalloc prototype.
59799 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
59800
59801 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59802
59803 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
59804 appropriate.
59805
59806 2012-01-08 Ulrich Drepper <drepper@gmail.com>
59807
59808 * math/Makefile (tests): Add tst-CMPLX.
59809 * math/tst-CMPLX.c: New file.
59810
59811 * math/complex.h (CMPLXL): Fix typo.
59812
59813 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
59814 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
59815 GLIBC_2.16.
59816 * debug/tst-chk1.c: Add poll and ppoll tests.
59817 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
59818 * include/sys/poll.h: Add hidden proto for ppoll.
59819 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
59820 * sysdeps/mach/hurd/ppoll.c: Likewise.
59821 * io/ppoll.c: Likewise.
59822 * debug/poll_chk.c: New file.
59823 * debug/ppoll_chk.c: New file.
59824 * include/bits/poll2.h: New file.
59825 * io/bits/poll2.h: New file.
59826
59827 [BZ #1350]
59828 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
59829
59830 * configure.in: static is always set to yes. Remove.
59831 * config.make.in: Don't set build-static.
59832 * Makeconfig: Remove use of build-static.
59833 * dlfcn/Makefile: Likewise.
59834 * elf/Makefile: Likewise.
59835 * math/Makefile: Likewise.
59836 * misc/Makefile: Likewise.
59837 * nptl/Makefile: Likewise.
59838 * sysdeps/mach/hurd/Makefile: Likewise.
59839
59840 * configure.in: PWD_P is not used anymore.
59841 * config.make.in: Remove PWD_P entry.
59842
59843 * configure.in: Remove last remnants of RANLIB.
59844 No need to check for signed size_t anymore.
59845 Don't set libc_commonpagesize and libc_relro_required here for Alpha
59846 and IA-64.
59847 Remove __builtin_expect test because we require at least gcc 3.4.
59848 * aclocal.m4: Likewise.
59849
59850 * wcsmbs/mbrtoc16.c: Implement using towc function.
59851 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
59852 * wcsmbs/wcsmbsload.c: Likewise.
59853 * iconv/gconv_simple.c: Likewise.
59854 * iconv/gconv_int.h: Likewise.
59855 * iconv/gconv_builtin.h: Likewise.
59856 * iconv/iconv_prog.c: Remove CHAR16 handling.
59857
59858 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
59859
59860 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
59861
59862 * configure.in: Remove --with-elf and --enable-bounded options.
59863 Dont set base_machine for ia64. More non-ELF conditions removed.
59864 Remove testing and setting of leading underscore information.
59865 * config.make.in (build-bounded): Set to no.
59866 * config.h.in: Remove NO_UNDERSCORES entry.
59867 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
59868 them.
59869 * csu/start.c: Remove !NO_UNDERSCORE code.
59870 * locale/localeinfo.h: Likewise.
59871 * sysdeps/generic/machine-gmon.h: Likewise.
59872 * sysdeps/generic/sysdep.h: Likewise.
59873 * sysdeps/i386/sysdep.h: Likewise.
59874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
59875 * sysdeps/mach/sysdep.h: Likewise.
59876 * sysdeps/s390/s390-32/sysdep.h: Likewise.
59877 * sysdeps/s390/s390-64/sysdep.h: Likewise.
59878 * sysdeps/sh/sysdep.h: Likewise.
59879 * sysdeps/sparc/sparc32/alloca.S: Likewise.
59880 * sysdeps/unix/i386/sysdep.S: Likewise.
59881 * sysdeps/unix/sparc/start.c: Likewise.
59882 * sysdeps/unix/sparc/sysdep.S: Likewise.
59883 * sysdeps/unix/sparc/sysdep.h: Likewise.
59884 * sysdeps/unix/start.c: Likewise.
59885 * sysdeps/unix/x86_64/sysdep.S: Likewise.
59886 * sysdeps/x86_64/sysdep.h: Likewise.
59887
59888 2012-01-07 Ulrich Drepper <drepper@gmail.com>
59889
59890 [BZ #13553]
59891 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
59892 for non-gcc.
59893 * argp/argp-fmtstream.h: Use const instead __const.
59894 * argp/argp.h: Likewise.
59895 * assert/assert.h: Likewise.
59896 * bits/fenv.h: Likewise.
59897 * bits/sched.h: Likewise.
59898 * bits/sigset.h: Likewise.
59899 * bits/sigthread.h: Likewise.
59900 * catgets/nl_types.h: Likewise.
59901 * conform/data/pthread.h-data: Likewise.
59902 * crypt/crypt-private.h: Likewise.
59903 * crypt/crypt.h: Likewise.
59904 * crypt/crypt_util.c: Likewise.
59905 * ctype/ctype.h: Likewise.
59906 * debug/execinfo.h: Likewise.
59907 * debug/mbsnrtowcs_chk.c: Likewise.
59908 * debug/mbsrtowcs_chk.c: Likewise.
59909 * debug/wcsnrtombs_chk.c: Likewise.
59910 * debug/wcsrtombs_chk.c: Likewise.
59911 * debug/wcstombs_chk.c: Likewise.
59912 * dirent/dirent.h: Likewise.
59913 * dlfcn/dlfcn.h: Likewise.
59914 * elf/neededtest4.c: Likewise.
59915 * grp/grp.h: Likewise.
59916 * gshadow/gshadow.h: Likewise.
59917 * iconv/gconv.h: Likewise.
59918 * iconv/gconv_int.h: Likewise.
59919 * iconv/gconv_simple.c: Likewise.
59920 * iconv/iconv.h: Likewise.
59921 * iconv/loop.c: Likewise.
59922 * iconv/skeleton.c: Likewise.
59923 * include/aio.h: Likewise.
59924 * include/aliases.h: Likewise.
59925 * include/argz.h: Likewise.
59926 * include/arpa/inet.h: Likewise.
59927 * include/assert.h: Likewise.
59928 * include/dirent.h: Likewise.
59929 * include/dlfcn.h: Likewise.
59930 * include/execinfo.h: Likewise.
59931 * include/fcntl.h: Likewise.
59932 * include/fenv.h: Likewise.
59933 * include/glob.h: Likewise.
59934 * include/grp.h: Likewise.
59935 * include/libintl.h: Likewise.
59936 * include/mntent.h: Likewise.
59937 * include/netdb.h: Likewise.
59938 * include/pwd.h: Likewise.
59939 * include/rpc/netdb.h: Likewise.
59940 * include/sched.h: Likewise.
59941 * include/search.h: Likewise.
59942 * include/shadow.h: Likewise.
59943 * include/signal.h: Likewise.
59944 * include/stdio.h: Likewise.
59945 * include/stdlib.h: Likewise.
59946 * include/string.h: Likewise.
59947 * include/sys/socket.h: Likewise.
59948 * include/sys/stat.h: Likewise.
59949 * include/sys/statfs.h: Likewise.
59950 * include/sys/statvfs.h: Likewise.
59951 * include/sys/syslog.h: Likewise.
59952 * include/sys/time.h: Likewise.
59953 * include/sys/uio.h: Likewise.
59954 * include/time.h: Likewise.
59955 * include/unistd.h: Likewise.
59956 * include/utmp.h: Likewise.
59957 * include/wchar.h: Likewise.
59958 * include/wctype.h: Likewise.
59959 * inet/aliases.h: Likewise.
59960 * inet/arpa/inet.h: Likewise.
59961 * inet/netinet/ether.h: Likewise.
59962 * inet/netinet/in.h: Likewise.
59963 * intl/libintl.h: Likewise.
59964 * io/bits/fcntl2.h: Likewise.
59965 * io/fcntl.h: Likewise.
59966 * io/ftw.h: Likewise.
59967 * io/sys/poll.h: Likewise.
59968 * io/sys/stat.h: Likewise.
59969 * io/sys/statfs.h: Likewise.
59970 * io/sys/statvfs.h: Likewise.
59971 * io/utime.h: Likewise.
59972 * libio/bits/stdio.h: Likewise.
59973 * libio/bits/stdio2.h: Likewise.
59974 * libio/libio.h: Likewise.
59975 * libio/libioP.h: Likewise.
59976 * libio/stdio.h: Likewise.
59977 * locale/lc-ctype.c: Likewise.
59978 * locale/locale.h: Likewise.
59979 * login/utmp.h: Likewise.
59980 * malloc/arena.c: Likewise.
59981 * malloc/malloc.c: Likewise.
59982 * malloc/malloc.h: Likewise.
59983 * malloc/mcheck.c: Likewise.
59984 * malloc/mtrace.c: Likewise.
59985 * math/bits/mathcalls.h: Likewise.
59986 * math/fenv.h: Likewise.
59987 * math/math_private.h: Likewise.
59988 * misc/bits/error.h: Likewise.
59989 * misc/bits/syslog.h: Likewise.
59990 * misc/err.h: Likewise.
59991 * misc/error.h: Likewise.
59992 * misc/fstab.h: Likewise.
59993 * misc/mntent.h: Likewise.
59994 * misc/regexp.h: Likewise.
59995 * misc/search.h: Likewise.
59996 * misc/sgtty.h: Likewise.
59997 * misc/sys/mman.h: Likewise.
59998 * misc/sys/syslog.h: Likewise.
59999 * misc/sys/uio.h: Likewise.
60000 * misc/sys/xattr.h: Likewise.
60001 * misc/ttyent.h: Likewise.
60002 * nis/rpcsvc/ypclnt.h: Likewise.
60003 * nss/nss.h: Likewise.
60004 * posix/bits/unistd.h: Likewise.
60005 * posix/fnmatch.h: Likewise.
60006 * posix/glob.h: Likewise.
60007 * posix/sched.h: Likewise.
60008 * posix/spawn.h: Likewise.
60009 * posix/sys/wait.h: Likewise.
60010 * posix/unistd.h: Likewise.
60011 * posix/wordexp.h: Likewise.
60012 * pwd/pwd.h: Likewise.
60013 * resolv/netdb.h: Likewise.
60014 * resource/sys/resource.h: Likewise.
60015 * rt/aio.h: Likewise.
60016 * rt/bits/mqueue2.h: Likewise.
60017 * rt/mqueue.h: Likewise.
60018 * shadow/shadow.h: Likewise.
60019 * signal/signal.h: Likewise.
60020 * socket/send.c: Likewise.
60021 * socket/sendto.c: Likewise.
60022 * socket/sys/socket.h: Likewise.
60023 * stdio-common/printf.h: Likewise.
60024 * stdlib/bits/stdlib.h: Likewise.
60025 * stdlib/fmtmsg.h: Likewise.
60026 * stdlib/monetary.h: Likewise.
60027 * stdlib/stdlib.h: Likewise.
60028 * stdlib/ucontext.h: Likewise.
60029 * streams/stropts.h: Likewise.
60030 * string/argz.h: Likewise.
60031 * string/bits/string2.h: Likewise.
60032 * string/string.h: Likewise.
60033 * string/strings.h: Likewise.
60034 * sunrpc/rpc/auth.h: Likewise.
60035 * sunrpc/rpc/auth_des.h: Likewise.
60036 * sunrpc/rpc/clnt.h: Likewise.
60037 * sunrpc/rpc/netdb.h: Likewise.
60038 * sunrpc/rpc/pmap_clnt.h: Likewise.
60039 * sunrpc/rpc/xdr.h: Likewise.
60040 * sysdeps/generic/inttypes.h: Likewise.
60041 * sysdeps/generic/net/if.h: Likewise.
60042 * sysdeps/generic/sys/swap.h: Likewise.
60043 * sysdeps/gnu/net/if.h: Likewise.
60044 * sysdeps/gnu/utmpx.h: Likewise.
60045 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
60046 * sysdeps/i386/i486/bits/string.h: Likewise.
60047 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
60048 * sysdeps/s390/bits/string.h: Likewise.
60049 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
60050 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
60051 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
60052 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
60053 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
60054 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
60055 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
60056 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
60057 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
60058 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
60059 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
60060 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
60061 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
60062 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
60063 * sysdeps/unix/sysv/linux/readv.c: Likewise.
60064 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
60065 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60066 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
60067 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
60068 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
60069 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60070 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
60071 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
60072 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
60073 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
60074 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
60075 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
60076 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60077 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
60078 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
60079 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
60080 * sysvipc/sys/ipc.h: Likewise.
60081 * sysvipc/sys/msg.h: Likewise.
60082 * sysvipc/sys/sem.h: Likewise.
60083 * sysvipc/sys/shm.h: Likewise.
60084 * termios/termios.h: Likewise.
60085 * time/sys/time.h: Likewise.
60086 * time/time.h: Likewise.
60087 * wcsmbs/bits/wchar2.h: Likewise.
60088 * wcsmbs/uchar.h: Likewise.
60089 * wcsmbs/wchar.h: Likewise.
60090 * wctype/wctype.h: Likewise.
60091
60092 [BZ #13551]
60093 * Makeconfig: Remove all but ELF support including AIX support.
60094 * Makerules: Likewise.
60095 * config.h.in: Likewise.
60096 * config.make.in: Likewise.
60097 * configure: Likewise.
60098 * configure.in: Likewise.
60099 * csu/Makefile: Likewise.
60100 * csu/version.c: Likewise.
60101 * debug/Makefile: Likewise.
60102 * dlfcn/Makefile: Likewise.
60103 * elf/Makefile: Likewise.
60104 * extra-lib.mk: Likewise.
60105 * iconv/Makefile: Likewise.
60106 * include/libc-symbols.h: Likewise.
60107 * include/shlib-compat.h: Likewise.
60108 * resolv/Makefile: Likewise.
60109 * resolv/res_libc.c: Likewise.
60110 * rt/Makefile: Likewise.
60111 * sysdeps/i386/asm-syntax.h: Likewise.
60112 * sysdeps/i386/sysdep.h: Likewise.
60113 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
60114 * sysdeps/mach/sysdep.h: Likewise.
60115 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
60116 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
60117 * sysdeps/s390/asm-syntax.h: Likewise.
60118 * sysdeps/s390/s390-32/sysdep.h: Likewise.
60119 * sysdeps/s390/s390-64/sysdep.h: Likewise.
60120 * sysdeps/sh/sysdep.h: Likewise.
60121 * sysdeps/unix/sparc/sysdep.h: Likewise.
60122 * sysdeps/wordsize-32/divdi3.c: Likewise.
60123 * sysdeps/x86_64/sysdep.h: Likewise.
60124
60125 * argp/Versions: Remove _argp_unlock_xxx.
60126
60127 [BZ #13559]
60128 * abilist/ld.abilist: Update. Adjust for removal of tls option.
60129 * abilist/libBrokenLocale.abilist: Likewise.
60130 * abilist/libanl.abilist: Likewise.
60131 * abilist/libc.abilist: Likewise.
60132 * abilist/libcrypt.abilist: Likewise.
60133 * abilist/libdl.abilist: Likewise.
60134 * abilist/libm.abilist: Likewise.
60135 * abilist/libnsl.abilist: Likewise.
60136 * abilist/libpthread.abilist: Likewise.
60137 * abilist/libresolv.abilist: Likewise.
60138 * abilist/librt.abilist: Likewise.
60139 * abilist/libthread_db.abilist: Likewise.
60140 * abilist/libutil.abilist: Likewise.
60141 * abilist/libnss_db.abilist: New file.
60142
60143 * scripts/abilist.awk: Add support for indirect functions.
60144
60145 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
60146
60147 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
60148
60149 * shlib-versions: Remove entries for ports architectures.
60150
60151 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
60152 files in ports.
60153 * elf/stackguard-macros.h: Remove support for IA-64.
60154 * elf/tst-auditmod1.c: Likewise.
60155 * sysdeps/generic/ldsodefs.h: Likewise.
60156
60157 * sysdeps/unix/sysv/linux/configure.in: Ports should define
60158 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
60159 configure files.
60160
60161 [BZ #13552]
60162 * configure.in: Remove --enable-omitfp support.
60163 * FAQ.in: Adjust.
60164 * config.make.in: Likewise.
60165 * Makeconfig: Likewise.
60166 * manual/install.texi: Likewise.
60167
60168 In case anyone cares, the IA-64 architecture could move to ports.
60169 * sysdeps/ia64/*: Removed.
60170 * sysdeps/unix/sysv/linux/ia64/*: Removed.
60171 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
60172
60173 [BZ #13555]
60174 * configure.in: Remove entries for unsupported architectures.
60175
60176 [BZ #13533]
60177 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
60178 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
60179 routines.
60180 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
60181 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
60182 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
60183 fall back to using wcrtomb.
60184 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
60185 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
60186 renaming.
60187 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
60188 * wcsmbs/tst-c16c32-1.c: New file.
60189
60190 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
60191 local variable.
60192
60193 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
60194
60195 * elf/tst-unique3.cc: Add explicit declaration of gets.
60196 * elf/tst-unique3lib.cc: Likewise.
60197 * elf/tst-unique3lib2.cc: Likewise.
60198 * elf/tst-unique4.cc: Likewise.
60199
60200 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
60201
60202 2012-01-06 Joseph Myers <joseph@codesourcery.com>
60203
60204 [BZ #13566]
60205 * assert/assert.h (static_assert): Don't define for C++.
60206 * libio/stdio.h (gets): Do declare for C++ <= C++11.
60207 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
60208
60209 2012-01-03 Ulrich Drepper <drepper@gmail.com>
60210
60211 * iconv/loop.c (single loop): Fix assertion in storing of
60212 remaining bytes.
60213
60214 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
60215
60216 2012-01-01 Ulrich Drepper <drepper@gmail.com>
60217
60218 * posix/getconf.c: Update copyright year.
60219 * nss/getent.c: Likewise.
60220 * nss/makedb.c: Likewise.
60221 * iconv/iconvconfig.c: Likewise.
60222 * iconv/iconv_prog.c: Likewise.
60223 * elf/ldconfig.c: Likewise.
60224 * elf/pldd.c: Likewise.
60225 * elf/sotruss.ksh: Likewise.
60226 * catgets/gencat.c: Likewise.
60227 * csu/version.c: Likewise.
60228 * elf/ldd.bash.in: Likewise.
60229 * elf/sprof.c (print_version): Likewise.
60230 * locale/programs/locale.c: Likewise.
60231 * locale/programs/localedef.c: Likewise.
60232 * login/programs/pt_chown.c: Likewise.
60233 * nscd/nscd.c (print_version): Likewise.
60234 * debug/xtrace.sh: Likewise.
60235 * malloc/memusage.sh: Likewise.
60236 * malloc/mtrace.pl: Likewise.
60237 * debug/catchsegv.sh: Likewise.
60238
60239 2011-12-30 Jakub Jelinek <jakub@redhat.com>
60240
60241 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
60242 pure attribute.
60243
60244 2011-12-24 Ulrich Drepper <drepper@gmail.com>
60245
60246 [BZ #13533]
60247 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
60248 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
60249 transformations.
60250 * iconv/gconv_int.h: Likewise.
60251 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
60252 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
60253 from libc for GLIBC_2.16.
60254 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
60255 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
60256 * wcsmbs/uchar.h: Really define mbstate_t.
60257 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
60258 * wcsmbs/c16rtomb.c: New file.
60259 * wcsmbs/mbrtoc16.c: New file.
60260 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
60261 for C/POSIX locale.
60262 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
60263 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
60264
60265 * wcsmbs/wchar.h: Add missing __restrict.
60266
60267 2011-12-23 Ulrich Drepper <drepper@gmail.com>
60268
60269 [BZ #13532]
60270 * time/Makefile (routines): Add timespec_get.
60271 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
60272 * time/time.h: Define TIME_UTC and declare timespec_get. Define
60273 timespec for ISO C11.
60274 * time/timespec_get.c: New file.
60275 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
60276 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
60277
60278 [BZ #13531]
60279 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
60280 * stdlib/stdlib.h: Declare aligned_alloc.
60281 * Versions.def: Add GLIBC_2.16 for libc.
60282 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
60283
60284 [BZ 13527]
60285 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
60286 ISO C11.
60287
60288 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
60289 code.
60290
60291 [BZ #13528]
60292 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
60293
60294 [BZ #13529]
60295 * assert/assert.h (static_assert): Define.
60296
60297 * version.h: Update for 2.16 development version.
60298
60299 [BZ #13526]
60300 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
60301 _ISOC11_SOURCE.
60302
60303 * version.h (RELEASE): Bump for 2.15 release.
60304 * include/features.h (__GLIBC_MINOR__): Bump to 15.
60305
60306 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
60307 Patch by Marek Polacek <mpolacek@redhat.com>.
60308
60309 * bits/byteswap.h: Protect long long constants with __extension__.
60310 * sysdeps/i386/bits/byteswap.h: Likewise.
60311 * sysdeps/ia64/bits/byteswap.h: Likewise.
60312 * sysdeps/s390/bits/byteswap.h: Likewise.
60313 * sysdeps/x86_64/bits/byteswap.h: Likewise.
60314
60315 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60316
60317 [BZ #13540]
60318 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
60319 destination buffer.
60320 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
60321
60322 2011-12-23 Marek Polacek <polacek@redhat.com>
60323
60324 * elf/dl-addr.c (determine_info): Add inline keyword.
60325 * elf/tst-auditmod4b.c (check_avx): Likewise.
60326 * elf/tst-auditmod6b.c (check_avx): Likewise.
60327 * elf/tst-auditmod6c.c (check_avx): Likewise.
60328 * elf/tst-auditmod7b.c (check_avx): Likewise.
60329
60330 2011-12-23 Ulrich Drepper <drepper@gmail.com>
60331
60332 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
60333 !__SSE_MATH__.
60334
60335 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60336
60337 [BZ #13540]
60338 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
60339 processing for last bytes.
60340
60341 2011-08-06 Bruno Haible <bruno@clisp.org>
60342
60343 [BZ #13061]
60344 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
60345 U+0385, not to U+1FEE.
60346
60347 [BZ #13062]
60348 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
60349 entry for U+00A5 U+0301.
60350
60351 2011-12-22 Ulrich Drepper <drepper@gmail.com>
60352
60353 [BZ #13166]
60354 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
60355 buffer for the output is too small.
60356
60357 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
60358 optimization.
60359
60360 [BZ #13185]
60361 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
60362 SSE flags if possible.
60363
60364 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60365
60366 [BZ #13540]
60367 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
60368 processing for last bytes.
60369
60370 2011-12-22 Joseph Myers <joseph@codesourcery.com>
60371
60372 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
60373 (syscall-list-default-options, syscall-list-default-condition)
60374 (syscall-list-includes): Define.
60375 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
60376 list of ABIs and options and #if conditions for each ABI. Do not
60377 handle common syscalls between ABIs specially.
60378 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
60379 Remove.
60380 (syscall-list-variants, syscall-list-32bit-options)
60381 (syscall-list-32bit-condition, syscall-list-64bit-options)
60382 (syscall-list-64bit-condition): Define.
60383 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
60384 (syscall-list-variants, syscall-list-32bit-options)
60385 (syscall-list-32bit-condition, syscall-list-64bit-options)
60386 (syscall-list-64bit-condition): Define.
60387 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
60388 Remove.
60389 (syscall-list-variants, syscall-list-32bit-options)
60390 (syscall-list-32bit-condition, syscall-list-64bit-options)
60391 (syscall-list-64bit-condition): Define.
60392 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
60393 Remove.
60394 (syscall-list-variants, syscall-list-32bit-options)
60395 (syscall-list-32bit-condition, syscall-list-64bit-options)
60396 (syscall-list-64bit-condition): Define.
60397
60398 2011-12-22 Ulrich Drepper <drepper@gmail.com>
60399
60400 * locale/iso-639.def: Add brx entry.
60401
60402 [BZ #13328]
60403 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
60404 Proposed by Mariusz_Cukr <marcukr@op.pl>.
60405
60406 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
60407 __feraiseexcept_renamed.
60408
60409 2011-12-21 Ulrich Drepper <drepper@gmail.com>
60410
60411 [BZ #13538]
60412 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
60413 EPOLLET with unsigned values.
60414 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
60415 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
60416
60417 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
60418 to large cancellation.
60419 * math/s_cacoshf.c: Likewise.
60420 * math/s_cacoshl.c: Likewise.
60421
60422 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
60423
60424 [BZ #13305]
60425 [BZ #12786]
60426 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
60427 * math/s_cacoshf.c: Likewise.
60428 * math/s_cacoshl.c: Likewise.
60429
60430 2011-12-21 Ulrich Drepper <drepper@gmail.com>
60431
60432 [BZ #13439]
60433 * iconv/gconv.h: Define __GCONV_SWAP.
60434 * iconvdata/unicode.c: The swap bit must be stored in __flags.
60435 * iconvdata/utf-16.c: Likewise.
60436 * iconvdata/utf-32.c: Likewise.
60437
60438 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
60439
60440 [BZ #13524]
60441 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
60442 numerator after shifting it by one limb.
60443
60444 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
60445
60446 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
60447 under [__USE_EXTERN_INLINES].
60448
60449 2011-12-17 Ulrich Drepper <drepper@gmail.com>
60450
60451 [BZ #13446]
60452 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
60453
60454 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60455
60456 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
60457 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
60458 optimized code.
60459 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
60460 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
60461 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
60462 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
60463 for strncasecmp/strncasecmp_l compilation.
60464 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
60465 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
60466
60467 2011-12-08 Marek Polacek <mpolacek@redhat.com>
60468
60469 [BZ #13484]
60470 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
60471 of __asm__.
60472
60473 2011-12-17 Ulrich Drepper <drepper@gmail.com>
60474
60475 [BZ #13506]
60476 * time/tzfile.c (__tzfile_read): Check values from file header.
60477
60478 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
60479
60480 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
60481 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
60482 * powerpc/powerpc32/dl-start.S: Likewise.
60483 * powerpc/powerpc32/elf/start.S: Likewise.
60484 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
60485 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
60486 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
60487 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
60488 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
60489 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
60490 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
60491 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
60492 * powerpc/powerpc32/fpu/s_round.S: Likewise.
60493 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
60494 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
60495 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
60496 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
60497 * powerpc/powerpc32/memset.S: Likewise.
60498 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
60499 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
60500 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
60501 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
60502 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
60503 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
60504 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
60505 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
60506 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
60507 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
60508 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
60509 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
60510 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
60511
60512 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60513
60514 * math/libm-test.inc: Added more nearbyint tests.
60515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
60516 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
60517 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
60518 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
60519
60520 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
60521
60522 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
60523 FD_CLOEXEC.
60524
60525 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60526
60527 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
60528 Add wcscpy-ssse3 wcscpy-c.
60529 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
60530 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
60531 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
60532 * sysdeps/x86_64/wcschr.S: New file.
60533 * sysdeps/x86_64/wcsrchr.S: New file.
60534 * string/test-strcmp.c: Remove checking of wcscmp function for
60535 wrong alignments.
60536 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
60537 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
60538 wcsrchr-sse2 wcsrchr-c.
60539 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
60540 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
60541 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
60542 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
60543 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
60544 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
60545 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
60546 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
60547 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
60548 * wcsmbc/wcschr.c (WCSCHR): New macro.
60549
60550 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
60551
60552 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
60553 * wcsmbs/test-wcsrchr.c: New file.
60554 * string/test-strrchr.c: Add wcsrchr support.
60555 (WIDE): New macro.
60556 * wcsmbs/test-wcscpy.c: New file.
60557 * string/test-strcpy.c: Add wcscpy support.
60558 (WIDE): New macro.
60559
60560 2011-12-10 Ulrich Drepper <drepper@gmail.com>
60561
60562 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
60563 the inner loop.
60564
60565 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
60566
60567 [BZ #13472]
60568 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
60569
60570 2011-12-04 Ulrich Drepper <drepper@gmail.com>
60571
60572 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
60573 Minor optimizations.
60574
60575 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
60576 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
60577 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
60578
60579 2011-12-03 Ulrich Drepper <drepper@gmail.com>
60580
60581 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
60582 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
60583 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
60584 for gcc to avoid warnings.
60585 * inet/Makefile (tests): Add tst-checks.
60586 * inet/tst-checks.c: New file.
60587
60588 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
60589 warning.
60590
60591 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
60592 __wmemcmp_sse2.
60593
60594 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
60595 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
60596
60597 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
60598
60599 2011-12-02 Ulrich Drepper <drepper@gmail.com>
60600
60601 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
60602 problem.
60603
60604 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
60605
60606 2011-11-29 Joseph Myers <joseph@codesourcery.com>
60607
60608 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
60609 conditional on GCC version.
60610 (__arch_compare_and_exchange_val_8_acq)
60611 (__arch_compare_and_exchange_val_16_acq)
60612 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
60613 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
60614 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
60615
60616 2011-12-02 Joseph Myers <joseph@codesourcery.com>
60617
60618 * sysdeps/sh/backtrace.c: New file.
60619
60620 2011-12-02 Andreas Schwab <schwab@redhat.com>
60621
60622 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
60623 parenthesis.
60624
60625 2011-12-01 Andreas Schwab <schwab@redhat.com>
60626
60627 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
60628 falling back to utime.
60629
60630 2011-11-30 Andreas Schwab <schwab@redhat.com>
60631
60632 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
60633 expectations for float.
60634
60635 2011-11-29 Andreas Schwab <schwab@redhat.com>
60636
60637 * locale/weight.h (findidx): Add parameter len.
60638 * locale/weightwc.h (findidx): Likewise.
60639 * posix/fnmatch_loop.c (FCT): Adjust caller.
60640 * posix/regcomp.c (build_equiv_class): Likewise.
60641 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
60642 * posix/regexec.c (check_node_accept_bytes): Likewise.
60643 * string/strcoll_l.c (STRCOLL): Likewise.
60644 * string/strxfrm_l.c (STRXFRM): Likewise.
60645
60646 2011-11-17 Ulrich Drepper <drepper@gmail.com>
60647
60648 * Makefile.in: Remove CVSOPT handling.
60649 * configure.in: Remove use of AC_REVISION.
60650 * iconvdata/Makefile (distribute): No need to filter out CVS.
60651 * scripts/list-sources.sh: Remove CVS, subversion and monotone
60652 handling.
60653
60654 2011-11-16 Andreas Schwab <schwab@redhat.com>
60655
60656 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
60657 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
60658 [USE_AS_STRNCASECMP_L]: Likewise.
60659 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
60660 NO_TLS_DIRECT_SEG_REFS.
60661 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
60662 Fix argument offsets for non-PIC.
60663 [USE_AS_STRNCASECMP_L]: Likewise.
60664 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
60665 NO_TLS_DIRECT_SEG_REFS.
60666
60667 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60668
60669 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
60670 O_CLOEXEC.
60671 * locale/loadlocale.c (_nl_load_locale): Likewise.
60672
60673 2011-11-15 Andreas Schwab <schwab@redhat.com>
60674
60675 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
60676 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
60677 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
60678 (SYSCALL_GETTIME): Set errno on error.
60679
60680 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
60681 count references to noai6ai_cached.
60682
60683 2011-11-15 Ulrich Drepper <drepper@gmail.com>
60684
60685 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
60686
60687 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
60688 FD_CLOEXEC for /proc/self/maps.
60689
60690 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
60691 FD_CLOEXEC for /proc/meminfo.
60692
60693 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
60694 gai.conf.
60695
60696 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
60697 FD_CLOEXEC for given file.
60698
60699 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
60700
60701 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
60702 FD_CLOEXEC for /etc/hosts.
60703 (_gethtent): Likewise.
60704
60705 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
60706
60707 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
60708 cancellation and set FD_CLOEXEC for /etc/netgroup.
60709
60710 * nss/nss_files/files-key.c (search): Don't allow cancellation when
60711 reading /etc/publickey.
60712
60713 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
60714 allow cancellation when reading /etc/group.
60715
60716 * nss/nss_files/files-alias.c (internal_setent): Don't allow
60717 cancellation.
60718 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
60719
60720 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
60721 when using data file.
60722
60723 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
60724
60725 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
60726 (write_nis_obj): Use "c" and "e" in fopen.
60727
60728 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
60729
60730 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
60731
60732 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
60733
60734 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
60735
60736 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
60737 locale.alias.
60738
60739 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
60740
60741 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
60742
60743 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
60744
60745 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
60746 file parsing and set FD_CLOEXEC.
60747
60748 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60749
60750 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
60751
60752 2011-11-14 Andreas Schwab <schwab@redhat.com>
60753
60754 * malloc/arena.c (arena_get2): Don't call reused_arena when
60755 _int_new_arena failed.
60756
60757 2011-11-14 Ulrich Drepper <drepper@gmail.com>
60758
60759 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
60760 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
60761 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
60762 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
60763 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
60764 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
60765 to compile strcasecmp and strncasecmp.
60766 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
60767 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
60768
60769 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
60770
60771 2011-11-13 Ulrich Drepper <drepper@gmail.com>
60772
60773 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
60774 locale-defines.sym to gen-as-const-headers.
60775 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
60776 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
60777 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
60778 to compile strcasecmp and strncasecmp.
60779 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
60780 strcasecmp_l and strncasecmp_l.
60781 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
60782 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
60783 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
60784 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
60785 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
60786 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
60787 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
60788 * sysdeps/i386/i686/multiarch/strncase.S: New file.
60789 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
60790 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
60791 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
60792
60793 2011-11-12 Ulrich Drepper <drepper@gmail.com>
60794
60795 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
60796 result of SYSDEP_GETTIME_CPU to retval.
60797 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
60798 parameter list to macro. Remove trailing semicolon. Adjust users.
60799
60800 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
60801 variable.
60802
60803 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
60804 mantissa words.
60805 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
60806
60807 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
60808 from unused variable.
60809
60810 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
60811 DWARF definitions.
60812 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
60813 for assembling.
60814
60815 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
60816 over namespaces.
60817
60818 * sunrpc/rpc_prot.c (rejected): Fix case value.
60819
60820 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
60821 unsigned long long int to avoid warnings in shift.
60822
60823 * posix/regex_internal.c (re_string_reconstruct): Actually use result
60824 of use of trans.
60825 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
60826 variable tmp.
60827
60828 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
60829 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
60830 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
60831
60832 * nis/nis_table.c (nis_list): Use variable of correct type for
60833 result of __follow_path call.
60834
60835 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
60836
60837 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
60838 of math functions ceil, trunc, floor, round, and sqrt, when
60839 avaliable on the platform.
60840 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
60841 name clash.
60842 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
60843 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
60844 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
60845
60846 2011-10-30 Marek Polacek <mpolacek@redhat.com>
60847
60848 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
60849 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
60850
60851 2011-11-11 Roland McGrath <roland@hack.frob.com>
60852
60853 * include/unistd.h: Fix __readlink return type.
60854 Reported by Chris Metcalf <cmetcalf@tilera.com>.
60855
60856 2011-11-11 Ulrich Drepper <drepper@gmail.com>
60857
60858 * stdlib/ucontext.h: Undo last change for makecontext.
60859
60860 2011-11-11 Andreas Schwab <schwab@redhat.com>
60861
60862 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
60863
60864 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
60865 * setjmp/setjmp.h: Mark functions as non-leaf.
60866 * setjmp/bits/setjmp2.h: Likewise.
60867 * stdlib/ucontext.h: Likewise.
60868
60869 2011-11-10 Andreas Schwab <schwab@redhat.com>
60870
60871 * malloc/arena.c (_int_new_arena): Don't increment narenas.
60872 (reused_arena): Don't check arena limit.
60873 (arena_get2): Atomically check arena limit.
60874
60875 2011-11-08 Ulrich Drepper <drepper@gmail.com>
60876
60877 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
60878 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
60879
60880 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
60881 instructions.
60882
60883 2011-11-07 Andreas Schwab <schwab@redhat.com>
60884
60885 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
60886 handler when locking.
60887
60888 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
60889 Fix size of allocated buffer.
60890
60891 2011-11-04 Andreas Schwab <schwab@redhat.com>
60892
60893 [BZ #10103]
60894 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
60895 declarations for long double functions.
60896 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
60897
60898 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
60899
60900 2011-11-03 Andreas Schwab <schwab@redhat.com>
60901
60902 * nscd/nscd.c (main): Don't start AVC thread until credentials are
60903 installed.
60904
60905 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
60906 is disabled.
60907
60908 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
60909
60910 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
60911
60912 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
60913
60914 * include/alloca.h (stackinfo_alloca_round): Define.
60915 (extend_alloca): Use it.
60916 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
60917 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
60918 here.
60919
60920 * scripts/check-local-headers.sh: Ignore libaudit.h.
60921
60922 * nscd/Makefile (extra-objs): Make recursively expanded.
60923
60924 2011-11-01 Ulrich Drepper <drepper@gmail.com>
60925
60926 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
60927 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
60928
60929 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
60930 * posix/tst-rfc3484-2.c: Likewise.
60931 * posix/tst-rfc3484-3.c: Likewise.
60932
60933 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
60934 process_vm_writev.
60935 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
60936 process_vm_writev.
60937 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
60938 process_vm_writev from libc using GLIBC_2.15 version.
60939
60940 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
60941
60942 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
60943
60944 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
60945 stack usage.
60946
60947 2011-10-31 Ulrich Drepper <drepper@gmail.com>
60948
60949 [BZ #13367]
60950 * nss/getent.c (initgroups_keys): Show error message in case no group
60951 names are given.
60952
60953 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
60954 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
60955 __bump_nl_timestamp.
60956 * nscd/connections (nscd_init): When host database is served open
60957 netlink socket and request notification about configuration changes.
60958 (main_loop_poll): Track netlink file descriptor and bump timestamp
60959 in case data becomes available.
60960 (main_loop_epoll): Likewise.
60961 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
60962 (database_pers_head): Add extra_data fileds.
60963 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
60964 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
60965 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
60966 Adjust caller.
60967 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
60968 in6ai data, call __free_in6ai.
60969 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
60970 Add -DHAVE_NETLINK.
60971 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
60972 interface information. Reuse previous data if netlink timestamp
60973 is not changed.
60974 (__bump_nl_timestamp): New function.
60975 (__free_in6ai): New function.
60976
60977 2011-10-30 Ulrich Drepper <drepper@gmail.com>
60978
60979 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
60980 close_not_cancel_no_status here.
60981 (__check_pf): Reorganize code a bit to not call close twice if OOM.
60982
60983 2011-10-29 Ulrich Drepper <drepper@gmail.com>
60984
60985 [BZ #13276]
60986 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
60987 return value.
60988
60989 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
60990 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
60991 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
60992
60993 2011-07-03 Andreas Jaeger <aj@suse.de>
60994
60995 [BZ #10709]
60996 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
60997 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
60998 * math/libm-test.inc (sin_test): Add test case.
60999
61000 2011-10-29 Ulrich Drepper <drepper@gmail.com>
61001
61002 [BZ #13337]
61003 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
61004 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
61005
61006 * elf/chroot_canon.c (chroot_canon): Cleanups.
61007
61008 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
61009
61010 [BZ #13335]
61011 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
61012 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
61013
61014 * string/test-strchr.c: Make usable for strchrnul testing.
61015 * string/test-strchrnul.c: New file.
61016 * string/Makefile (strop-tests): Add strchrnul.
61017
61018 * po/it.po: Update from translation team.
61019 * po/es.po: Likewise.
61020
61021 2011-10-28 Ulrich Drepper <drepper@gmail.com>
61022
61023 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
61024 the three constants needed as parameters. Drop the others.
61025 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
61026 __m128i_strloadu_tolower.
61027 Create and initialize variable zero and use it in all the places
61028 where _mm_setzero_si128 was used.
61029
61030 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
61031 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
61032 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
61033 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
61034 anymore.
61035 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
61036 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
61037 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
61038 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
61039 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
61040 __mpranred, __mptan.
61041 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
61042 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
61043 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
61044 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
61045 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
61046 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
61047 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
61048 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
61049 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
61050
61051 2011-10-28 Andreas Schwab <schwab@redhat.com>
61052
61053 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
61054 redefine if SHARED.
61055 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
61056
61057 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
61058 wide char related routines to wcsmbs subdir.
61059
61060 2011-10-27 Andreas Schwab <schwab@redhat.com>
61061
61062 [BZ #13344]
61063 * misc/sys/cdefs.h (__THROWNL): Define.
61064 * posix/unistd.h: Use __THREADNL instead of __THREAD
61065 for memory synchronization functions.
61066
61067 2011-10-26 Roland McGrath <roland@hack.frob.com>
61068
61069 [BZ #13349]
61070 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
61071 doesn't exist.
61072 * manual/stdio.texi (Obstack Streams): Node removed.
61073
61074 2011-10-26 Andreas Schwab <schwab@redhat.com>
61075
61076 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
61077 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61078 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61079
61080 * math/math_private.h (math_force_eval): Allow non-addressable
61081 arguments.
61082 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
61083
61084 2011-10-25 Ulrich Drepper <drepper@gmail.com>
61085
61086 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
61087 file is not needed.
61088
61089 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
61090 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
61091 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
61092 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
61093 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
61094 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
61095 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
61096 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
61097 Add AVX variants.
61098 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
61099 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
61100 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
61101 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
61102 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
61103 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
61104 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
61105 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
61106 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
61107 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
61108 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
61109 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
61110 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
61111 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
61112 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
61113 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
61114 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
61115 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
61116 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
61117
61118 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
61119 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
61120
61121 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
61122 place. Use VEX encoding when compiling for AVX.
61123
61124 2011-10-25 Andreas Schwab <schwab@redhat.com>
61125
61126 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
61127 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
61128
61129 * string/test-strchr.c (do_test): Don't generate NUL bytes.
61130
61131 2011-10-25 Ulrich Drepper <drepper@gmail.com>
61132
61133 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
61134 useless if() expression.
61135 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61136 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61138 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61139 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61140 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
61141 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61142 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61143 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
61144 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61145 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61146 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61147 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
61148 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61149 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
61150 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
61151 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
61152 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
61153 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
61154
61155 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
61156
61157 2011-10-25 Andreas Schwab <schwab@redhat.com>
61158
61159 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
61160 condition.
61161 * elf/dl-fini.c (_dl_sort_fini): Likewise.
61162
61163 2011-10-25 Ulrich Drepper <drepper@gmail.com>
61164
61165 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
61166 .text section. Avoid duplicate constants.
61167 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
61168 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61169 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61170 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61171 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61175 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61176 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
61177 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61178 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
61179 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
61180 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
61181 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
61182 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
61183 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
61184 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61185 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61186 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61187 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
61188 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
61189 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
61190 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
61191 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
61192 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
61193 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
61194 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
61195 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
61196 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
61197 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
61198 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
61199 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61200 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
61201 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
61202 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
61203 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
61204 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
61205 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
61206 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
61207 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
61208 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
61209 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
61210 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
61211 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
61212
61213 2011-10-24 Ulrich Drepper <drepper@gmail.com>
61214
61215 * sysdeps/x86_64/dla.h: Move to ...
61216 * sysdeps/x86_64/fpu/dla.h: ...here.
61217 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
61218 situations. Use __builtin_fma only for gcc 4.6 and up.
61219
61220 * config.make.in: Add have-mfma4 entry.
61221 * configure.in: Substitute libc_cv_cc_fma4.
61222 * math/Makefile (dbl-only-routines): Add sincostab.
61223 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
61224 Use __sincostab not sincos.
61225 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
61226 name is a macro.
61227 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61228 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61229 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61230 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
61231 using __copysign.
61232 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
61233 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
61234 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
61235 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
61236 and __inv.
61237 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
61238 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
61239 __copysign.
61240 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
61241 define aliases when function name is a macro.
61242 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
61243 sysdeps/ieee754/dbl-64/sincos.tbl.
61244 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
61245 fma4-enabled routines.
61246 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
61247 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
61248 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
61249 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
61250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
61251 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
61252 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
61253 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
61254 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
61255 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
61256 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
61257 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
61258 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
61259 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
61260 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
61261 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
61262 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
61263 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
61264 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
61265 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
61266 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
61267 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
61268 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
61269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
61270 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
61271 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
61272 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
61273 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
61274 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
61275 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
61276
61277 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
61278 rename.
61279 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61280 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61281 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61282 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61283 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61284 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61285 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61286 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61287
61288 2011-10-24 Andreas Schwab <schwab@redhat.com>
61289
61290 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
61291
61292 2011-10-23 Ulrich Drepper <drepper@gmail.com>
61293
61294 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
61295
61296 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
61297 prediction.
61298 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
61299
61300 * string/strnlen.c: Don't define STRNLEN, reverse logic.
61301 Remove unused variable magic_bits.
61302 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
61303
61304 * string/strnlen.c: Define and use STRNLEN macro.
61305 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
61306 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
61307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
61308 * wcsmbs/wcslen.c: Define and use WCSLEN.
61309 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
61310 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
61311 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
61312 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
61313 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
61314 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
61315 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
61316
61317 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61318
61319 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61320 strnlen-sse2-no-bsf.
61321 Rename strlen-no-bsf to strlen-sse2-no-bsf.
61322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
61323 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
61324 Add strnlen support.
61325 (USE_AS_STRNLEN): New macro.
61326 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
61327 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
61328 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
61329 * sysdeps/x86_64/wcslen.S: New file.
61330
61331 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
61332
61333 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
61334 XMM-moves are used for copying on small sizes.
61335
61336 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61337
61338 * wcsmbs/Makefile (strop-tests): Add wcschr.
61339 * wcsmbs/test-wcschr.c: New file.
61340 * string/test-strchr.c: Update.
61341 Add wcschr support.
61342 (WIDE): New macro.
61343
61344 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61345
61346 * wcsmbs/Makefile (strop-tests): Add wcslen.
61347 * wcsmbs/test-wcslen.c: New file.
61348 * string/test-strlen.c: Update.
61349 Add wcslen support.
61350 (WIDE): New macro.
61351
61352 2011-10-23 Ulrich Drepper <drepper@gmail.com>
61353
61354 * po/it.po: Update from translation team.
61355
61356 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61357
61358 * sysdeps/x86_64/wcscmp.S: Update.
61359 Fix wrong comparison semantics.
61360 wcscmp shall use signed comparison not unsigned.
61361 Don't use substraction to avoid overflow bug.
61362 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
61363 * wcsmbc/wcscmp.c: Likewise.
61364 * string/test-strcmp.c: Likewise.
61365 Add new tests to check cases with negative values.
61366
61367 2011-10-23 Ulrich Drepper <drepper@gmail.com>
61368
61369 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
61370 * sysdeps/x86_64/dla.h: ...here. New file.
61371 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
61372 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61373 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61374 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61375 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61376 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61380
61381 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
61382
61383 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
61384 __ynl_finite aliases.
61385
61386 2011-10-22 Ulrich Drepper <drepper@gmail.com>
61387
61388 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61389
61390 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
61391 define DLA_FMA.
61392 [DLA_FMA] (EMULV): Use DLA_FMA.
61393 [DLA_FMA] (MUL12): Use EMULV.
61394 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
61395 that are not needed.
61396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61397 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61398 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61399 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61400 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61401 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61402 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61403
61404 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
61405
61406 * math/s_nan.c: Undef __nan.
61407 * math/s_nanf.c: Undef __nanf.
61408 * math/s_nanl.c: Undef __nanl.
61409 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
61410 "math_private.h".
61411
61412 2011-10-22 Ulrich Drepper <drepper@gmail.com>
61413
61414 * math/s_catan.c: Add branch predictions.
61415 * math/s_catanf.c: Likewise.
61416 * math/s_catanh.c: Likewise.
61417 * math/s_catanhf.c: Likewise.
61418 * math/s_catanhl.c: Likewise.
61419 * math/s_catanl.c: Likewise.
61420 * math/s_cexp.c: Likewise.
61421 * math/s_cexpf.c: Likewise.
61422 * math/s_cexpl.c: Likewise.
61423 * math/s_clog.c: Likewise.
61424 * math/s_clog10.c: Likewise.
61425 * math/s_clog10f.c: Likewise.
61426 * math/s_clog10l.c: Likewise.
61427 * math/s_clogf.c: Likewise.
61428 * math/s_clogl.c: Likewise.
61429 * math/s_csqrt.c: Likewise.
61430 * math/s_csqrtf.c: Likewise.
61431 * math/s_csqrtl.c: Likewise.
61432 * math/s_ctanf.c: Likewise.
61433 * math/s_ctanh.c: Likewise.
61434 * math/s_ctanhf.c: Likewise.
61435 * math/s_ctanhl.c: Likewise.
61436 * math/s_ctanl.c: Likewise.
61437
61438 * math/math_private.h: Define __nan, __nanf, __nanl.
61439 * math/s_cacosh.c: Include <math_private.h>.
61440 * math/s_cacoshl.c: Likewise.
61441 * math/s_casinh.c: Likewise.
61442 * math/s_casinhf.c: Likewise.
61443 * math/s_casinhl.c: Likewise.
61444 * math/s_ccos.c: Rely entire on ccosh.
61445 * math/s_ccosf.c: Rely entire on ccoshf.
61446 * math/s_ccosl.c: Rely entirely on ccoshl.
61447 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
61448 Remove tests for FE_INVALID.
61449 * math/s_ccoshf.c: Likewise.
61450 * math/s_ccoshl.c: Likewise.
61451 * math/s_csin.c: Likewise.
61452 * math/s_csinf.c: Likewise.
61453 * math/s_csinh.c Likewise.
61454 * math/s_csinhf.c: Likewise.
61455 * math/s_csinhl.c: Likewise.
61456 * math/s_csinl.c: Likewise.
61457 * math/s_ctan.c: Likewise.
61458 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
61459 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
61460 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
61461
61462 2011-10-21 Ulrich Drepper <drepper@gmail.com>
61463
61464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
61465 compilation problems.
61466
61467 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
61468 __builtin_expect.
61469
61470 2011-10-20 Ulrich Drepper <drepper@gmail.com>
61471
61472 * sysdeps/i386/configure.in: Test for -mfma4 option.
61473 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
61474 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
61475 COMMON_CPUID_INDEX_80000001.
61476 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
61477 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
61478 use it if FMA3 is not supported.
61479 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
61480
61481 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
61482 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
61483
61484 2011-10-20 Andreas Schwab <schwab@redhat.com>
61485
61486 [BZ #12892]
61487 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
61488 it would create a cycle with a link time dependency.
61489
61490 2011-10-19 Ulrich Drepper <drepper@gmail.com>
61491
61492 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
61493 instruction.
61494 * string/Makefile (strop-tests): Add rawmemchr.
61495 * string/test-rawmemchr.c: New file.
61496
61497 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
61498 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
61499 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
61500 when compiling str{,n}casecmp and when AVX is available. Hook up
61501 new optimized code in initializers.
61502
61503 2011-10-19 Andreas Schwab <schwab@redhat.com>
61504
61505 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
61506 __feraiseexcept instead of feraiseexcept.
61507
61508 2011-10-18 Ulrich Drepper <drepper@gmail.com>
61509
61510 * math/math_private.h: Define defaults for libc_fetestexcept and
61511 libc_feupdateenv.
61512 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
61513 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
61514 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61515 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61516 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
61517 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61518 libc_fetestexcept and libc_feupdateenv.
61519
61520 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
61521 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
61522 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
61523 * sysdeps/x86_64/fpu/math_private.h: Define special version of
61524 libc_feholdexcept_setround.
61525
61526 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
61527 Add s_nearbyint-c and s_nearbyintf-c.
61528 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
61529 nearbyintf inlines.
61530 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
61531 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
61532 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
61533 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
61534
61535 * math/math_private.h: Define defaults for libc_fegetround,
61536 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
61537 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
61538 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
61539 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
61540 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
61541 standard functions.
61542 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61543 Remove comments and hacks for old compiler versions.
61544 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
61545 libc_fegetround, libc_fesetround, libc_feholdexcept, and
61546 libc_feholdexceptl.
61547
61548 2011-10-18 Andreas Schwab <schwab@redhat.com>
61549
61550 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
61551 (__feraiseexcept_renamed): Add __NTH.
61552 (feraiseexcept): Add __NTH. Rename local variables to fix
61553 namespace violations.
61554
61555 2011-10-17 Ulrich Drepper <drepper@gmail.com>
61556
61557 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
61558
61559 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
61560
61561 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
61562 recently added interfaces.
61563 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
61564
61565 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
61566 about macro parameter expansion.
61567
61568 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
61569 __NO_MATH_INLINES is defined. Cleanups.
61570
61571 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
61572 and __floorf is target has SSE4.1.
61573 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
61574 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
61575 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
61576 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
61577
61578 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
61579 name.
61580 (floorf): Likewise.
61581
61582 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
61583
61584 2011-10-17 Andreas Schwab <schwab@redhat.com>
61585
61586 * misc/sys/cdefs.h: Fix last change.
61587
61588 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
61589 database lookup.
61590
61591 2011-10-16 Ulrich Drepper <drepper@gmail.com>
61592
61593 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
61594
61595 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
61596 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61597 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61598 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
61599 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
61600 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
61601 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
61602 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
61603 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
61604 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
61605 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
61606 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
61607 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
61608 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
61609 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
61610 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
61611 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
61612 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
61613 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
61614 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
61615 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
61616 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
61617
61618 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
61619 ceil, ceilf, floor, floorf.
61620
61621 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
61622 Perform IRELATIVE relocations last.
61623
61624 * elf/do-rel.h: Add another parameter nrelative, replacing the
61625 local variable with the same name. Change name of the function
61626 to end in Rel or Rela (uppercase).
61627 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
61628 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
61629 elf_dynamic_do_##reloc function.
61630
61631 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61632
61633 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
61634 is sufficient, at least on modern CPUs.
61635
61636 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
61637
61638 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
61639 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
61640
61641 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
61642 __expl_finite.
61643 * math/bits/math-finite.h: Add entries for exp.
61644 * math/e_expl.c: Add __*_finite alias.
61645 * sysdeps/i386/fpu/e_exp.S: Likewise.
61646 * sysdeps/i386/fpu/e_expf.S: Likewise.
61647 * sysdeps/i386/fpu/e_expl.c: Likewise.
61648 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
61649 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
61650 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
61651 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
61652 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
61653 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
61654 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
61655
61656 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
61657 is sufficient, at least on modern CPUs.
61658
61659 * ctype/ctype-info.c (__ctype_init): Define.
61660 * include/ctype.h (__ctype_init): Declare.
61661 (__ctype_b_loc): The variable is always initialized.
61662 (__ctype_toupper_loc): Likewise.
61663 (__ctype_tolower_loc): Likewise.
61664 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
61665 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
61666
61667 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
61668
61669 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
61670
61671 * configure.in: Also look in $cxxmachine/include for C++ system
61672 headers.
61673
61674 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61675
61676 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
61677 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
61678 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
61679 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
61680 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
61681 (USE_AS_WMEMCMP): New macro.
61682 Fixing indents.
61683 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
61684 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
61685 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
61686 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
61687 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61688 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
61689 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
61690 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
61691 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
61692 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
61693 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
61694 (USE_AS_WMEMCMP): New macro.
61695 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
61696 * sysdeps/string/test-memcmp.c: Update.
61697 Fix simple_wmemcmp.
61698 Add new tests.
61699 * wcsmbs/wmemcmp.c: Update.
61700 (WMEMCMP): New macro.
61701 Fix overflow bug.
61702
61703 2011-10-12 Andreas Jaeger <aj@suse.de>
61704
61705 [BZ #13268]
61706 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
61707
61708 2011-10-15 Ulrich Drepper <drepper@gmail.com>
61709
61710 * libio/iofwide.c (do_length): Avoid warning.
61711
61712 * ctype/ctype.h (__isctype_f): Add missing __THROW.
61713
61714 2011-10-14 Ulrich Drepper <drepper@gmail.com>
61715
61716 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
61717
61718 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
61719 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
61720 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
61721 * sysdeps/i386/i686/fpu/e_log.S: New file.
61722 * sysdeps/i386/i686/fpu/e_logf.S: New file.
61723 * sysdeps/i386/i686/fpu/e_logl.S: New file.
61724
61725 * ctype/ctype.h: Add support for inlined isXXX functions when
61726 compiling C++ code.
61727
61728 2011-10-14 Andreas Schwab <schwab@redhat.com>
61729
61730 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
61731
61732 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
61733
61734 2011-10-13 Roland McGrath <roland@hack.frob.com>
61735
61736 [BZ #13291]
61737 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
61738
61739 2011-10-13 Andreas Schwab <schwab@redhat.com>
61740
61741 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
61742 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
61743 feraiseexcept.
61744
61745 * sysdeps/x86_64/memrchr.S: Check for zero size.
61746
61747 * string/stratcliff.c: Add memrchr tests.
61748
61749 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
61750
61751 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
61752 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
61753 rawmemchr-sse2 rawmemchr-sse2-bsf.
61754 * sysdeps/i386/i686/multiarch/memchr.S: New file.
61755 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
61756 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
61757 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
61758 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
61759 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
61760 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
61761 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
61762 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
61763 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
61764 * string/memrchr.c (MEMRCHR): New macro.
61765
61766 2011-10-12 Ulrich Drepper <drepper@gmail.com>
61767
61768 Add integration with gcc's -ffinite-math-only and optimize wrapper
61769 functions in libm.
61770 * Versions.def: Define GLIBC_2.15 version for libm.
61771 * math/Makefile (headers): Add bits/math-finite.h.
61772 * math/bits/math-finite.h: New file.
61773 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
61774 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
61775 * math/e_acoshl.c: Add __*_finite alias.
61776 * math/e_acosl.c: Likewise.
61777 * math/e_asinl.c: Likewise.
61778 * math/e_atan2l.c: Likewise.
61779 * math/e_atanhl.c: Likewise.
61780 * math/e_coshl.c: Likewise.
61781 * math/e_exp10.c: Likewise.
61782 * math/e_exp10f.c: Likewise.
61783 * math/e_exp10l.c: Likewise.
61784 * math/e_exp2l.c: Likewise.
61785 * math/e_fmodl.c: Likewise.
61786 * math/e_gammal_r.c: Likewise.
61787 * math/e_hypotl.c: Likewise.
61788 * math/e_j0l.c: Likewise.
61789 * math/e_j1l.c: Likewise.
61790 * math/e_jnl.c: Likewise.
61791 * math/e_lgammal_r.c: Likewise.
61792 * math/e_log10l.c: Likewise.
61793 * math/e_log2l.c: Likewise.
61794 * math/e_logl.c: Likewise.
61795 * math/e_powl.c: Likewise.
61796 * math/e_sinhl.c: Likewise.
61797 * math/e_sqrtl.c: Likewise.
61798 * math/e_scalb.c: Completely rewritten and optimized.
61799 * math/e_scalbf.c: Likewise.
61800 * math/e_scalbl.c: Likewise.
61801 * math/w_acos.c: Likewise.
61802 * math/w_acosf.c: Likewise.
61803 * math/w_acosl.c: Likewise.
61804 * math/w_acosh.c: Likewise.
61805 * math/w_acoshf.c: Likewise.
61806 * math/w_acoshl.c: Likewise.
61807 * math/w_asin.c: Likewise.
61808 * math/w_asinf.c: Likewise.
61809 * math/w_asinl.c: Likewise.
61810 * math/w_atan2.c: Likewise.
61811 * math/w_atan2f.c: Likewise.
61812 * math/w_atan2l.c: Likewise.
61813 * math/w_atanh.c: Likewise.
61814 * math/w_atanhf.c: Likewise.
61815 * math/w_atanhl.c: Likewise.
61816 * math/w_exp10.c: Likewise.
61817 * math/w_exp10f.c: Likewise.
61818 * math/w_exp10l.c: Likewise.
61819 * math/w_fmod.c: Likewise.
61820 * math/w_fmodf.c: Likewise.
61821 * math/w_fmodl.c: Likewise.
61822 * math/w_j0.c: Likewise.
61823 * math/w_j0f.c: Likewise.
61824 * math/w_j0l.c: Likewise.
61825 * math/w_j1.c: Likewise.
61826 * math/w_j1f.c: Likewise.
61827 * math/w_j1l.c: Likewise.
61828 * math/w_jn.c: Likewise.
61829 * math/w_jnf.c: Likewise.
61830 * math/w_log.c: Likewise.
61831 * math/w_logf.c: Likewise.
61832 * math/w_logl.c: Likewise.
61833 * math/w_log10.c: Likewise.
61834 * math/w_log10f.c: Likewise.
61835 * math/w_log10l.c: Likewise.
61836 * math/w_log2.c: Likewise.
61837 * math/w_log2f.c: Likewise.
61838 * math/w_log2l.c: Likewise.
61839 * math/w_pow.c: Likewise.
61840 * math/w_powf.c: Likewise.
61841 * math/w_powl.c: Likewise.
61842 * math/w_remainder.c: Likewise.
61843 * math/w_remainderf.c: Likewise.
61844 * math/w_remainderl.c: Likewise.
61845 * math/w_scalb.c: Likewise.
61846 * math/w_scalbf.c: Likewise.
61847 * math/w_scalbl.c: Likewise.
61848 * math/w_sqrt.c: Likewise.
61849 * math/w_sqrtf.c: Likewise.
61850 * math/w_sqrtl.c: Likewise.
61851 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
61852 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
61853 used.
61854 * math/math_private.h: Declare __kernel_standard_f.
61855 * math/w_cosh.c: Remove cruft and optimize a bit.
61856 * math/w_coshf.c: Likewise.
61857 * math/w_coshl.c: Likewise.
61858 * math/w_exp2.c: Likewise.
61859 * math/w_exp2f.c: Likewise.
61860 * math/w_exp2l.c: Likewise.
61861 * math/w_hypot.c: Likewise.
61862 * math/w_hypotf.c: Likewise.
61863 * math/w_hypotl.c: Likewise.
61864 * math/w_lgamma.c: Likewise.
61865 * math/w_lgamma_r.c: Likewise.
61866 * math/w_lgammaf.c: Likewise.
61867 * math/w_lgammaf_r.c: Likewise.
61868 * math/w_lgammal.c: Likewise.
61869 * math/w_lgammal_r.c: Likewise.
61870 * math/w_sinh.c: Likewise.
61871 * math/w_sinhf.c: Likewise.
61872 * math/w_sinhl.c: Likewise.
61873 * math/w_tgamma.c: Likewise.
61874 * math/w_tgammaf.c: Likewise.
61875 * math/w_tgammal.c: Likewise.
61876 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
61877 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
61878 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
61879 Minor optimizations. Pretty printing. Remove cruft.
61880 * sysdeps/i386/fpu/e_acosf.S: Likewise.
61881 * sysdeps/i386/fpu/e_acosh.S: Likewise.
61882 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61883 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61884 * sysdeps/i386/fpu/e_acosl.c: Likewise.
61885 * sysdeps/i386/fpu/e_asin.S: Likewise.
61886 * sysdeps/i386/fpu/e_asinf.S: Likewise.
61887 * sysdeps/i386/fpu/e_atan2.S: Likewise.
61888 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
61889 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
61890 * sysdeps/i386/fpu/e_atanh.S: Likewise.
61891 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61892 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61893 * sysdeps/i386/fpu/e_exp10.S: Likewise.
61894 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
61895 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
61896 * sysdeps/i386/fpu/e_exp2.S: Likewise.
61897 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
61898 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
61899 * sysdeps/i386/fpu/e_fmod.S: Likewise.
61900 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
61901 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
61902 * sysdeps/i386/fpu/e_hypot.S: Likewise.
61903 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
61904 * sysdeps/i386/fpu/e_log.S: Likewise.
61905 * sysdeps/i386/fpu/e_log10.S: Likewise.
61906 * sysdeps/i386/fpu/e_log10f.S: Likewise.
61907 * sysdeps/i386/fpu/e_log10l.S: Likewise.
61908 * sysdeps/i386/fpu/e_log2.S: Likewise.
61909 * sysdeps/i386/fpu/e_log2f.S: Likewise.
61910 * sysdeps/i386/fpu/e_log2l.S: Likewise.
61911 * sysdeps/i386/fpu/e_logf.S: Likewise.
61912 * sysdeps/i386/fpu/e_logl.S: Likewise.
61913 * sysdeps/i386/fpu/e_pow.S: Likewise.
61914 * sysdeps/i386/fpu/e_powf.S: Likewise.
61915 * sysdeps/i386/fpu/e_powl.S: Likewise.
61916 * sysdeps/i386/fpu/e_remainder.S: Likewise.
61917 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
61918 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
61919 * sysdeps/i386/fpu/e_scalb.S: Likewise.
61920 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61921 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61922 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
61923 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
61924 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
61925 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61926 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
61927 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61928 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61929 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61930 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61931 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61932 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61933 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61934 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61935 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61936 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
61937 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61938 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61939 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
61941 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61942 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61943 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61944 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61945 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61946 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
61947 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
61948 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
61949 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
61950 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
61951 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
61952 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
61953 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
61954 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
61955 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
61956 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
61957 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
61958 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
61959 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
61960 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
61961 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
61962 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
61963 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
61964 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
61965 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
61966 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
61967 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
61968 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
61969 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
61970 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
61971 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
61972 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
61973 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
61974 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
61975 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
61976 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
61977 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
61978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
61979 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
61980 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
61981 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
61982 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
61983 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
61984 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
61985 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
61986 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
61987 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
61988 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
61989 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
61990 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
61991 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
61992 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
61993 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
61994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
61995 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
61996 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
61997 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
61998 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
61999 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
62000 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
62001 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62002 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
62003 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
62004 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
62005 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
62006 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
62007 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
62008 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
62009 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
62010 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
62011 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62012 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
62013 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
62014 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
62015 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
62016 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
62017 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
62018 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
62019 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
62020 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
62021 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
62022 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
62023 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
62024 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
62025 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
62026 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
62027 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
62028 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
62029 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
62030 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
62031 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
62032 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
62033 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
62034 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
62035 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
62036 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
62037 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
62038 (__isnanf): Likewise.
62039 (__isinf_ns): Likewise.
62040 (__isinf_nsf): Likewise.
62041 (__finite): Likewise.
62042 (__finitef): Likewise.
62043 (__ieee754_sqrt): Define as macro.
62044 (__ieee754_sqrtf): Define as macro.
62045 (__ieee754_sqrtl): Define as macro.
62046 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
62047 inlined copy.
62048 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
62049 __FINITE_MATH_ONLY__ consistent.
62050 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
62051
62052 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
62053
62054 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
62055 of rawmemchr.
62056
62057 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
62058
62059 2011-10-09 Ulrich Drepper <drepper@gmail.com>
62060
62061 * po/ja.po: Update from translation team.
62062
62063 2011-10-08 Roland McGrath <roland@hack.frob.com>
62064
62065 * locale/programs/locarchive.c (prepare_address_space): New function.
62066 (create_archive, enlarge_archive, open_archive): Use it.
62067
62068 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
62069 inside [SHARED], where it is used.
62070
62071 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
62072
62073 * nss/getent.c (netgroup_keys): Remove unused variable.
62074 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
62075
62076 2011-10-08 Ulrich Drepper <drepper@gmail.com>
62077
62078 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
62079 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
62080 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
62081 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
62082 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
62083 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
62084 * math/Makefile (libm-calls): Add s_isinf_ns.
62085 * math/divtc3.c: Use __isinf_nsl instead of isinf.
62086 * math/multc3.c: Likewise.
62087 * math/s_casin.c: Likewise.
62088 * math/s_casinf.c: Likewise.
62089 * math/s_casinl.c: Likewise.
62090 * math/s_ccos.c: Likewise.
62091 * math/s_ccosf.c: Likewise.
62092 * math/s_ccosl.c: Likewise.
62093 * math/s_ctan.c: Likewise.
62094 * math/s_ctanf.c: Likewise.
62095 * math/s_ctanh.c: Likewise.
62096 * math/s_ctanhf.c: Likewise.
62097 * math/s_ctanhl.c: Likewise.
62098 * math/s_ctanl.c: Likewise.
62099 * math/w_fmod.c: Likewise.
62100 * math/w_fmodf.c: Likewise.
62101 * math/w_fmodl.c: Likewise.
62102 * math/w_remainder.c: Likewise.
62103 * math/w_remainderf.c: Likewise.
62104 * math/w_remainderl.c: Likewise.
62105 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
62106 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
62107 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
62108 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
62109 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
62110 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
62111 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
62112 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
62113
62114 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
62115 of the number.
62116 * stdio-common/printf_fphex.c: Likewise.
62117 * stdio-common/printf_size.c: Likewise.
62118
62119 * math/e_exp10.c: Include math_private.h using <...> not "...".
62120 * math/e_exp10f.c: Likewise.
62121 * math/e_exp10l.c: Likewise.
62122 * math/e_exp2l.c: Likewise.
62123 * math/e_j0l.c: Likewise.
62124 * math/e_j1l.c: Likewise.
62125 * math/e_jnl.c: Likewise.
62126 * math/e_lgammal_r.c: Likewise.
62127 * math/e_rem_pio2l.c: Likewise.
62128 * math/e_scalb.c: Likewise.
62129 * math/e_scalbf.c: Likewise.
62130 * math/e_scalbl.c: Likewise.
62131 * math/k_cosl.c: Likewise.
62132 * math/k_sinl.c: Likewise.
62133 * math/k_tanl.c: Likewise.
62134 * math/s_cacoshf.c: Likewise.
62135 * math/s_catan.c: Likewise.
62136 * math/s_catanf.c: Likewise.
62137 * math/s_catanh.c: Likewise.
62138 * math/s_catanhf.c: Likewise.
62139 * math/s_catanhl.c: Likewise.
62140 * math/s_catanl.c: Likewise.
62141 * math/s_ccosh.c: Likewise.
62142 * math/s_ccoshf.c: Likewise.
62143 * math/s_ccoshl.c: Likewise.
62144 * math/s_cexp.c: Likewise.
62145 * math/s_cexpf.c: Likewise.
62146 * math/s_cexpl.c: Likewise.
62147 * math/s_clog.c: Likewise.
62148 * math/s_clog10.c: Likewise.
62149 * math/s_clog10f.c: Likewise.
62150 * math/s_clog10l.c: Likewise.
62151 * math/s_clogf.c: Likewise.
62152 * math/s_clogl.c: Likewise.
62153 * math/s_csin.c: Likewise.
62154 * math/s_csinf.c: Likewise.
62155 * math/s_csinh.c: Likewise.
62156 * math/s_csinhf.c: Likewise.
62157 * math/s_csinhl.c: Likewise.
62158 * math/s_csinl.c: Likewise.
62159 * math/s_csqrt.c: Likewise.
62160 * math/s_csqrtf.c: Likewise.
62161 * math/s_csqrtl.c: Likewise.
62162 * math/s_ctan.c: Likewise.
62163 * math/s_ctanf.c: Likewise.
62164 * math/s_ctanh.c: Likewise.
62165 * math/s_ctanhf.c: Likewise.
62166 * math/s_ctanhl.c: Likewise.
62167 * math/s_ctanl.c: Likewise.
62168 * math/s_ldexp.c: Likewise.
62169 * math/s_ldexpf.c: Likewise.
62170 * math/s_ldexpl.c: Likewise.
62171 * math/s_significand.c: Likewise.
62172 * math/s_significandf.c: Likewise.
62173 * math/s_significandl.c: Likewise.
62174 * math/w_acos.c: Likewise.
62175 * math/w_acosf.c: Likewise.
62176 * math/w_acosh.c: Likewise.
62177 * math/w_acoshf.c: Likewise.
62178 * math/w_acoshl.c: Likewise.
62179 * math/w_acosl.c: Likewise.
62180 * math/w_asin.c: Likewise.
62181 * math/w_asinf.c: Likewise.
62182 * math/w_asinl.c: Likewise.
62183 * math/w_atan2.c: Likewise.
62184 * math/w_atan2f.c: Likewise.
62185 * math/w_atan2l.c: Likewise.
62186 * math/w_atanh.c: Likewise.
62187 * math/w_atanhf.c: Likewise.
62188 * math/w_atanhl.c: Likewise.
62189 * math/w_cosh.c: Likewise.
62190 * math/w_coshf.c: Likewise.
62191 * math/w_coshl.c: Likewise.
62192 * math/w_dremf.c: Likewise.
62193 * math/w_exp10.c: Likewise.
62194 * math/w_exp10f.c: Likewise.
62195 * math/w_exp10l.c: Likewise.
62196 * math/w_exp2.c: Likewise.
62197 * math/w_exp2f.c: Likewise.
62198 * math/w_fmod.c: Likewise.
62199 * math/w_fmodf.c: Likewise.
62200 * math/w_fmodl.c: Likewise.
62201 * math/w_hypot.c: Likewise.
62202 * math/w_hypotf.c: Likewise.
62203 * math/w_hypotl.c: Likewise.
62204 * math/w_j0.c: Likewise.
62205 * math/w_j0f.c: Likewise.
62206 * math/w_j0l.c: Likewise.
62207 * math/w_j1.c: Likewise.
62208 * math/w_j1f.c: Likewise.
62209 * math/w_j1l.c: Likewise.
62210 * math/w_jn.c: Likewise.
62211 * math/w_jnf.c: Likewise.
62212 * math/w_jnl.c: Likewise.
62213 * math/w_lgamma.c: Likewise.
62214 * math/w_lgamma_r.c: Likewise.
62215 * math/w_lgammaf.c: Likewise.
62216 * math/w_lgammaf_r.c: Likewise.
62217 * math/w_lgammal.c: Likewise.
62218 * math/w_lgammal_r.c: Likewise.
62219 * math/w_log.c: Likewise.
62220 * math/w_log10.c: Likewise.
62221 * math/w_log10f.c: Likewise.
62222 * math/w_log10l.c: Likewise.
62223 * math/w_log2.c: Likewise.
62224 * math/w_log2f.c: Likewise.
62225 * math/w_log2l.c: Likewise.
62226 * math/w_logf.c: Likewise.
62227 * math/w_logl.c: Likewise.
62228 * math/w_pow.c: Likewise.
62229 * math/w_powf.c: Likewise.
62230 * math/w_powl.c: Likewise.
62231 * math/w_remainder.c: Likewise.
62232 * math/w_remainderf.c: Likewise.
62233 * math/w_remainderl.c: Likewise.
62234 * math/w_scalb.c: Likewise.
62235 * math/w_scalbf.c: Likewise.
62236 * math/w_scalbl.c: Likewise.
62237 * math/w_sinh.c: Likewise.
62238 * math/w_sinhf.c: Likewise.
62239 * math/w_sinhl.c: Likewise.
62240 * math/w_sqrt.c: Likewise.
62241 * math/w_sqrtf.c: Likewise.
62242 * math/w_sqrtl.c: Likewise.
62243 * math/w_tgamma.c: Likewise.
62244 * math/w_tgammaf.c: Likewise.
62245 * math/w_tgammal.c: Likewise.
62246
62247 * po/ja.po: Update from translation team.
62248
62249 2011-09-29 Andreas Jaeger <aj@suse.de>
62250
62251 [BZ #13179]
62252 * sunrpc/netname.c (netname2host): Fix logic.
62253
62254 [BZ #6779]
62255 [BZ #6783]
62256 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
62257 correctly.
62258 * math/w_remainder.c (__remainder): Likewise.
62259 * math/w_remainderf.c (__remainderf): Likewise.
62260 * math/libm-test.inc (remainder_test): Add test cases.
62261
62262 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62263
62264 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
62265 sdiv_qrnnd.
62266
62267 2011-10-07 Ulrich Drepper <drepper@gmail.com>
62268
62269 * string/test-memcmp.c: Avoid unncessary #defines.
62270 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
62271
62272 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62273
62274 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
62275 Use new sse2 version for core i3 - i7 as it's faster
62276 than sse42 version.
62277 (bit_Prefer_PMINUB_for_stringop): New.
62278 * sysdeps/x86_64/rawmemchr.S: Update.
62279 Replace with faster SSE2 version.
62280 * sysdeps/x86_64/memrchr.S: New file.
62281 * sysdeps/x86_64/memchr.S: Update.
62282 Replace with faster SSE2 version.
62283
62284 2011-09-12 Marek Polacek <mpolacek@redhat.com>
62285
62286 * elf/dl-load.c (lose): Add cast to avoid warning.
62287
62288 2011-10-07 Ulrich Drepper <drepper@gmail.com>
62289
62290 * po/ca.po: Update from translation team.
62291
62292 * inet/getnetgrent_r.c: Hook up nscd.
62293 * nscd/Makefile (routines): Add nscd_netgroup.
62294 (nscd-modules): Add netgroupcache.
62295 (CFLAGS-netgroupcache.c): Define.
62296 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
62297 (cache_search): Add const to second parameter.
62298 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
62299 INNETGR.
62300 (dbs): Add netgrdb entry.
62301 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
62302 (verify_persistent_db): Handle netgrdb.
62303 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
62304 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
62305 GETFDNETGR.
62306 (netgroup_response_header): Define.
62307 (innetgroup_response_header): Define.
62308 (datahead): Add netgroup_response_header and innetgroup_response_header
62309 elements.
62310 * nscd/nscd.conf: Add entries for netgroup cache.
62311 * nscd/nscd.h (dbtype): Add netgrdb.
62312 (_PATH_NSCD_NETGROUP_DB): Define.
62313 (netgroup_iov_disabled): Declare.
62314 (xmalloc, xcalloc, xrealloc): Move declarations here.
62315 (cache_search): Adjust prototype.
62316 Add netgroup-related prototypes.
62317 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
62318 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
62319 (__nscd_innetgr): Declare.
62320 * nscd/selinux.c (perms): Use access_vector_t as element type and
62321 add netgroup-related initializers.
62322 * nscd/netgroupcache.c: New file.
62323 * nscd/nscd_netgroup.c: New file.
62324 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
62325 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
62326 For four parameters use innetgr.
62327 * nss/nss_files/files-init.c: Add definition and callback for netgr.
62328 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
62329 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
62330 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
62331
62332 * nscd/connections.c (register_traced_file): Don't register file
62333 for disabled databases.
62334
62335 2011-10-06 Ulrich Drepper <drepper@gmail.com>
62336
62337 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
62338
62339 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
62340 from tree and freeing node.
62341
62342 2011-09-25 Jiri Olsa <jolsa@redhat.com>
62343
62344 * nss/nsswitch.c (__nss_database_lookup): Handle
62345 nss_parse_service_list out of memory case.
62346
62347 2011-09-15 Jiri Olsa <jolsa@redhat.com>
62348
62349 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
62350 out of memory case.
62351
62352 2011-10-04 Andreas Schwab <schwab@redhat.com>
62353
62354 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
62355 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
62356 pass it down.
62357 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
62358 elf_machine_rela, elf_machine_lazy_rel.
62359 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
62360 (ELF_DYNAMIC_DO_REL): Likewise.
62361 (ELF_DYNAMIC_DO_RELA): Likewise.
62362 (ELF_DYNAMIC_RELOCATE): Likewise.
62363 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
62364 to ELF_DYNAMIC_DO_REL.
62365 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
62366 (dl_main): In trace mode always set __RTLD_NOIFUNC.
62367 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
62368 elf_machine_rela.
62369 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
62370 skip_ifunc, don't call ifunc function if non-zero.
62371 (elf_machine_rela): Likewise.
62372 (elf_machine_lazy_rel): Likewise.
62373 (elf_machine_lazy_rela): Likewise.
62374 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
62375 (elf_machine_lazy_rel): Likewise.
62376 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
62377 Likewise.
62378 (elf_machine_lazy_rel): Likewise.
62379 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62380 Likewise.
62381 (elf_machine_lazy_rel): Likewise.
62382 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
62383 (elf_machine_lazy_rel): Likewise.
62384 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
62385 (elf_machine_lazy_rel): Likewise.
62386 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62387 (elf_machine_lazy_rel): Likewise.
62388 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
62389 (elf_machine_lazy_rel): Likewise.
62390 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
62391 (elf_machine_lazy_rel): Likewise.
62392 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62393 (elf_machine_lazy_rel): Likewise.
62394
62395 2011-09-28 Ulrich Drepper <drepper@gmail.com>
62396
62397 * nss/nss_files/files-init.c (_nss_files_init): Use static
62398 initialization for all the *_traced_file variables.
62399
62400 2011-09-28 Andreas Schwab <schwab@redhat.com>
62401
62402 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62403
62404 2011-09-27 Roland McGrath <roland@hack.frob.com>
62405
62406 [BZ #13226]
62407 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
62408
62409 2011-09-27 Andreas Schwab <schwab@redhat.com>
62410
62411 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
62412 Reread the line before reparsing it.
62413
62414 2011-09-26 Andreas Schwab <schwab@redhat.com>
62415
62416 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
62417
62418 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
62419 Maxim Kuvyrkov <maxim@codesourcery.com>
62420 Joseph Myers <joseph@codesourcery.com>
62421
62422 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
62423 if needed for __stack_chk_guard.
62424
62425 2011-09-19 Roland McGrath <roland@hack.frob.com>
62426
62427 * sysdeps/posix/spawni.c (script_execute): Always define it.
62428 It will be optimized away if unused.
62429 (maybe_script_execute): New function.
62430 (__spawni): Call it.
62431
62432 * Makerules: Don't include tls.make.
62433 (config-tls): Always set to thread.
62434 * tls.make.c: File removed.
62435
62436 2011-09-19 Mike Frysinger <vapier@gentoo.org>
62437
62438 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
62439 * config.make.in (CPPFLAGS-config): New substituted variable.
62440
62441 2011-09-15 Ulrich Drepper <drepper@gmail.com>
62442
62443 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
62444
62445 [BZ #13192]
62446 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
62447 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
62448
62449 2011-09-15 Roland McGrath <roland@hack.frob.com>
62450
62451 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
62452 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
62453 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
62454 (CALL_FAIL): Likewise.
62455 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
62456 (CALL_FAIL): Macro removed.
62457 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
62458
62459 2011-09-15 Ulrich Drepper <drepper@gmail.com>
62460
62461 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
62462 for __FINITE_MATH_ONLY__ == 1.
62463
62464 2011-09-15 Andreas Schwab <schwab@redhat.com>
62465
62466 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
62467 __ieee754_sqrt instead of sqrt.
62468 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
62469 __ieee754_sqrtf instead of sqrtf.
62470 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
62471 __floorf instead of floorf.
62472 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
62473 __floorf, __truncf instead of floorf, truncf.
62474
62475 2011-09-14 Ulrich Drepper <drepper@gmail.com>
62476
62477 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
62478
62479 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
62480 __extern_always_inline.
62481 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
62482 32-bit.
62483
62484 2011-09-14 Andreas Schwab <schwab@redhat.com>
62485
62486 * elf/rtld.c (dl_main): Also relocate in dependency order when
62487 doing symbol dependency testing.
62488
62489 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
62490
62491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62492 Always define `refsym'.
62493
62494 2011-09-13 Andreas Schwab <schwab@redhat.com>
62495
62496 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
62497 (__FD_ELT): Renamed from __FDELT.
62498 * misc/bits/select2.h (__FD_ELT): Likewise.
62499 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
62500 __FD_MASK instead of __FDELT, __FDMASK.
62501 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62502 Likewise.
62503 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
62504 Likewise.
62505
62506 * elf/Makefile (gen-ldd): Fix pattern.
62507
62508 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
62509 (init_tls): Likewise.
62510
62511 2011-09-12 Ulrich Drepper <drepper@gmail.com>
62512
62513 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
62514
62515 2011-09-12 Andreas Schwab <schwab@redhat.com>
62516
62517 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
62518 `struct cmsghdr *' instead of `void *'.
62519 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
62520 Likewise.
62521
62522 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
62523
62524 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
62525 if non-absolute.
62526 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
62527 ldd_rewrite_script.
62528
62529 2011-09-11 Ulrich Drepper <drepper@gmail.com>
62530
62531 * configure.in: Remove --with-tls option.
62532 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
62533 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
62534 out in case it is missing.
62535 * sysdeps/ia64/elf/configure.in: Likewise.
62536 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
62537 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
62538 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
62539 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
62540 * sysdeps/sh/elf/configure.in: Likewise.
62541 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
62542 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
62543 * sysdeps/x86_64/elf/configure.in: Likewise.
62544 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
62545 * sysdeps/mach/hurd/tls.h: Likewise.
62546
62547 [BZ #13067]
62548 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
62549
62550 [BZ #13090]
62551 * configure.in: Fix use of AC_INIT.
62552
62553 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
62554
62555 2011-09-10 Ulrich Drepper <drepper@gmail.com>
62556
62557 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
62558 __set_errno.
62559 * malloc/hooks.c: Likewise.
62560
62561 [BZ #11929]
62562 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
62563 variables statically.
62564 (narenas): Initialize.
62565 (list_lock): Initialize.
62566 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
62567 initializtion of main_arena and list_lock. Small cleanups.
62568 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
62569 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
62570 Add initializers to main_arena and mp_.
62571 (malloc_state): Remove pagesize member. Change all users to use
62572 GLRO(dl_pagesize).
62573
62574 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
62575 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
62576 is always initialized.
62577
62578 * malloc/malloc.c: Removed unused configurations and dead code.
62579 * malloc/arena.c: Likewise.
62580 * malloc/hooks.c: Likewise.
62581 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
62582
62583 * include/tls.h: Removed. USE___THREAD must always be defined.
62584 * bits/libc-tsd.h: Don't handle !USE___THREAD.
62585 * elf/dl-libc.c: Likewise.
62586 * elf/dl-tsd.c: Likewise.
62587 * include/errno.h: Likewise.
62588 * include/netdb.h: Likewise.
62589 * include/resolv.h: Likewise.
62590 * inet/herrno-loc.c: Likewise.
62591 * inet/herrno.c: Likewise.
62592 * malloc/arena.c: Likewise.
62593 * malloc/hooks.c: Likewise.
62594 * malloc/malloc.c: Likewise.
62595 * resolv/res-state.c: Likewise.
62596 * resolv/res_libc.c: Likewise.
62597 * sysdeps/i386/dl-machine.h: Likewise.
62598 * sysdeps/ia64/dl-machine.h: Likewise.
62599 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
62600 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62601 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
62602 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
62603 * sysdeps/sh/dl-machine.h: Likewise.
62604 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
62605 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
62606 * sysdeps/unix/i386/sysdep.S: Likewise.
62607 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
62608 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
62609 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
62610 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
62611 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
62612 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
62613 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
62614 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
62615 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
62616 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
62617 * sysdeps/unix/x86_64/sysdep.S: Likewise.
62618 * sysdeps/x86_64/dl-machine.h: Likewise.
62619 * tls.make.c: Likewise.
62620
62621 * configure.in: Remove --with-__thread option. Make tests for
62622 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
62623 tls_model attribute fail if no support is available. Remove
62624 USE_IN_LIBIO.
62625 * Makeconfig: Adjust for dropped configure option. All features are
62626 now mandatory.
62627 * Makerules: Likewise.
62628 * Versions.def: Likewise.
62629 * argp/argp-fmtstream.c: Likewise.
62630 * argp/argp-fmtstream.h: Likewise.
62631 * argp/argp-help.c: Likewise.
62632 * assert/assert.c: Likewise.
62633 * config.h.in: Likewise.
62634 * config.make.in: Likewise.
62635 * configure: Likewise.
62636 * configure.in: Likewise.
62637 * csu/Versions: Likewise.
62638 * csu/init.c: Likewise.
62639 * elf/tst-audit2.c: Likewise.
62640 * elf/tst-tls10.c: Likewise.
62641 * elf/tst-tls10.h: Likewise.
62642 * elf/tst-tls11.c: Likewise.
62643 * elf/tst-tls12.c: Likewise.
62644 * elf/tst-tls14.c: Likewise.
62645 * elf/tst-tlsmod11.c: Likewise.
62646 * elf/tst-tlsmod12.c: Likewise.
62647 * elf/tst-tlsmod13.c: Likewise.
62648 * elf/tst-tlsmod13a.c: Likewise.
62649 * elf/tst-tlsmod14a.c: Likewise.
62650 * elf/tst-tlsmod15b.c: Likewise.
62651 * elf/tst-tlsmod16a.c: Likewise.
62652 * elf/tst-tlsmod16b.c: Likewise.
62653 * elf/tst-tlsmod7.c: Likewise.
62654 * elf/tst-tlsmod8.c: Likewise.
62655 * elf/tst-tlsmod9.c: Likewise.
62656 * gmon/gmon.c: Likewise.
62657 * grp/fgetgrent_r.c: Likewise.
62658 * grp/putgrent.c: Likewise.
62659 * hurd/fopenport.c: Likewise.
62660 * include/libc-symbols.h: Likewise.
62661 * include/tls.h: Likewise.
62662 * intl/gettextP.h: Likewise.
62663 * intl/loadinfo.h: Likewise.
62664 * locale/global-locale.c: Likewise.
62665 * locale/localeinfo.h: Likewise.
62666 * mach/devstream.c: Likewise.
62667 * malloc/arena.c: Likewise.
62668 * malloc/set-freeres.c: Likewise.
62669 * misc/err.c: Likewise.
62670 * misc/getttyent.c: Likewise.
62671 * misc/mntent_r.c: Likewise.
62672 * posix/getopt.c: Likewise.
62673 * posix/wordexp.c: Likewise.
62674 * pwd/fgetpwent_r.c: Likewise.
62675 * resolv/Versions: Likewise.
62676 * resolv/res_hconf.c: Likewise.
62677 * shadow/fgetspent_r.c: Likewise.
62678 * shadow/putspent.c: Likewise.
62679 * stdio-common/printf_fphex.c: Likewise.
62680 * stdio-common/tmpfile.c: Likewise.
62681 * stdlib/abort.c: Likewise.
62682 * stdlib/fmtmsg.c: Likewise.
62683 * sunrpc/auth_unix.c: Likewise.
62684 * sunrpc/clnt_perr.c: Likewise.
62685 * sunrpc/clnt_tcp.c: Likewise.
62686 * sunrpc/clnt_udp.c: Likewise.
62687 * sunrpc/clnt_unix.c: Likewise.
62688 * sunrpc/openchild.c: Likewise.
62689 * sunrpc/svc_simple.c: Likewise.
62690 * sunrpc/svc_tcp.c: Likewise.
62691 * sunrpc/svc_udp.c: Likewise.
62692 * sunrpc/svc_unix.c: Likewise.
62693 * sunrpc/xdr.c: Likewise.
62694 * sunrpc/xdr_array.c: Likewise.
62695 * sunrpc/xdr_rec.c: Likewise.
62696 * sunrpc/xdr_ref.c: Likewise.
62697 * sunrpc/xdr_stdio.c: Likewise.
62698
62699 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62700
62701 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
62702
62703 2011-07-03 Andreas Jaeger <aj@suse.de>
62704
62705 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
62706 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
62707 regenerate with gen-libm-tests.pl.
62708
62709 2010-05-12 Petr Baudis <pasky@suse.cz>
62710
62711 [BZ #11589]
62712 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
62713 around j0() zero points by switching to j1().
62714 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
62715 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
62716 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
62717 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
62718
62719 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62720
62721 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
62722 instead of 0.
62723 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
62724 instead of 0.
62725 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
62726 Patch in part by Pavel Roskin <proski@gnu.org>.
62727
62728 [BZ #13138]
62729 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
62730 realloc.
62731 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
62732 Free memory block if necessary.
62733
62734 [BZ #12847]
62735 * libio/genops.c (INTDEF): For string streams the _lock pointer can
62736 be NULL. Don't lock in this case.
62737
62738 2011-09-09 Roland McGrath <roland@hack.frob.com>
62739
62740 * elf/elf.h (ELFOSABI_GNU): New macro.
62741 (ELFOSABI_LINUX): Define to that.
62742
62743 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
62744
62745 * string/strncat.c (strncat): Undef the symbol in case it has been
62746 defined in bits/string.h.
62747
62748 2011-09-09 Ulrich Drepper <drepper@gmail.com>
62749
62750 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
62751
62752 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
62753 link map.
62754
62755 2011-08-17 Andreas Jaeger <aj@suse.de>
62756
62757 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
62758
62759 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
62760 Ian Lance Taylor <iant@google.com>
62761
62762 * math/libm-test.inc (lround_test): New testcase.
62763 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
62764
62765 2011-09-08 Ulrich Drepper <drepper@gmail.com>
62766
62767 * Makefile: Remove support for automatic cvs check-ins.
62768 * Makerules: Likewise.
62769 * config.make.in: Likewise.
62770 * configure.in: Likewise.
62771 * intl/Makefile: Likewise.
62772 * locale/Makefile: Likewise.
62773 * po/Makefile: Likewise.
62774 * posix/Makefile: Likewise.
62775 * sysdeps/gnu/Makefile: Likewise.
62776 * sysdeps/mach/hurd/Makefile: Likewise.
62777 * sysdeps/sparc/sparc32/Makefile: Likewise.
62778
62779 [BZ #13118]
62780 * posix/Makefile (bug-regex32-ENV): Define.
62781 Patch by John Stanley <jpsinthemix@verizon.net>.
62782
62783 * misc/Makefile (headers): Add bits/select2.h.
62784 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
62785 * misc/bits/select2.h: New file.
62786 * include/bits/select2.h: New file.
62787 * debug/Makefile (routines): Add fdelt_chk.
62788 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
62789 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
62790 FD_ISSET.
62791 * debug/fdelt_chk.c: New file.
62792
62793 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
62794 * wcsmbs/test-wmemcmp.c: Likewise.
62795 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
62796 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
62797
62798 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62799
62800 * string/Makefile (strop-tests): Add memcmp.
62801 * string/test-wmemcmp.c: New file.
62802 * string/test-memcmp.c: Add wmemcmp support.
62803
62804 2011-09-08 Roland McGrath <roland@hack.frob.com>
62805
62806 [BZ #13153]
62807 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
62808 2011-07-19 change.
62809
62810 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
62811 garbage value in a __mach_port_mod_refs call in the cases of the
62812 task-self and thread-self ports.
62813
62814 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
62815
62816 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
62817
62818 2011-09-08 Andreas Schwab <schwab@redhat.com>
62819
62820 * elf/dl-load.c (lose): Check for non-null L.
62821
62822 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62823
62824 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
62825
62826 * elf/dl-libc.c (dlerror_run): Pass back error code from
62827 dl_catch_error.
62828
62829 [BZ #13123]
62830 * elf/dl-load.c (lose): Free l_origin if it is valid.
62831
62832 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
62833 names.
62834 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
62835 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62836 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
62837 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62838 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
62839 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
62840
62841 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62842
62843 * sysdeps/powerpc/fpu/e_hypot.c: New file.
62844 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
62845 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
62846 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
62847 * sysdeps/powerpc/fpu/k_cosf.c: New file.
62848 * sysdeps/powerpc/fpu/k_sinf.c: New file.
62849 * sysdeps/powerpc/fpu/s_cosf.c: New file.
62850 * sysdeps/powerpc/fpu/s_sinf.c: New file.
62851 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
62852 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
62853
62854 2011-08-15 Alan Modra <amodra@gmail.com>
62855
62856 [BZ #13092]
62857 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
62858 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
62859 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
62860 ppc_mcount to static-only-routines.
62861 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
62862 __mcount_internal.
62863 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
62864 __mcount_internal with usual JUMPTARGET. Remove useless nop.
62865
62866 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
62867
62868 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
62869 for finite and infinity parameters.
62870
62871 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
62872
62873 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
62874 and add nop instructions for throughput optimization.
62875 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62876
62877 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
62878
62879 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
62880 aligned copy for power7 with vector-scalar instructions.
62881 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62882
62883 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
62884
62885 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
62886 AVX check.
62887
62888 2011-09-07 Andreas Schwab <schwab@redhat.com>
62889
62890 [BZ #13144]
62891 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
62892 last change.
62893
62894 2011-09-07 Ulrich Drepper <drepper@gmail.com>
62895
62896 * sysdeps/unix/sysv/linux/x86_64/init-first.c
62897 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
62898 syscall wrapper around clock_gettime in __vdso_clock_gettime.
62899 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
62900 clock_gettime.
62901
62902 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62903
62904 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
62905 Forgot to demangle the pointer.
62906
62907 * sysdeps/i386/sysdep.h: Define atom_text_section.
62908 * sysdeps/x86_64/sysdep.h: Likewise.
62909 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
62910 section with atom_text_section.
62911 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
62912 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
62913 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
62914 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
62915 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
62916
62917 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
62918 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
62919 already be defined. Change to take two parameters and don't assign
62920 result to variable. Adjust all users.
62921 Define INTERNAL_GETTIME if not already defined.
62922 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
62923 call.
62924 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
62925 HAVE_CLOCK_GETTIME_VSYSCALL.
62926 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
62927
62928 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
62929 gettimeofday vsyscall, just use time.
62930
62931 2011-09-06 Andreas Schwab <schwab@redhat.com>
62932
62933 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
62934 <errno.h>.
62935
62936 2011-09-06 Ulrich Drepper <drepper@gmail.com>
62937
62938 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
62939 syscall on x86-64.
62940 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
62941 syscall.
62942 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
62943 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
62944 syscall if possible.
62945
62946 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62947
62948 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
62949 e_ident. Don't pass to find_mapsXX.
62950 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
62951
62952 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62953
62954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
62955 strchr-sse2-no-bsf strrchr-sse2-no-bsf
62956 * sysdeps/x86_64/multiarch/strchr.S: Update.
62957 Check bit_slow_BSF bit.
62958 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62959 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
62960 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
62961
62962 2011-09-05 Ulrich Drepper <drepper@gmail.com>
62963
62964 [BZ #13134]
62965 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
62966 before glibc 2.15.
62967 (tryshell): Define.
62968 (__spawni): Change last parameter to be flag. Test
62969 SPAWN_XFLAGS_USE_PATH flag to use path or not.
62970 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
62971 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
62972 * posix/spawni.c: Likewise.
62973 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
62974 * posix/spawnp.c: Likewise. Change normal version to use
62975 SPAWN_XFLAGS_USE_PATH.
62976 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
62977 SPAWN_XFLAGS_TRY_SHELL.
62978
62979 [BZ #13150]
62980 * posix/glob.h: Remove gcc 1.x support.
62981
62982 [BZ #13068]
62983 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
62984
62985 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
62986
62987 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
62988 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
62989 strrchr-sse2-bsf
62990 * sysdeps/i386/i686/multiarch/strchr.S: New file.
62991 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
62992 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
62993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
62994 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
62995 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
62996
62997 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
62998
62999 * sysdeps/x86_64/wcscmp.S: New file.
63000
63001 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
63002 wcscmp-c wcscmp-sse2
63003 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
63004 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
63005 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
63006 * wcsmbs/wcscmp.c: Allow renaming.
63007
63008 2011-09-05 David S. Miller <davem@davemloft.net>
63009
63010 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
63011 stack slot, rather than the struct return pointer slot.
63012 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
63013 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
63014 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
63015 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
63016
63017 2011-09-05 Ulrich Drepper <drepper@gmail.com>
63018
63019 * po/ja.po: Update from translation team.
63020
63021 [BZ #13144]
63022 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
63023 kernel in 64-bit binaries.
63024
63025 2011-09-01 David S. Miller <davem@davemloft.net>
63026
63027 * elf/elf.h (HWCAP_SPARC_*): Move to..
63028 * sysdeps/sparc/sysdep.h: this new file and add new values.
63029 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
63030 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
63031 _DL_HWCAP_COUNT to 24.
63032 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
63033 entries.
63034 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
63035 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
63036 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
63037 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
63038 instead of magic constants.
63039 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
63040
63041 2011-08-31 David S. Miller <davem@davemloft.net>
63042
63043 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
63044 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
63045 Reimplement to do errno handling inline.
63046 (SYSCALL_ERROR_HANDLER): New macro.
63047 (__SYSCALL_STRING): Do not do errno handling in asm.
63048 (__CLONE_SYSCALL_STRING): Delete.
63049 (__INTERNAL_SYSCALL_STRING): Delete.
63050 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
63051 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
63052 (PSEUDO): Reimplement to do errno handling inline.
63053 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
63054 (SYSCALL_ERROR_HANDLER): New macro.
63055 (__SYSCALL_STRING): Do not do errno handling in asm.
63056 (__CLONE_SYSCALL_STRING): Delete.
63057 (__INTERNAL_SYSCALL_STRING): Delete.
63058 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
63059 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
63060 i386.
63061 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
63062 (inline_syscall*): Add 'err' argument.
63063 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
63064 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
63065 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
63066 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
63067
63068 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
63069 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
63070
63071 2011-08-30 Andreas Schwab <schwab@redhat.com>
63072
63073 * elf/rtld.c (dl_main): Relocate objects in dependency order.
63074
63075 2011-08-29 Jiri Olsa <jolsa@redhat.com>
63076
63077 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
63078 directive.
63079
63080 2011-08-24 David S. Miller <davem@davemloft.net>
63081
63082 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
63083
63084 2011-08-24 Andreas Schwab <schwab@redhat.com>
63085
63086 * elf/Makefile: Add rules to build and run unload8 test.
63087 * elf/unload8.c: New file.
63088 * elf/unload8mod1.c: New file.
63089 * elf/unload8mod1x.c: New file.
63090 * elf/unload8mod2.c: New file.
63091 * elf/unload8mod3.c: New file.
63092
63093 * elf/dl-close.c (_dl_close_worker): Reset private search list if
63094 it wasn't used.
63095
63096 2011-08-23 David S. Miller <davem@davemloft.net>
63097
63098 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
63099 subtract stack bias.
63100 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
63101 %sp not %fp in calculations.
63102 (_JMPBUF_UNWINDS_ADJ): Likewise.
63103
63104 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
63105 (aio_suspend): Call it to force an exception region around the
63106 AIO_MISC_WAIT() invocation.
63107
63108 2011-08-23 Andreas Schwab <schwab@redhat.com>
63109
63110 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
63111 backslash.
63112
63113 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
63114
63115 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
63116 protection macro.
63117 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
63118 and <dl-machine.h>.
63119 (Elf64_FuncDesc): Remove.
63120
63121 2011-08-22 David S. Miller <davem@davemloft.net>
63122
63123 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
63124 sigaltstack check, add missing cfi directives.
63125 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
63126 missing cfi directives, and sigaltstack handling.
63127
63128 2011-08-16 Andreas Schwab <schwab@redhat.com>
63129
63130 [BZ #11724]
63131 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
63132 object is seen twice.
63133 * elf/dl-fini.c (_dl_sort_fini): Likewise.
63134
63135 * elf/Makefile (distribute): Add tst-initorder2.c.
63136 (tests): Add tst-initorder2.
63137 (modules-names): Add tst-initorder2a tst-initorder2b
63138 tst-initorder2c tst-initorder2d. Add rules to build them.
63139 ($(objpfx)tst-initorder2.out): New rule.
63140 * elf/tst-initorder2.c: New file.
63141 * elf/tst-initorder2.exp: New file.
63142
63143 2011-08-22 Andreas Schwab <schwab@redhat.com>
63144
63145 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
63146
63147 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
63148 dependencies back to end of function.
63149
63150 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
63151 $(elfobjdir)/ld.so.
63152
63153 2011-08-21 Ulrich Drepper <drepper@gmail.com>
63154
63155 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
63156 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
63157 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
63158 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
63159 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
63160 of __vdso_gettimeofday.
63161 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
63162 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
63163 attribute_hidden.
63164 (_libc_vdso_platform_setup): Remove initialization of
63165 __vdso_gettimeofday and __vdso_time.
63166
63167 2011-08-20 Ulrich Drepper <drepper@gmail.com>
63168
63169 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
63170 and fgetc_unlocked.
63171 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
63172 getc_unlocked.
63173
63174 * elf/dl-open.c (add_to_global): Report additions to the global scope
63175 for LD_DEBUG=scopes.
63176 (dl_open_worker): Also print scope of newly loaded dependencies.
63177 (_dl_show_scope): Indicate if there is no scope.
63178
63179 [BZ #13114]
63180 * stdio-common/Makefile (tests): Add bug24.
63181 * stdio-common/bug24.c: New file.
63182
63183 2011-08-19 Andreas Jaeger <aj@suse.de>
63184
63185 [BZ #13114]
63186 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
63187 non-existant file when using close-on-exec mode.
63188
63189 2011-08-20 Ulrich Drepper <drepper@gmail.com>
63190
63191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
63192 the very first instruction.
63193
63194 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
63195 the CFI state in the end.
63196 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
63197 inclusion of dl-trampoline.h.
63198 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
63199
63200 2011-08-19 Andreas Schwab <schwab@redhat.com>
63201
63202 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
63203 expectations for long double.
63204
63205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
63206 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
63207
63208 2011-08-14 David S. Miller <davem@davemloft.net>
63209
63210 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
63211 artificual limit depends upon the system page size.
63212
63213 2011-08-17 Ulrich Drepper <drepper@gmail.com>
63214
63215 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
63216 * resolv/Makefile: Define CFLAGS-libresolv.
63217
63218 2011-08-17 Andreas Schwab <schwab@redhat.com>
63219
63220 * nss/makedb.c (compute_tables): Make variables used in nested
63221 function static.
63222
63223 2011-08-17 Ulrich Drepper <drepper@gmail.com>
63224
63225 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
63226 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
63227 if buffer was too small.
63228
63229 * elf/pldd.c (main): Attach to all threads in the process.
63230 Rewrite /proc handling to use *at functions.
63231
63232 2011-08-16 Ulrich Drepper <drepper@gmail.com>
63233
63234 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
63235 specifies first scope to show.
63236 (dl_open_worker): Update callers. Move printing scope of new
63237 object to before the relocation.
63238 * elf/rtld.c (dl_main): Update _dl_show_scope call.
63239 * sysdeps/generic/ldsodefs.h: Update declaration.
63240
63241 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
63242 string for the scope number.
63243
63244 2011-08-14 Ulrich Drepper <drepper@gmail.com>
63245
63246 * nscd/servicescache.c (cache_addserv): Make sure written is always
63247 initialized.
63248
63249 2011-08-14 Roland McGrath <roland@hack.frob.com>
63250
63251 * sysdeps/i386/i486/bits/atomic.h
63252 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
63253 statement expression, so as to suppress "set but not used" warning.
63254 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
63255
63256 * string/strncat.c (STRNCAT): Use prototype definition.
63257
63258 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
63259 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
63260 -Iprograms here.
63261 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
63262 (localedef-modules): Add localedef.
63263 (locale-modules): Add locale.
63264
63265 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
63266 * elf/rtld.c (dl_main): Invert order of assignment in last change,
63267 to avoid a warning.
63268
63269 2011-08-14 David S. Miller <davem@davemloft.net>
63270
63271 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
63272 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
63273
63274 2011-08-13 Ulrich Drepper <drepper@gmail.com>
63275
63276 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
63277 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
63278 * elf/rtld.c (dl_main): Set l_name of vDSO.
63279 Call _dl_show_scope when DL_DEBUG_SCOPES.
63280 (process_dl_debug): Recognize scopes flag and also set it for all.
63281 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
63282 Declare _dl_show_scope.
63283
63284 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
63285 (do_dlopen): Pass caller_dlopen to dl_open.
63286 (__libc_dlopen_mode): Initialize caller_dlopen.
63287
63288 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
63289 of libc. Make tolower call locale-independent. Optimize a bit by
63290 using isdigit instead of isalnum.
63291 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
63292
63293 2011-08-12 Ulrich Drepper <drepper@gmail.com>
63294
63295 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
63296 was a dependency or dynamically loaded.
63297
63298 2011-08-11 Ulrich Drepper <drepper@gmail.com>
63299
63300 * intl/l10nflist.c: Allow architecture-specific pop function.
63301 * sysdeps/x86_64/l10nflist.c: New file.
63302
63303 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
63304 classification.
63305
63306 2011-08-10 Andreas Schwab <schwab@redhat.com>
63307
63308 * include/dirent.h: Add libc_hidden_proto for scandirat and
63309 scandirat64. Don't declare __scandirat64.
63310 * dirent/scandirat.c: Add libc_hidden_def.
63311 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
63312 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
63313
63314 2011-08-10 David S. Miller <davem@davemloft.net>
63315
63316 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
63317 enum.
63318 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63319 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63320 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63321
63322 2011-08-09 Ulrich Drepper <drepper@gmail.com>
63323
63324 * Versions.def [libc]: Add GLIBC_2.15.
63325 * dirent/Makefile (routines): Add scandirat and scandirat64.
63326 * dirent/Versions [libc]: Export scandirat and scandirat64 for
63327 GLIBC_2.15.
63328 * dirent/dirent.h: Declare scandirat and scandirat64.
63329 * dirent/scandirat.c: New file.
63330 * dirent/scandirat64.c: New file.
63331 * sysdeps/wordsize-64/scandirat.c: New file.
63332 * sysdeps/wordsize-64/scandirat64.c: New file.
63333 * dirent/opendir.c: Define opendirat.
63334 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
63335 using scandirat.
63336 * dirent/scandir64.c: Adjust for scandir.c change.
63337 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
63338 __scandirat64, and __scandir_cancel_handler.
63339 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
63340 additional parameter and use openat instead of open (outside of ld.so).
63341 Add new __opendir as wrapper around __opendirat.
63342 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
63343 here without requiring old scandirat implementation.
63344
63345 2011-08-08 Ulrich Drepper <drepper@gmail.com>
63346
63347 * dirent/scandir.c (cancel_handler): Renamed to
63348 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
63349 defined. Adjust users.
63350 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
63351 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
63352
63353 2011-08-04 Ulrich Drepper <drepper@gmail.com>
63354
63355 * string/test-string.h (IMPL): Use __STRING to expand name and then
63356 stringify it.
63357
63358 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
63359 of cleanups.
63360
63361 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63362
63363 * string/Makefile: Update.
63364 (strop-tests): Append strncat.
63365 * string/test-wcscmp.c: New file.
63366 New comprehensive test for wcscmp.
63367 * string/test-strcmp.c: Update.
63368 (WIDE): New define.
63369
63370 2011-07-22 Andreas Schwab <schwab@redhat.com>
63371
63372 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
63373 line.
63374
63375 2011-07-26 Andreas Schwab <schwab@redhat.com>
63376
63377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
63378 encoding to ACE if AI_IDN.
63379
63380 2011-08-01 Jakub Jelinek <jakub@redhat.com>
63381
63382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
63383 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
63384
63385 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63386
63387 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
63388 Fix overflow bug in strncat.
63389 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
63390
63391 * string/test-strncat.c: Update.
63392 Add new tests for checking overflow bugs.
63393
63394 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63395
63396 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63397 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
63398 * sysdeps/i386/i686/multiarch/strcat.S: New file.
63399 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
63400 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
63401 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
63402 * sysdeps/i386/i686/multiarch/strncat.S: New file.
63403 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
63404 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
63405
63406 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
63407 (USE_AS_STRCAT): Define.
63408 Add strcat and strncat support.
63409 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
63410
63411 2011-07-25 Andreas Schwab <schwab@redhat.com>
63412
63413 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
63414 __n bigger than INT_MAX+1.
63415 (__strncmp_g): Likewise.
63416
63417 2011-07-23 Ulrich Drepper <drepper@gmail.com>
63418
63419 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
63420 * libio/stido.h: Likewise.
63421
63422 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
63423 (AF_NFC): Define.
63424 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
63425 (AF_NFC): Define.
63426
63427 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
63428 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63429 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63430 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
63431 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63432
63433 [BZ #13021]
63434 * scripts/test-installation.pl: Don't expect libnss_test1 to be
63435 installed.
63436
63437 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
63438 typo.
63439 (_dl_x86_64_save_sse): Likewise.
63440
63441 2011-07-22 Ulrich Drepper <drepper@gmail.com>
63442
63443 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
63444 OSXSAVE.
63445 (_dl_x86_64_save_sse): Likewise.
63446
63447 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
63448
63449 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
63450
63451 2011-07-21 Andreas Schwab <schwab@redhat.com>
63452
63453 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
63454 change.
63455 (_dl_x86_64_save_sse): Use correct AVX check.
63456
63457 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
63458
63459 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
63460 bug in strncpy/strncat.
63461 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
63462
63463 2011-07-21 Ulrich Drepper <drepper@gmail.com>
63464
63465 * string/tester.c (test_strcat): Add tests for different alignments
63466 of source and destination.
63467 (test_strncat): Likewise.
63468
63469 2011-07-20 Ulrich Drepper <drepper@gmail.com>
63470
63471 [BZ #12852]
63472 * posix/glob.c (glob): Check passed in values before using them in
63473 expressions to avoid some overflows.
63474 (glob_in_dir): Likewise.
63475
63476 [BZ #13007]
63477 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
63478 check for AVX enablement so that we don't crash with old kernels and
63479 new hardware.
63480 * elf/tst-audit4.c: Add same checks here.
63481 * elf/tst-audit6.c: Likewise.
63482
63483 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
63484
63485 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
63486
63487 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
63488
63489 2011-07-20 Ulrich Drepper <drepper@gmail.com>
63490
63491 * po/cs.po: Update from translation team.
63492 * po/bg.po: Likewise.
63493
63494 2011-07-12 Marek Polacek <mpolacek@redhat.com>
63495
63496 * misc/sys/cdefs.h: Add support for const attribute.
63497 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
63498 to gnu_dev_{major,minor,makedev} functions.
63499
63500 2011-07-20 Marek Polacek <mpolacek@redhat.com>
63501
63502 * intl/dcigettext.c (get_output_charset): Add missing bracket.
63503
63504 2011-07-20 Andreas Schwab <schwab@redhat.com>
63505
63506 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
63507 strlen results.
63508
63509 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63510
63511 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
63512 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
63513 register in order to avoid conflicts with the soft frame pointer
63514 being held in r11 when necessary.
63515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
63516 (INTERNAL_VSYSCALL_NCS): Likewise.
63517
63518 2011-07-14 Marek Polacek <mpolacek@redhat.com>
63519
63520 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
63521 * elf/dl-fini.c (_dl_fini): Adjust caller.
63522 * elf/dl-close.c (_dl_close_worker): Likewise.
63523 * sysdeps/generic/ldsodefs.h: Adjust declaration.
63524
63525 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63526
63527 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
63528 "aux_cache->nlibs < 0".
63529
63530 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
63531 in the reload-count case.
63532
63533 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
63534
63535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63536 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
63537 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
63538 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
63539 * sysdeps/x86_64/multiarch/strcat.S: New file.
63540 * sysdeps/x86_64/multiarch/strncat.S: New file.
63541 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
63542 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
63543 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
63544 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
63545 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
63546 (USE_AS_STRCAT): Define.
63547 Add strcat and strncat support.
63548 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
63549 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63550 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
63551 * string/strncat.c: Update.
63552 (USE_AS_STRNCAT): Define.
63553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63554 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
63555 and i7.
63556 * sysdeps/x86_64/multiarch/init-arch.h
63557 (bit_Prefer_PMINUB_for_stringop): New.
63558 (index_Prefer_PMINUB_for_stringop): Likewise.
63559 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
63560 bit_Prefer_PMINUB_for_stringop.
63561
63562 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63563
63564 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
63565 buffer64.
63566 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
63567 of casting of buffer.
63568 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
63569 buffer32 and buffer64.
63570 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
63571 writes instead of casting of buffer.
63572 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
63573 buffer32.
63574 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
63575 casting of buffer.
63576
63577 2011-07-19 Andreas Schwab <schwab@redhat.com>
63578
63579 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
63580
63581 2011-07-19 Ulrich Drepper <drepper@gmail.com>
63582
63583 * nscd/nscd.c (termination_handler): Don't do anything for a database
63584 if it has not yet been initialized.
63585
63586 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63587
63588 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63589
63590 2011-07-15 Marek Polacek <mpolacek@redhat.com>
63591
63592 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
63593
63594 2011-07-18 Ulrich Drepper <drepper@gmail.com>
63595
63596 * po/nl.po: Update from translation team.
63597 * po/sv.po: Likewise.
63598
63599 2011-07-16 Roland McGrath <roland@hack.frob.com>
63600
63601 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
63602 now disallowed by GCC.
63603
63604 * configure.in (use-default-link): Default to yes if a test -shared
63605 link meets our qualifications.
63606 * configure: Regenerated.
63607
63608 * config.make.in (output-format): New variable.
63609 * configure.in: Check for ld --print-output-format support.
63610 * configure: Regenerated.
63611 * Makerules ($(common-objpfx)format.lds)
63612 [$(output-format) != unknown]: Just use $(output-format),
63613 instead of the linker-script munging.
63614
63615 2011-07-14 Roland McGrath <roland@hack.frob.com>
63616
63617 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
63618 of $(common-objpfx)shlib.lds.
63619 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
63620
63621 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
63622 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
63623
63624 * configure.in (-z relro check): Adjust test code to add a large
63625 writable data section after it.
63626 * configure: Regenerated.
63627
63628 2011-07-11 Roland McGrath <roland@hack.frob.com>
63629
63630 * configure.in (-z relro check): Fix test code to make the variable
63631 truly const.
63632 * configure: Regenerated.
63633
63634 2011-07-11 Ulrich Drepper <drepper@gmail.com>
63635
63636 * nscd/nscd.h (struct traced_file): Define.
63637 (struct database_dyn): Remove inotify_descr, reset_res, and filename
63638 elements. Add traced_files.
63639 (inotify_fd): Declare.
63640 (register_traced_file): Declare.
63641 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
63642 (inotify_fd): Export.
63643 (resolv_conf_descr): Remove.
63644 (nscd_init): Move inotify descriptor creation to main.
63645 Don't register files for notification here.
63646 (register_traced_file): New function.
63647 (invalidate_cache): Don't use reset_res to determine whether to call
63648 res_init, go through the list of registered files.
63649 (main_loop_poll): The inotify descriptors are now stored in the
63650 structures for the traced files.
63651 (main_loop_epoll): Likewise
63652 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
63653 to __nss_disable_nscd.
63654 * nscd/cache.c (prune_cache): There is no single inotify descriptor
63655 for a database anymore. Check the records for all the registered
63656 files instead.
63657 * nss/Makefile (libnss_files-routines): Add files-init.
63658 (libnss_db-routines): Add db-init.
63659 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
63660 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
63661 * nss/nss_db/db-init.c: New file.
63662 * nss/nss_files/files-init.c: New file.
63663 * nss/nsswitch.c (nss_load_library): New function. Broken out of
63664 __nss_lookup_function.
63665 (__nss_lookup_function): Call nss_load_library.
63666 (nss_load_all_libraries): New function.
63667 (__nss_disable_nscd): Take parameter with callback function for files
63668 to register. Set is_nscd. Load all the DSOs for the NSS modules
63669 used for the cached services.
63670 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
63671 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
63672 options for features to all the files in nscd.
63673
63674 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
63675
63676 2011-07-10 Roland McGrath <roland@hack.frob.com>
63677
63678 * csu/elf-init.c (__libc_csu_init): Comment typo.
63679
63680 2011-07-09 Ulrich Drepper <drepper@gmail.com>
63681
63682 * po/pl.po: Update from translation team.
63683 * po/ja.po: Likewise.
63684 * po/ru.po: Likewise.
63685 * po/ko.po: Likewise.
63686 * po/fr.po: Likewise.
63687
63688 2011-07-09 Roland McGrath <roland@hack.frob.com>
63689
63690 * configure.in (.ctors/.dtors header and trailer check):
63691 Use an empirical test on a built program.
63692 * configure: Regenerated.
63693
63694 * configure.in (-z relro check): Use an empirical test on a built DSO.
63695 Detect, but do not require, on ia64.
63696 * configure: Regenerated.
63697
63698 * configure.in (READELF): Find it with AC_CHECK_TOOL.
63699 Update tests that use readelf to use $READELF instead.
63700 * configure: Regenerated.
63701
63702 2011-07-08 Ulrich Drepper <drepper@gmail.com>
63703
63704 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
63705 if the result is not used.
63706
63707 2011-07-05 Andreas Jaeger <aj@suse.de>
63708
63709 [BZ#9696]
63710 * stdlib/tst-strtod.c: Add testcase.
63711
63712 2011-07-07 Ulrich Drepper <drepper@gmail.com>
63713
63714 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
63715 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
63716 The latter has a higher limit. Take additional parameter to pass to
63717 the new function.
63718 (__pathconf): Pass file to __statfs_link_max.
63719 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
63720 __statfs_link_max.
63721 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
63722 __statfs_link_max.
63723
63724 [BZ #12868]
63725 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
63726 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
63727 Handle Lustre.
63728 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
63729 (__statfs_filesize_max): Likewise.
63730 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
63731
63732 2011-07-05 Andreas Jaeger <aj@suse.de>
63733
63734 * resolv/res_comp.c (dn_skipname): Remove unused variable.
63735
63736 2011-07-06 Marek Polacek <mpolacek@redhat.com>
63737
63738 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
63739 `status' variable.
63740 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
63741 Likewise.
63742
63743 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
63744
63745 * Makefile (strop-tests): Add strncat.
63746 * string/test-strncat.c: New file.
63747
63748 2011-06-30 Marek Polacek <mpolacek@redhat.com>
63749
63750 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
63751
63752 2011-06-21 Andreas Jaeger <aj@suse.de>
63753
63754 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
63755 Copy rule from iconvdata/Makefile.
63756
63757 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63758
63759 [BZ #12922]
63760 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
63761 but no long options are defined, just return 'W'.
63762
63763 2011-06-22 Marek Polacek <mpolacek@redhat.com>
63764
63765 [BZ #9696]
63766 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
63767
63768 2011-07-06 Ulrich Drepper <drepper@gmail.com>
63769
63770 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
63771 netgroups to read.
63772 (innetgr): Likewise.
63773
63774 2011-07-05 Roland McGrath <roland@hack.frob.com>
63775
63776 * config.make.in (install_root): Default to $(DESTDIR).
63777
63778 2011-07-05 Ulrich Drepper <drepper@gmail.com>
63779
63780 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
63781
63782 2011-07-02 Roland McGrath <roland@hack.frob.com>
63783
63784 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
63785
63786 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
63787 containing directory rather than embedding absolute directory names.
63788
63789 * scripts/check-local-headers.sh: Rewritten using awk.
63790 Match by word, not by line. Print error messages for matches.
63791 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
63792
63793 * Makerules [shlib-lds-flags empty]:
63794 ($(common-objpfx)libc_pic.opts): New target.
63795 ($(common-objpfx)libc_pic.os.clean): New target.
63796 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
63797
63798 * config.make.in (OBJCOPY): New variable.
63799 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
63800 * configure: Regenerated.
63801
63802 * config.make.in (use-default-link): New variable.
63803 * configure.in (use_default_link): Grok --with-default-link to set it.
63804 * configure: Regenerated.
63805 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
63806 (shlib-lds, shlib-lds-flags): Define to empty.
63807
63808 * Makerules (shlib-lds): New variable.
63809 (shlib-lds-flags): New variable.
63810 (build-shlib, build-moduile, build-module-asneeded): Use it.
63811 ($(common-objpfx)libc.so): Use $(shlib-lds).
63812 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
63813 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
63814
63815 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
63816 DT_FLAGS/DT_FLAGS_1 with zero flags.
63817
63818 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
63819 linker script munging.
63820
63821 2011-07-02 Ulrich Drepper <drepper@gmail.com>
63822
63823 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
63824 as 128-bit value.
63825 * crypt/sha512.c (sha512_process_block): Perform total addition using
63826 128-bit if possible.
63827 (__sha512_finish_ctx): Likewise.
63828 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
63829 as 64-bit value.
63830 * crypt/sha256.c (SWAP64): Define.
63831 (sha256_process_block): Perform total addition using 64-bit if
63832 possible.
63833 (__sha256_finish_ctx): Likewise.
63834
63835 2011-07-01 Ulrich Drepper <drepper@gmail.com>
63836
63837 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
63838 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63839 * nscd/hstcache.c (cache_addhst): Likewise.
63840 * nscd/grpcache.c (cache_addgr): Likewise.
63841 * nscd/aicache.c (addhstaiX): Likewise
63842 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
63843
63844 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
63845
63846 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
63847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
63848 * nscd/hstcache.c (cache_addhst): Likewise.
63849 * nscd/grpcache.c (cache_addgr): Likewise.
63850 * nscd/aicache.c (addhstaiX): Likewise
63851
63852 2011-07-01 Andreas Schwab <schwab@redhat.com>
63853
63854 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
63855 domain only when needed.
63856
63857 2011-06-30 Andreas Schwab <schwab@redhat.com>
63858
63859 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
63860 is always restored.
63861
63862 2011-06-29 Ulrich Drepper <drepper@gmail.com>
63863
63864 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
63865 are re-adding the entry.
63866 * nscd/servicescache.c (cache_addserv): Likewise.
63867
63868 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
63869
63870 * sysdeps/generic/dl-irel.h: fix protection against multiple
63871 inclusions.
63872 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
63873
63874 2011-06-28 Ulrich Drepper <drepper@gmail.com>
63875
63876 [BZ #12935]
63877 * malloc/memusage.sh: Fix quoting in message.
63878 * debug/xtrace.sh: Likewise.
63879
63880 * configure.in: Remove support for --experimental-malloc option, make
63881 it the default.
63882 * config.make.in: Likewise.
63883 * malloc/Makefile: Likewise.
63884
63885 2011-06-27 Andreas Schwab <schwab@redhat.com>
63886
63887 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
63888 two-byte characters.
63889
63890 2011-06-27 Roland McGrath <roland@hack.frob.com>
63891
63892 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
63893 AC_CACHE_CHECK invocation.
63894 * configure: Regenerated.
63895
63896 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
63897
63898 2011-06-27 Ulrich Drepper <drepper@gmail.com>
63899
63900 [BZ #12350]
63901 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
63902 bit from old_res_options.
63903
63904 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
63905
63906 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
63907 value type for setfct.
63908
63909 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
63910
63911 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63912 __gettimeofday instead of gettimeofday.
63913
63914 2011-06-26 Ulrich Drepper <drepper@gmail.com>
63915
63916 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
63917
63918 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
63919
63920 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
63921
63922 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
63923 info.
63924
63925 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63926
63927 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
63928 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63929 strcpy-sse2-unaligned strncpy-sse2-unaligned
63930 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
63931 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
63932 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
63933 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
63934 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
63935 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
63936 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
63937 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
63938 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
63939 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
63940 (STRCPY): Support SSE2 and SSSE3 versions.
63941
63942 2011-06-24 Ulrich Drepper <drepper@gmail.com>
63943
63944 [BZ #12874]
63945 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
63946 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
63947 kernels which artificially limit size of requests.
63948
63949 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
63950
63951 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
63952 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
63953 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
63954 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
63955 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
63956 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
63957 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
63958 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
63959 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
63960 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
63961 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
63962 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
63963 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
63964 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
63965 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
63966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
63967 Enable unaligned load optimization for Intel Core i3, i5 and i7
63968 processors.
63969 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
63970 Define.
63971 (index_Fast_Unaligned_Load): Define.
63972 (HAS_FAST_UNALIGNED_LOAD): Define.
63973
63974 2011-06-23 Marek Polacek <mpolacek@redhat.com>
63975
63976 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
63977
63978 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63979
63980 [BZ #12907]
63981 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
63982 until it is clear that the information is realy needed.
63983 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
63984
63985 2011-06-22 Andreas Schwab <schwab@redhat.com>
63986
63987 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
63988
63989 2011-06-22 Ulrich Drepper <drepper@gmail.com>
63990
63991 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
63992 /sys/devices/system/cpu/online if it is usable.
63993
63994 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
63995 reading the information from the /proc filesystem to once a second.
63996
63997 2011-06-21 Andreas Jaeger <aj@suse.de>
63998
63999 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
64000 NULL after inclusion of kernel headers.
64001
64002 2011-06-21 Ulrich Drepper <drepper@gmail.com>
64003
64004 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
64005 calls to internal_setent.
64006
64007 [BZ #12885]
64008 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
64009 addresses using gethostbyname4_r ignore IPv4 addresses.
64010
64011 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
64012 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
64013
64014 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
64015
64016 2011-06-20 David S. Miller <davem@davemloft.net>
64017
64018 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
64019 inclusions.
64020 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
64021
64022 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
64023 (elf_irel): Use it.
64024 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
64025 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
64026 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
64027 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
64028 * sysdeps/x86_64/dl-irel.h: Likewise.
64029
64030 * elf/dl-runtime.c: Use elf_ifunc_invoke.
64031 * elf/dl-sym.c: Likewise.
64032
64033 2011-06-15 Ulrich Drepper <drepper@gmail.com>
64034
64035 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
64036 need to dereference resplen2.
64037
64038 2011-06-14 Andreas Schwab <schwab@redhat.com>
64039
64040 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
64041
64042 2011-06-15 Ulrich Drepper <drepper@gmail.com>
64043
64044 * Makeconfig: Define vardbdir and inst_vardbdir.
64045 * nss/Makefile: Add rules to install db-Makefile.
64046
64047 * nss/nss_db/db-XXX.c: Cleanup.
64048
64049 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
64050 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
64051 GLIBC_PRIVATE.
64052 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
64053 * nss/makedb.c: Implement -g option to specify that value strings
64054 are generated and should not be added to table iterated over for
64055 get*ent calls.
64056 * nss/nss_db/db-initgroups.c: New file.
64057
64058 * nss/getent.c: Add support for initgroups lookups through getgrouplist
64059 interface.
64060
64061 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
64062 (internal_getgrouplist): Adjust to name change.
64063 Update use_initgroups_entry if this is not the first call.
64064 * nss/databases.def: Add initgroups entry.
64065
64066 * nss/makedb.c (compute_tables): Check result of multiple hash table
64067 sizes to minimize maximum chain length.
64068
64069 2011-06-14 Ulrich Drepper <drepper@gmail.com>
64070
64071 * Versions.def: Add entry for libnss_db.
64072 * shlib-versions: Likewise.
64073 * nss/Makefile: Add rules to build libnss_db.
64074 * nss/Versions: Add libnss_db information. Organize libnss_files
64075 entries better.
64076 * nss/db-Makefile: Add gshadow support. Change rules for the new
64077 makedb progra. Some minor improvements to generate smaller files.
64078 * nss/nss_db/nss_db.h: Move NSS database header data structures to
64079 here from...
64080 * nss/makedb.c: ...here.
64081 Improve database format to be smaller and require less memory at
64082 runtime.
64083 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
64084 db anymore.
64085 * nss/nss_db/db-netgrp.c: Likewise.
64086 * nss/nss_db/db-open.c: Likewise.
64087 * nss/nss_files/flies-XXX.x: Adjust comments.
64088 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
64089 * nss/nss_files/files-grp.c: Likewise.
64090 * nss/nss_files/files-hosts.c: Likewise.
64091 * nss/nss_files/files-network.c: Likewise.
64092 * nss/nss_files/files-proto.c: Likewise.
64093 * nss/nss_files/files-pwd.c: Likewise.
64094 * nss/nss_files/files-rpc.c: Likewise.
64095 * nss/nss_files/files-service.c: Likewise.
64096 * nss/nss_files/files-sgrp.c: Likewise.
64097 * nss/nss_files/files-spwd.c: Likewise.
64098 * nss/nss_db/db-alias.c: Removed.
64099 * nss/nss_db/dummy-db.h: Removed.
64100
64101 2011-06-02 Ulrich Drepper <drepper@gmail.com>
64102
64103 * nss/makedb.c: Rewritten to not use database library.
64104 * nss/Makefile: Update to build new makedb program.
64105
64106 2011-06-14 Andreas Jaeger <aj@suse.de>
64107
64108 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
64109 memset declaration.
64110
64111 2011-06-10 Andreas Schwab <schwab@redhat.com>
64112
64113 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
64114 tmpbuf.
64115
64116 2011-06-10 Roland McGrath <roland@hack.frob.com>
64117
64118 * Makerules (shlib.lds): Fail if the linker script comes out empty.
64119 * elf/Makefile ($(objpfx)ld.so): Likewise.
64120
64121 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
64122 Don't list ld.so twice in dependencies.
64123
64124 * posix/bug-regex31.c: Include <stdlib.h>.
64125
64126 * nscd/hstcache.c (cache_addhst): Remove unused variable.
64127
64128 * nis/nss_compat/compat-spwd.c
64129 (getspent_next_nss_netgr): Remove unused variable.
64130 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
64131
64132 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
64133 nonmembers" output to use the right array.
64134
64135 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
64136
64137 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
64138
64139 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
64140 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
64141 * catgets/gencat.c (read_input_file): Likewise.
64142 * locale/programs/locarchive.c (enlarge_archive): Likewise.
64143
64144 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
64145 variable definition inside #if's controlling its use.
64146
64147 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
64148
64149 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
64150
64151 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
64152
64153 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
64154 unreachable code.
64155
64156 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
64157
64158 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
64159 * configure: Regenerated.
64160
64161 * Makerules: Revert last change.
64162 * elf/Makefile: Likewise.
64163
64164 2011-06-09 Roland McGrath <roland@hack.frob.com>
64165
64166 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
64167 * elf/Makefile ($(objpfx)librtld.os): Likewise.
64168 (reloc-link): Likewise.
64169
64170 2011-06-09 Ulrich Drepper <drepper@gmail.com>
64171
64172 * elf/Makefile: Add rules to build pldd.
64173 * elf/pldd.c: New file.
64174 * elf/pldd-xx.c: New file.
64175
64176 2011-06-07 Ulrich Drepper <drepper@gmail.com>
64177
64178 * version.h: Update for 2.15 development version.
64179
64180 2011-06-07 David S. Miller <davem@davemloft.net>
64181
64182 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
64183 ifuncs.
64184 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
64185 elf_machine_lazy_rel): Likewise.
64186 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
64187 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
64188 elf_machine_lazy_rel): Likewise.
64189 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
64190 dl_hwcap via passed in argument.
64191 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
64192 Likewise.
64193
64194 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64195
64196 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
64197
64198 2011-06-06 Roland McGrath <roland@hack.frob.com>
64199
64200 [BZ #12849]
64201 * manual/fdl-1.1.texi: New file, verbatim from:
64202 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
64203 * manual/lgpl-2.1.texi: New file, verbatim from:
64204 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
64205 * manual/Makefile (licenses): New variable, list those new file names.
64206 (texis): Use it.
64207 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
64208
64209 * manual/fdl.texi: File removed.
64210 * manual/lesser.texi: File removed.
64211 * manual/libc.texinfo (Copying, Documentation License):
64212 Use new @include file names, put @appendix directive before @include.
64213
64214 2011-06-04 Jakub Jelinek <jakub@redhat.com>
64215
64216 [BZ #12841]
64217 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
64218 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
64219 (mq_open): Add __NTH.
64220
64221 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
64222
64223 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64224 Assume Intel Core i3/i5/i7 processor if AVX is available.
64225
64226 2011-05-31 Ulrich Drepper <drepper@gmail.com>
64227
64228 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
64229 typo.
64230
64231 2011-05-31 Andreas Schwab <schwab@redhat.com>
64232
64233 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
64234 memory. Use alloca_account. Fix memory leak when retrying.
64235
64236 2011-05-31 Ulrich Drepper <drepper@gmail.com>
64237
64238 * version.h (RELEASE): Bump for 2.14 release.
64239 * include/features.h (__GLIBC_MINOR__): Bump to 14.
64240
64241 * config.make.in (RANLIB): Remove entry.
64242
64243 2011-05-30 Ulrich Drepper <drepper@gmail.com>
64244
64245 * po/Makefile (po-sed-cmd): Add ksh to extensions.
64246 (libc.pot): Work around missing support for .ksh extension in xgettext.
64247
64248 [BZ #12684]
64249 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
64250 if both request failed.
64251 (send_dg): In case of server errors clear resplen or *resplen2.
64252
64253 [BZ #12454]
64254 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
64255 when there are multiple maps.
64256 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
64257 (_dl_fini): Remove test here.
64258
64259 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
64260
64261 2011-05-29 Ulrich Drepper <drepper@gmail.com>
64262
64263 [BZ #12350]
64264 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
64265 bit from old_res_options.
64266 (gaih_inet): Likewise.
64267
64268 [BZ #11099]
64269 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
64270 as signed.
64271
64272 * resolv/res_init.c (res_setoptions): Make the code more compact.
64273
64274 [BZ #11558]
64275 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
64276 set RES_USEVC.
64277
64278 [BZ #11634]
64279 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
64280
64281 * malloc/malloc.h: Mark malloc hook variables as deprecated.
64282
64283 [BZ #11781]
64284 * malloc/malloc.h: Declare malloc hook variables as volatile.
64285
64286 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
64287 in last patch.
64288
64289 [BZ #11799]
64290 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
64291 raise in the comment.
64292 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
64293 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
64294 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
64295
64296 2011-05-28 Ulrich Drepper <drepper@gmail.com>
64297
64298 [BZ #12811]
64299 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
64300 grow the buffers more if it already has to be sufficient.
64301 (build_wcs_upper_buffer): Likewise.
64302 * posix/regexec.c (check_matching): Likewise.
64303 (clean_state_log_if_needed): Likewise.
64304 (extend_buffers): Don't enlarge buffers beyond size of the input
64305 buffer.
64306 Patches mostly by Emil Wojak <emil@wojak.eu>.
64307 * posix/bug-regex32.c: New file.
64308 * posix/Makefile (tests): Add bug-regex32.
64309
64310 * locale/findlocale.c (_nl_find_locale): Return right away if
64311 _nl_explode_name failed.
64312 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
64313
64314 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
64315
64316 * debug/xtrace.sh: Unify messages.
64317 * malloc/memusage.sh: Likewise.
64318
64319 [BZ #12813]
64320 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
64321 time symbol from vDSO. Substitute with vsyscall if not available.
64322 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
64323 __vdso_time.
64324
64325 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
64326 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
64327 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
64328 Add sendmmsg and internal_sendmmsg.
64329 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
64330 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
64331 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
64332
64333 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
64334 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
64335 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
64336
64337 2011-05-27 Ulrich Drepper <drepper@gmail.com>
64338
64339 [BZ #12813]
64340 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
64341 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
64342 available.
64343 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
64344 __vdso_getcpu.
64345
64346 [BZ #12814]
64347 * iconvdata/Makefile (tests): Add bug-iconv9.
64348 * iconvdata/bug-iconv9.c: New file.
64349
64350 2011-05-27 Andreas Schwab <schwab@redhat.com>
64351
64352 [BZ #12814]
64353 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
64354
64355 2011-05-25 Jakub Jelinek <jakub@redhat.com>
64356
64357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64358 (struct user_regs_struct): Change intcs field back to cs.
64359
64360 2011-05-25 Ulrich Drepper <drepper@gmail.com>
64361
64362 * po/ja.po: Update from translation team.
64363
64364 2011-05-23 Ulrich Drepper <drepper@gmail.com>
64365
64366 [BZ #12795]
64367 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
64368 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
64369
64370 2011-05-20 Andreas Schwab <schwab@redhat.com>
64371
64372 * stdlib/longlong.h: Update from GCC.
64373
64374 2011-05-23 Andreas Schwab <schwab@redhat.com>
64375
64376 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
64377 parameter name.
64378 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
64379 Add parameter name.
64380 (__sysconf): Pass it down.
64381
64382 2011-05-22 Ulrich Drepper <drepper@gmail.com>
64383
64384 [BZ #12671]
64385 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
64386 some situations.
64387 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
64388 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
64389 add in in __libc_use_alloca calls. Adjust callers.
64390 (glob): Use malloc in some situations.
64391
64392 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
64393 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
64394 pltexit.
64395
64396 2011-05-21 Ulrich Drepper <drepper@gmail.com>
64397
64398 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
64399 and CLOCK_BOOTTIME_ALARM.
64400
64401 [BZ #12782]
64402 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
64403 is returned.
64404
64405 * string/_strerror.c (__strerror_r): Print negative errors as signed
64406 numbers.
64407
64408 [BZ #12777]
64409 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
64410 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
64411 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
64412
64413 * configure.in: Fix typo in redirection and correct removal of test
64414 files in two cases.
64415
64416 [BZ #12788]
64417 * locale/setlocale.c (new_composite_name): Fix test to check for
64418 identical name of all categories.
64419
64420 [BZ #12792]
64421 * libio/filedoalloc.c (local_isatty): New function.
64422 (_IO_file_doallocate): Use local_isatty.
64423 * stdio-common/perror.c (perror): In case a new stream is used
64424 forward the stream error.
64425 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
64426 error flag.
64427
64428 2011-05-20 Ulrich Drepper <drepper@gmail.com>
64429
64430 [BZ #11869]
64431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
64432 alloca.
64433 * include/alloca.h (extend_alloca_account): Define.
64434
64435 [BZ #11857]
64436 * posix/regex.h: Fix comments with documentation of user-accessible
64437 fields after compilation and describe correct free'ing of pattern
64438 after re_compile_pattern.
64439 Patch by Reuben Thomas <rrt@sc3d.org>.
64440
64441 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
64442
64443 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
64444 and -mno-altivec to prevent the compiler from using Altivec and/or
64445 VSX instructions when the corresponding registers are not available.
64446
64447 2011-05-19 Andreas Schwab <schwab@redhat.com>
64448
64449 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
64450
64451 2011-05-19 Ulrich Drepper <drepper@gmail.com>
64452
64453 * libio/freopen.c (freopen): Use __dup2, not dup2.
64454 * libio/freopen64.c (freopen64): Likewise.
64455
64456 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
64457
64458 [BZ #12775]
64459 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
64460 * math/Makefile (tests): Add test-powl.
64461 (CFLAGS-test-powl.c): Define.
64462 * math/test-powl.c: New file.
64463
64464 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
64465
64466 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
64467
64468 2011-05-17 Ulrich Drepper <drepper@gmail.com>
64469
64470 [BZ #11837]
64471 * iconvdata/gb18030.c: Update to GB18020-2005.
64472
64473 2011-05-16 Ulrich Drepper <drepper@gmail.com>
64474
64475 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
64476 RE_SYNTAX_POSIX_AWK): Update to match recent development.
64477 Patch by Aharon Robbins <arnold@skeeve.com>.
64478
64479 [BZ #11892]
64480 * stdlib/putenv.c (putenv): Don't always create copy of the variable
64481 on the stack.
64482
64483 [BZ #11895]
64484 * misc/pselect.c (__pselect): Handle timeout value errors hidden
64485 through underflows.
64486
64487 [BZ #12766]
64488 * misc/error.c (error_at_line): Ensure file_name and old_file_name
64489 point to strings before performing equality test for error_one_per_line
64490 mode.
64491
64492 [BZ #11697]
64493 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
64494
64495 [BZ #11820]
64496 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
64497 (struct user_fpregs_struct): Avoid __uint*_t types.
64498
64499 [BZ #6420]
64500 * malloc/mtrace.c (tr_where): Add additional parameter to point to
64501 symbol info. Use it instead of calling _dl_addr locally.
64502 (lock_and_info): New function.
64503 (tr_freehook): Call lock_and_info and pass symbol info as additional
64504 parameter to tr_where.
64505 (tr_mallochook): Likewise.
64506 (tr_reallochook): Likewise.
64507 (tr_memalignhook): Likewise.
64508
64509 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
64510 used and couldn't be at all thread-safe.
64511
64512 2011-05-15 Ulrich Drepper <drepper@gmail.com>
64513
64514 * libio/freopen.c (freopen): Don't close old file descriptor
64515 before the new one is opened. Instead dup the new file descriptor
64516 to the old one after the new stream is created.
64517 * libio/freopen64.c (freopen64): Likewise.
64518 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
64519 * libio/fileops.c (_IO_new_file_close_it): Handle new
64520 _IO_FLAGS2_NOCLOSE flag.
64521 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
64522 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
64523 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
64524 _IO_FLAGS2_NOCLOSE flag.
64525 * include/unistd.h: Add hidden_proto for dup3.
64526 Define __have_dup3.
64527 * io/dup3.c: Define hidden symbol.
64528 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
64529
64530 [BZ #7101]
64531 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
64532 when an incomplete long option is used.
64533 * posix/tst-getopt_long1.c: New file.
64534 * posix/Makefile (tests): Add tst-getopt_long1.
64535
64536 [BZ #10138]
64537 * scripts/config.guess: Update from autoconf-2.68.
64538 * scripts/config.sub: Likewise.
64539
64540 [BZ #10157]
64541 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
64542 tests into ...
64543 (has_cpuclock): ...this. New function.
64544 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
64545 macro here based on has_cpuclock code.
64546
64547 [BZ #10149]
64548 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64549 First byte (not low byte) is now always NUL.
64550 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
64551
64552 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
64553 Use non-cancelable interfaces.
64554
64555 [BZ #9809]
64556 * locale/iso-639.def: Add entry for Sorani.
64557
64558 [BZ #11901]
64559 * include/stdlib.h: Move include protection to the right place.
64560 Define abort_msg_s. Declare __abort_msg with it.
64561 * stdlib/abort.c (__abort_msg): Adjust type.
64562 * assert/assert.c (__assert_fail_base): New function. Majority
64563 of code from __assert_fail. Allocate memory for __abort_msg with
64564 mmap.
64565 (__assert_fail): Now call __assert_fail_base.
64566 * assert/assert-perr.c: Remove bulk of implementation. Use
64567 __assert_fail_base.
64568 * include/assert.hL Declare __assert_fail_base.
64569 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
64570 mmap.
64571 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
64572
64573 2011-05-14 Ulrich Drepper <drepper@gmail.com>
64574
64575 [BZ #11952]
64576 [BZ #12453]
64577 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
64578 until all modules are registered in the DTV.
64579 * elf/Makefile: Add rules to build and run tst-tls19.
64580 * elf/tst-tls19.c: New file.
64581 * elf/tst-tls19mod1.c: New file.
64582 * elf/tst-tls19mod2.c: New file.
64583 * elf/tst-tls19mod3.c: New file.
64584 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
64585
64586 [BZ #12083]
64587 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
64588 correctly.
64589
64590 [BZ #12601]
64591 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
64592 two-byte sequence errors.
64593 * iconvdata/Makefile (tests): Add bug-iconv8.
64594 * iconvdata/bug-iconv8.c: New file.
64595
64596 [BZ #12626]
64597 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
64598 buf2 definition.
64599
64600 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
64601
64602 [BZ #12432]
64603 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
64604 (dummy_getcfa): New function.
64605 (init): Get _Unwind_GetCFA address, use dummy if not found.
64606 (backtrace_helper): In recursion check, also check whether CFA changes.
64607 (__backtrace): Completely initialize arg.
64608
64609 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
64610 storing incomplete byte sequence in state object. Avoid testing for
64611 guaranteed too small input if we know there is enough data available.
64612
64613 2011-05-11 Andreas Schwab <schwab@redhat.com>
64614
64615 * Makeconfig (+link-pie): Indent.
64616 * Rules (binaries-pie): Define if $(have-fpie) and
64617 $(build-shared).
64618 (binaries-shared): Also filter out $(binaries-pie).
64619 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
64620 * nscd/Makefile (others-pie): Add nscd.
64621 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
64622 ($(objpfx)nscd): Remove command override.
64623 * login/Makefile (others-pie): Add pt_chown.
64624 ($(objpfx)pt_chown): Remove command override.
64625 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
64626 remove command overrides.
64627
64628 2011-05-13 Ulrich Drepper <drepper@gmail.com>
64629
64630 * libio/tst_putwc.c: Fix error messages.
64631
64632 [BZ #12724]
64633 * libio/fileops.c (_IO_new_file_close_it): Always flush when
64634 currently writing and seek to current position when not.
64635 * libio/Makefile (tests): Add bug-fclose1.
64636 * libio/bug-fclose1.c: New file.
64637
64638 2011-05-12 Ulrich Drepper <drepper@gmail.com>
64639
64640 [BZ #12511]
64641 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
64642 don't set DF_1_NODELETE here.
64643 (do_lookup_x): When entering new entry test for copy relocation
64644 and if necessary set DF_1_NODELETE flag.
64645 * elf/tst-unique4.cc: New file.
64646 * elf/tst-unique4.h: New file.
64647 * elf/tst-unique4lib.cc: New file.
64648 * elf/Makefile: Add rules to build and run tst-unique4.
64649 Patch by Piotr Bury <pbury@goahead.com>.
64650
64651 2011-05-11 Ulrich Drepper <drepper@gmail.com>
64652
64653 [BZ #12052]
64654 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
64655
64656 [BZ #12625]
64657 * misc/mntent_r.c (addmntent): Flush the stream after the output
64658
64659 [BZ #12393]
64660 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
64661 (is_trusted_path_normalize): Skip initial colon. Append slash
64662 to empty buffer. Duplicate is_trusted_path code but allow
64663 constructed patch to be prefix.
64664 (is_dst): Allow $ORIGIN followed by /.
64665 (_dl_dst_substitute): Correct clearing of check_for_trusted.
64666 Correct testing of result of is_trusted_path_normalize
64667 (decompose_rpath): Fix warning.
64668
64669 2011-05-10 Ulrich Drepper <drepper@gmail.com>
64670
64671 [BZ #11257]
64672 * grp/initgroups.c (internal_getgrouplist): When we found the service
64673 list through the initgroups entry in nsswitch.conf do not always
64674 continue on a successful lookup. Don't always use the
64675 __nss_group_database value if it is set.
64676 * nss/nsswitch.conf (initgroups): Change action for successful db
64677 lookup to continue for compatibility.
64678
64679 2011-05-09 Ulrich Drepper <drepper@gmail.com>
64680
64681 [BZ #11532]
64682 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
64683 and CP774 modules.
64684 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
64685 and CP774 modules.
64686 * iconvdata/tst-tables.sh: Likewise.
64687 * iconvdata/cp770.c: New file.
64688 * iconvdata/cp771.c: New file.
64689 * iconvdata/cp772.c: New file.
64690 * iconvdata/cp773.c: New file.
64691 * iconvdata/cp774.c: New file.
64692 * iconvdata/testdata/CP770: New file.
64693 * iconvdata/testdata/CP770..UTF8: New file.
64694 * iconvdata/testdata/CP771: New file.
64695 * iconvdata/testdata/CP771..UTF8: New file.
64696 * iconvdata/testdata/CP772: New file.
64697 * iconvdata/testdata/CP772..UTF8: New file.
64698 * iconvdata/testdata/CP773: New file.
64699 * iconvdata/testdata/CP773..UTF8: New file.
64700 * iconvdata/testdata/CP774: New file.
64701 * iconvdata/testdata/CP774..UTF8: New file.
64702
64703 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
64704 END CHARMAP line.
64705 * iconvdata/gen-8bit-gap.sh: Likewise.
64706 * iconvdata/gen-8bit.sh: Likewise.
64707
64708 * locale/iso-639.def: Add ary entry.
64709
64710 [BZ #11258]
64711 * locale/C-translit.h.in: Add U20A1 transliteration.
64712
64713 [BZ #12178]
64714 * locale/iso-639.def: Add wae entry.
64715 Patch by Kevin Bortis <bortis@translate-wae.ch>.
64716
64717 [BZ #12545]
64718 * locale/programs/localedef.c (construct_output_path): Use ssize_t
64719 for n.
64720
64721 [BZ #12711]
64722 * locale/C-translit.h.in: Add entry for U20B9.
64723 Patch by pravin.d.s@gmail.com.
64724
64725 2011-05-08 Ulrich Drepper <drepper@gmail.com>
64726
64727 [BZ #12713]
64728 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
64729 ENAMETOOLONG use generic getcwd.
64730 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
64731 in rtld. Use *stat64.
64732 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
64733 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
64734 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
64735 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
64736 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
64737 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
64738 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
64739 __fstatat64 macros.
64740 * include/dirent.h: Add libc_hidden_proto for rewinddir.
64741 * dirent/rewinddir.c: Add libc_hidden_def.
64742 * sysdeps/mach/hurd/rewinddir.c: Likewise.
64743 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
64744
64745 * include/dirent.h (__alloc_dir): Add flags parameter.
64746 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
64747 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
64748 __alloc_dir.
64749 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
64750 from fdopendir if O_CLOEXEC is already set.
64751
64752 2011-03-15 Alan Modra <amodra@gmail.com>
64753
64754 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
64755 l_tls_firstbyte_offset non-zero. Save padding offset in
64756 l_tls_firstbyte_offset for later use.
64757 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
64758 freeing static tls block.
64759
64760 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
64761
64762 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
64763 where #ifdef was intended. The intent is to prevent ARG_MAX from
64764 being defined by the kernel headers.
64765
64766 2011-05-07 Ulrich Drepper <drepper@gmail.com>
64767
64768 [BZ #12734]
64769 * resolv/resolv.h: Define RES_NOTLDQUERY.
64770 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
64771 no-tld-query and set RES_NOTLDQUERY.
64772 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
64773 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
64774 modern BIND to search name as TLD unless forbidden.
64775
64776 2011-05-07 Petr Baudis <pasky@suse.cz>
64777 Ulrich Drepper <drepper@gmail.com>
64778
64779 [BZ #12393]
64780 * elf/dl-load.c (fillin_rpath): Move trusted path check...
64781 (is_trusted_path): ...to here.
64782 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
64783 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
64784 using is_trusted_path_normalize() in setuid scripts.
64785
64786 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
64787
64788 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
64789 __BEGIN/__END_DECLS.
64790
64791 2011-05-06 Ulrich Drepper <drepper@gmail.com>
64792
64793 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
64794 NSS_STATUS_NOTFOUND if no record was found.
64795
64796 2011-05-05 Andreas Schwab <schwab@redhat.com>
64797
64798 * sunrpc/Makefile (headers): Add rpc/netdb.h.
64799 (headers-not-in-tirpc): Remove rpc/netdb.h
64800 * resolv/netdb.h: Revert last change.
64801
64802 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
64803
64804 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
64805 circular dependency between libgcc.a and libc.a.
64806
64807 2011-05-05 Andreas Schwab <schwab@redhat.com>
64808
64809 * resolv/netdb.h: Don't include <rpc/netdb.h>.
64810 * nis/Makefile: Don't install rpcsvc/*.
64811 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
64812 instead of <rpc/types.h>.
64813 (MAXHOSTNAMELEN): Define.
64814
64815 2011-05-03 Andreas Schwab <schwab@redhat.com>
64816
64817 * elf/ldconfig.c (add_dir): Don't crash on empty path.
64818
64819 2011-04-28 Maciej Babinski <mbabinski@google.com>
64820
64821 [BZ #12714]
64822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
64823 gethostbyname4_r when IPv6 results are possible.
64824
64825 2011-05-02 Ulrich Drepper <drepper@gmail.com>
64826
64827 [BZ #12723]
64828 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
64829 _PC_PIPE_BUF handling.
64830
64831 2011-04-30 Bruno Haible <bruno@clisp.org>
64832
64833 [BZ #12717]
64834 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
64835 * resolv/netdb.h (getnameinfo): Change type of flags parameter
64836 to 'int'.
64837 * inet/getnameinfo.c (getnameinfo): Likewise.
64838
64839 2011-04-29 Ulrich Drepper <drepper@gmail.com>
64840
64841 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
64842 to groups setting in database lookup.
64843 * nss/nsswitch.conf: Add initgroups entry.
64844
64845 2011-04-22 Ulrich Drepper <drepper@gmail.com>
64846
64847 [BZ #12685]
64848 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
64849 mode string.
64850 Patch by Eric Blake <eblake@redhat.com>.
64851
64852 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
64853
64854 * sunrpc/Makefile (need-export-routines): Add svc_run.
64855 (routines): Remove svc_run.
64856 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
64857 * sunrpc/clnt_perr.c (clnt_perrno): Export.
64858 * sunrpc/svc_run.c (svc_run): Likewise.
64859 * sunrpc/svc_udp.c (svcudp_create): Likewise.
64860
64861 2011-04-21 Ulrich Drepper <drepper@gmail.com>
64862
64863 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
64864 problem in reallocation in last patch.
64865
64866 2011-04-20 Ulrich Drepper <drepper@gmail.com>
64867
64868 * sunrpc/Makefile: Move inclusion of Rules.
64869
64870 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64871
64872 * nss/nss_files/files-initgroups.c: New file.
64873 * nss/Makefile (libnss_files-routines): Add files-initgroups.
64874 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
64875 _nss_files_initgroups_dyn.
64876
64877 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
64878
64879 * elf/elf.h (R_ARM_IRELATIVE): Define.
64880
64881 2011-04-19 Ulrich Drepper <drepper@gmail.com>
64882
64883 * po/ru.po: Update from translation team.
64884
64885 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64886
64887 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
64888 dependencies.
64889
64890 2011-02-06 Mike Frysinger <vapier@gentoo.org>
64891
64892 [BZ #12653]
64893 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
64894 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
64895 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
64896 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
64897 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
64898
64899 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
64900
64901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
64902 differing bytes.
64903 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
64904 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
64905 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
64906
64907 2011-04-17 Ulrich Drepper <drepper@gmail.com>
64908
64909 [BZ #12420]
64910 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
64911 storing it.
64912 * stdlib/bug-getcontext.c: New file.
64913 * stdlib/Makefile: Add rules to build and run bug-getcontext.
64914
64915 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64916
64917 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
64918 instructions into .machine "z9-109".
64919 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
64920 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
64921
64922 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64923
64924 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
64925 between environment variables and auxiliary vector.
64926
64927 2011-04-16 Ulrich Drepper <drepper@gmail.com>
64928
64929 * Makefile: Add rules to build linkobj/libc.so.
64930 * include/libc-symbols.h: Define libc_hidden_nolink.
64931 * include/rpc/auth.h: Mark functions which are to be hidden.
64932 * include/rpc/auth_des.h: Likewise.
64933 * include/rpc/auth_unix.h: Likewise.
64934 * include/rpc/clnt.h: Likewise.
64935 * include/rpc/des_crypt.h: Likewise.
64936 * include/rpc/key_prot.h: Likewise.
64937 * include/rpc/pmap_clnt.h: Likewise.
64938 * include/rpc/pmap_prot.h: Likewise.
64939 * include/rpc/pmap_rmt.h: Likewise.
64940 * include/rpc/rpc_msg.h: Likewise.
64941 * include/rpc/svc.h: Likewise.
64942 * include/rpc/svc_auth.h: Likewise.
64943 * include/rpc/xdr.h: Likewise.
64944 * nis/Makefile: Link all DSOs against linkobj/libc.so.
64945 * nss/Makefile: Likewise.
64946 * sunrpc/Makefile: Don't install headers. Build library with normal
64947 entry points. Don't build rpcinfo. Link RPC tests appropriately.
64948 * sunrpc/auth_des.c: Hide exported symbols by default, export some
64949 for the compat linking library. Remove use of INTDEF/INTUSE.
64950 * sunrpc/auth_none.c: Likewise.
64951 * sunrpc/auth_unix.c: Likewise.
64952 * sunrpc/authdes_prot.c: Likewise.
64953 * sunrpc/authuxprot.c: Likewise.
64954 * sunrpc/clnt_gen.c: Likewise.
64955 * sunrpc/clnt_perr.c: Likewise.
64956 * sunrpc/clnt_raw.c: Likewise.
64957 * sunrpc/clnt_simp.c: Likewise.
64958 * sunrpc/clnt_tcp.c: Likewise.
64959 * sunrpc/clnt_udp.c: Likewise.
64960 * sunrpc/clnt_unix.c: Likewise.
64961 * sunrpc/des_crypt.c: Likewise.
64962 * sunrpc/des_soft.c: Likewise.
64963 * sunrpc/get_myaddr.c: Likewise.
64964 * sunrpc/key_call.c: Likewise.
64965 * sunrpc/key_prot.c: Likewise.
64966 * sunrpc/netname.c: Likewise.
64967 * sunrpc/pm_getmaps.c: Likewise.
64968 * sunrpc/pm_getport.c: Likewise.
64969 * sunrpc/pmap_clnt.c: Likewise.
64970 * sunrpc/pmap_prot.c: Likewise.
64971 * sunrpc/pmap_prot2.c: Likewise.
64972 * sunrpc/pmap_rmt.c: Likewise.
64973 * sunrpc/publickey.c: Likewise.
64974 * sunrpc/rpc_cmsg.c: Likewise.
64975 * sunrpc/rpc_common.c: Likewise.
64976 * sunrpc/rpc_dtable.c: Likewise.
64977 * sunrpc/rpc_prot.c: Likewise.
64978 * sunrpc/rpc_thread.c: Likewise.
64979 * sunrpc/rtime.c: Likewise.
64980 * sunrpc/svc.c: Likewise.
64981 * sunrpc/svc_auth.c: Likewise.
64982 * sunrpc/svc_authux.c: Likewise.
64983 * sunrpc/svc_raw.c: Likewise.
64984 * sunrpc/svc_run.c: Likewise.
64985 * sunrpc/svc_simple.c: Likewise.
64986 * sunrpc/svc_tcp.c: Likewise.
64987 * sunrpc/svc_udp.c: Likewise.
64988 * sunrpc/svc_unix.c: Likewise.
64989 * sunrpc/svcauth_des.c: Likewise.
64990 * sunrpc/xcrypt.c: Likewise.
64991 * sunrpc/xdr.c: Likewise.
64992 * sunrpc/xdr_array.c: Likewise.
64993 * sunrpc/xdr_float.c: Likewise.
64994 * sunrpc/xdr_intXX_t.c: Likewise.
64995 * sunrpc/xdr_mem.c: Likewise.
64996 * sunrpc/xdr_rec.c: Likewise.
64997 * sunrpc/xdr_ref.c: Likewise.
64998 * sunrpc/xdr_sizeof.c: Likewise.
64999 * sunrpc/xdr_stdio.c: Likewise.
65000
65001 2011-04-10 Ulrich Drepper <drepper@gmail.com>
65002
65003 [BZ #12650]
65004 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
65005 * sysdeps/ia64/dl-tls.h: Likewise.
65006 * sysdeps/powerpc/dl-tls.h: Likewise.
65007 * sysdeps/s390/dl-tls.h: Likewise.
65008 * sysdeps/sh/dl-tls.h: Likewise.
65009 * sysdeps/sparc/dl-tls.h: Likewise.
65010 * sysdeps/x86_64/dl-tls.h: Likewise.
65011 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
65012
65013 2011-03-14 Andreas Schwab <schwab@redhat.com>
65014
65015 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
65016 rpath element also skip the following colon.
65017 (expand_dynamic_string_token): Add is_path parameter and pass
65018 down to DL_DST_REQUIRED and _dl_dst_substitute.
65019 (decompose_rpath): Call expand_dynamic_string_token with
65020 non-zero is_path. Ignore empty rpaths.
65021 (_dl_map_object_from_fd): Call expand_dynamic_string_token
65022 with zero is_path.
65023
65024 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
65025
65026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65027 Make cancelable.
65028
65029 2011-04-09 Ulrich Drepper <drepper@gmail.com>
65030
65031 [BZ #12655]
65032 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
65033 Patch by Filipe David Manana <fdmanana@apache.org>.
65034
65035 2011-04-07 Andreas Schwab <schwab@redhat.com>
65036
65037 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
65038 Maintain aligned stack.
65039 (CHECK_RSP): Remove unused macro.
65040
65041 2011-04-03 Ulrich Drepper <drepper@gmail.com>
65042
65043 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
65044 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
65045
65046 2011-04-02 Ulrich Drepper <drepper@gmail.com>
65047
65048 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
65049
65050 * include/features.h: Mention __USE_XOPEN2K8 in comment.
65051
65052 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
65053
65054 [BZ #12518]
65055 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
65056 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
65057 * sysdeps/x86_64/memmove.c: New file.
65058 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
65059 (memcpy): Renamed to ...
65060 (__new_memcpy): This.
65061 (memcpy): Provide GLIBC_2_14 memcpy.
65062 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
65063 (memcpy): Provide GLIBC_2_2_5 memcpy.
65064
65065 2011-04-01 Ulrich Drepper <drepper@gmail.com>
65066
65067 [BZ #12631]
65068 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
65069
65070 2011-03-30 Andreas Schwab <schwab@redhat.com>
65071
65072 * misc/syncfs.c: New file.
65073 * misc/Makefile (routines): Add syncfs.
65074 * posix/unistd.h: Declare syncfs.
65075 * sysdeps/unix/syscalls.list: Add syncfs.
65076
65077 2011-04-01 Andreas Schwab <schwab@redhat.com>
65078
65079 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
65080 open_by_handle_at.
65081 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
65082 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65083 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65084 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65085 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65086 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
65087 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65088
65089 2011-04-01 Ulrich Drepper <drepper@gmail.com>
65090
65091 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
65092 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
65094 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65095 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65096 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65097 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65098
65099 * io/Makefile: Compile fallocate.c, fallocate64.c, and
65100 sync_file_range.c with -fexceptions.
65101 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
65102 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
65103 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
65104 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
65105 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
65106 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65107 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
65108 sync_file_range as cancellation point
65109 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
65110 now a wrapper around __call_sync_file_range with cancellation handling.
65111 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
65112 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
65113 function name to __call_sync_file_range.
65114 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
65115 Add call_sync_file_range.
65116
65117 2011-04-01 Andreas Schwab <schwab@redhat.com>
65118
65119 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65120 bits/timex.h.
65121
65122 2011-04-01 Ulrich Drepper <drepper@gmail.com>
65123
65124 * iconv/iconv.h: Fix typo in comment.
65125 * io/fcntl.h: Likewise.
65126 * libio/stdio.h: Likewise.
65127 * posix/spawn.h: Likewise.
65128 * posix/unistd.h: Likewise.
65129 * stdlib/stdlib.h: Likewise.
65130 * time/time.h: Likewise.
65131 * wcsmbs/wchar.h: Likewise.
65132
65133 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
65134 open_by_handle): Add.
65135 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
65136 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
65137 Augment a few comments.
65138 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
65139 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65140 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
65141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65142 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
65143 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
65144 open_by_handle.
65145
65146 * io/fcntl.h (AT_EMPTY_PATH): Define.
65147
65148 2011-03-30 Ulrich Drepper <drepper@gmail.com>
65149
65150 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
65151 * sysdeps/unix/sysv/linux/bits/time.h: New file.
65152 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
65153 to...
65154 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
65155 * Versions.def: Add GLIBC_2.14.
65156 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
65157 Export.
65158
65159 2011-03-22 Ulrich Drepper <drepper@gmail.com>
65160
65161 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
65162 round counter.
65163 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65164
65165 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
65166
65167 [BZ #12597]
65168 * string/test-strncmp.c (do_page_test): New function.
65169 (check2): Likewise.
65170 (test_main): Call check2.
65171 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
65172
65173 2011-03-20 Ulrich Drepper <drepper@gmail.com>
65174
65175 [BZ #12587]
65176 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
65177 Handle cache information in CPU leaf 4.
65178 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
65179
65180 2011-03-18 Ulrich Drepper <drepper@gmail.com>
65181
65182 [BZ #12583]
65183 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
65184 character representation.
65185 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
65186
65187 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
65188
65189 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
65190 END(__isnan) to END(__isnanf) to match function entry point/label
65191 EALIGN(__isnanf,...).
65192
65193 2011-03-10 Jakub Jelinek <jakub@redhat.com>
65194
65195 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
65196
65197 2011-03-10 Ulrich Drepper <drepper@gmail.com>
65198
65199 [BZ #12510]
65200 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
65201 copy from the symbol referenced in the relocation to initialize the
65202 used variable.
65203 Patch by Piotr Bury <pbury@goahead.com>.
65204 * elf/Makefile: Add rules to build and tst-unique3.
65205 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
65206 * elf/tst-unique3.cc: New file.
65207 * elf/tst-unique3.h: New file.
65208 * elf/tst-unique3lib.cc: New file.
65209 * elf/tst-unique3lib2.cc: New file.
65210
65211 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
65212
65213 2011-03-10 Mike Frysinger <vapier@gentoo.org>
65214
65215 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
65216 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
65217 to _start.
65218
65219 2011-03-06 Ulrich Drepper <drepper@gmail.com>
65220
65221 * elf/dl-load.c (_dl_map_object): If we are looking for the first
65222 to-be-loaded object along a path to loader is ld.so.
65223
65224 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
65225 Ulrich Drepper <drepper@gmail.com>
65226
65227 * sysdeps/x86_64/memset.S: After aligning destination, code
65228 branches to different locations depending on the value of
65229 misalignment, when multiarch is enabled. Fix this.
65230
65231 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
65232
65233 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
65234 Set _x86_64_preferred_memory_instruction for AMD processsors.
65235 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65236 Set bit_Prefer_SSE_for_memop for AMD processors.
65237
65238 2011-03-04 Ulrich Drepper <drepper@gmail.com>
65239
65240 * libio/fmemopen.c (fmemopen): Optimize a bit.
65241
65242 2011-03-03 Andreas Schwab <schwab@redhat.com>
65243
65244 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
65245
65246 2011-03-03 Roland McGrath <roland@redhat.com>
65247
65248 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
65249
65250 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
65251
65252 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
65253 __bzero_ultra1 instead of __memset_ultra1.
65254
65255 2011-02-23 Andreas Schwab <schwab@redhat.com>
65256 Ulrich Drepper <drepper@gmail.com>
65257
65258 [BZ #12509]
65259 * include/link.h (struct link_map): Add l_orig_initfini.
65260 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
65261 returning unsuccessfully.
65262 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
65263 close of a file loaded at startup, restore the original l_initfini
65264 list.
65265 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
65266 list, store the pointer.
65267 * elf/Makefile ($(objpfx)noload-mem): New rule.
65268 (noload-ENV): Define.
65269 (tests): Add $(objpfx)noload-mem.
65270 * elf/noload.c: Include <memcheck.h>.
65271 (main): Call mtrace. Close all opened handles.
65272
65273 2011-02-17 Andreas Schwab <schwab@redhat.com>
65274
65275 [BZ #12454]
65276 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
65277 dependencies are missing.
65278
65279 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
65280
65281 Fix __if_freereq crash: Unlike the generic version which uses free,
65282 Hurd needs munmap.
65283 * sysdeps/mach/hurd/ifreq.h: New file.
65284
65285 2011-01-27 Petr Baudis <pasky@suse.cz>
65286 Ulrich Drepper <drepper@gmail.com>
65287
65288 [BZ 12445]#
65289 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
65290 to extend_alloca().
65291 * stdio-common/bug23.c: New file.
65292 * stdio-common/Makefile (tests): Add bug23.
65293
65294 2010-09-28 Andreas Schwab <schwab@redhat.com>
65295 Ulrich Drepper <drepper@gmail.com>
65296
65297 [BZ #12489]
65298 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
65299 before performing relro protection. At old place add assertion
65300 to make sure nothing changed.
65301
65302 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
65303 Glauber de Oliveira Costa <glommer@gmail.com>
65304
65305 * elf/elf.h: Add new ARM TLS relocs.
65306
65307 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
65308
65309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
65310 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
65311 cast from r3.
65312 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
65313 'tests' variable.
65314 * sysdeps/wordsize-64/tst-writev.c: New file.
65315
65316 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
65317
65318 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
65319 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
65320 insns in _dl_start to prevent a TOC reference before relocs are
65321 resolved.
65322
65323 2011-02-15 Ulrich Drepper <drepper@gmail.com>
65324
65325 [BZ #12469]
65326 * Makeconfig: Remove RANLIB definition.
65327 * Makerules: Don't use RANLIB.
65328 * aclocal.m4: Remove ranlib test.
65329 * configure.in: No need to check for ranlib.
65330 * elf/rtld-Rules: Don't use RANLIB.
65331
65332 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
65333
65334 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
65335 protection macro.
65336 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
65337 inclusion protection macro.
65338
65339 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
65340 SIGRTMIN and SIGRTMAX and print information in that case only when
65341 SIGRTMIN is defined.
65342
65343 2011-02-11 Jakub Jelinek <jakub@redhat.com>
65344
65345 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
65346 arginfo fn returning -1.
65347
65348 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
65349 and thousands string is zero terminated.
65350
65351 2011-02-03 Andreas Schwab <schwab@redhat.com>
65352
65353 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
65354 sysdeps/unix/sysv/linux/bits/socket.h.
65355
65356 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
65357
65358 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
65359 (__CPU_COUNT): Remove old macros.
65360 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
65361 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
65362 (__CPU_ALLOC, __CPU_FREE): Add macros.
65363 (__sched_cpualloc, __sched_cpufree): Add declarations.
65364
65365 2011-02-05 Ulrich Drepper <drepper@gmail.com>
65366
65367 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
65368 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
65369 * nscd/aicache.c (addhstaiX): Return timeout of added value.
65370 (readdhstai): Return value of addhstaiX call.
65371 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
65372 (addgrbyX): Return value returned by cache_addgr.
65373 (readdgrbyname): Return value returned by addgrbyX.
65374 (readdgrbygid): Likewise.
65375 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
65376 (addpwbyX): Return value returned by cache_addpw.
65377 (readdpwbyname): Return value returned by addhstbyX.
65378 (readdpwbyuid): Likewise.
65379 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
65380 (addservbyX): Return value returned by cache_addserv.
65381 (readdservbyname): Return value returned by addservbyX:
65382 (readdservbyport): Likewise.
65383 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
65384 (addhstbyX): Return value returned by cache_addhst.
65385 (readdhstbyname): Return value returned by addhstbyX.
65386 (readdhstbyaddr): Likewise.
65387 (readdhstbynamev6): Likewise.
65388 (readdhstbyaddrv6): Likewise.
65389 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
65390 (readdinitgroups): Return value returned by addinitgroupsX.
65391 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
65392 (prune_cache): Keep track of timeout value of re-added entries.
65393 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
65394 * nscd/nscd.h: Adjust prototypes of readd* functions.
65395
65396 2011-02-04 Roland McGrath <roland@redhat.com>
65397
65398 * nis/nis_server.c (nis_servstate): Use the right name for 0.
65399 (nis_stats): Likewise.
65400 * nis/nis_modify.c (nis_modify): Likewise.
65401 * nis/nis_remove.c (nis_remove): Likewise.
65402 * nis/nis_add.c (nis_add): Likewise.
65403
65404 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
65405
65406 * posix/fnmatch_loop.c: Add some consts.
65407
65408 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
65409
65410 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
65411
65412 [BZ #12460]
65413 * config.make.in (config-cflags-novzeroupper): Define.
65414 * configure.in: Substitute libc_cv_cc_novzeroupper.
65415 * elf/Makefile (AVX-CFLAGS): Define.
65416 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
65417 (CFLAGS-tst-auditmod4a.c): Likewise.
65418 (CFLAGS-tst-auditmod4b.c): Likewise.
65419 (CFLAGS-tst-auditmod6b.c): Likewise.
65420 (CFLAGS-tst-auditmod6c.c): Likewise.
65421 (CFLAGS-tst-auditmod7b.c): Likewise.
65422 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
65423
65424 2011-02-02 Ulrich Drepper <drepper@gmail.com>
65425
65426 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
65427 function to the callback.
65428 Patch partly by Jiri Olsa <jolsa@redhat.com>.
65429
65430 2011-02-02 Andreas Schwab <schwab@redhat.com>
65431
65432 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
65433 of errno.
65434
65435 2011-01-19 Ulrich Drepper <drepper@gmail.com>
65436
65437 [BZ #11724]
65438 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
65439 of constructors.
65440 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
65441 of destructors.
65442 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
65443
65444 [BZ #11724]
65445 * elf/Makefile: Add rules to build and run new test.
65446 * elf/tst-initorder.c: New file.
65447 * elf/tst-initorder.exp: New file.
65448 * elf/tst-initordera1.c: New file.
65449 * elf/tst-initordera2.c: New file.
65450 * elf/tst-initordera3.c: New file.
65451 * elf/tst-initordera4.c: New file.
65452 * elf/tst-initorderb1.c: New file.
65453 * elf/tst-initorderb2.c: New file.
65454 * elf/tst-order-a1.c: New file.
65455 * elf/tst-order-a2.c: New file.
65456 * elf/tst-order-a3.c: New file.
65457 * elf/tst-order-a4.c: New file.
65458 * elf/tst-order-b1.c: New file.
65459 * elf/tst-order-b2.c: New file.
65460 * elf/tst-order-main.c: New file.
65461 New test case by George Gensure <werkt0@gmail.com>.
65462
65463 2010-10-01 Andreas Schwab <schwab@redhat.com>
65464
65465 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
65466 decoding ACE if AI_CANONIDN.
65467
65468 2011-01-18 Ulrich Drepper <drepper@gmail.com>
65469
65470 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
65471
65472 2011-01-17 Ulrich Drepper <drepper@gmail.com>
65473
65474 * version.h (RELEASE): Bump for 2.13 release.
65475 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
65476
65477 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
65478
65479 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
65480 MADV_NOHUGEPAGE.
65481 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
65482 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
65483 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
65484 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
65485 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
65486 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65487
65488 * posix/getconf.c: Update copyright year.
65489 * catgets/gencat.c: Likewise.
65490 * csu/version.c: Likewise.
65491 * debug/catchsegv.sh: Likewise.
65492 * debug/xtrace.sh: Likewise.
65493 * elf/ldconfig.c: Likewise.
65494 * elf/ldd.bash.in: Likewise.
65495 * elf/sprof.c (print_version): Likewise.
65496 * iconv/iconv_prog.c: Likewise.
65497 * iconv/iconvconfig.c: Likewise.
65498 * locale/programs/locale.c: Likewise.
65499 * locale/programs/localedef.c: Likewise.
65500 * malloc/memusage.sh: Likewise.
65501 * malloc/mtrace.pl: Likewise.
65502 * nscd/nscd.c (print_version): Likewise.
65503 * nss/getent.c: Likewise.
65504
65505 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
65506 PF_CAIF, and PF_ALG.
65507 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
65508
65509 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
65510
65511 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
65512 (modules-names): Use them.
65513 (ifunc-test-modules, ifunc-pie-tests): Define.
65514 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
65515 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
65516 (test-extras): Likewise.
65517 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
65518 $(compile-command.c).
65519 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
65520 (all-built-dso): Define.
65521 (check-textrel.out, check-execstack.out): Depend on it.
65522
65523 * configure.in: Don't override --enable-multi-arch.
65524
65525 2011-01-15 Ulrich Drepper <drepper@gmail.com>
65526
65527 [BZ #6812]
65528 * nscd/hstcache.c (tryagain): Define.
65529 (cache_addhst): Return tryagain not notfound for temporary errors.
65530 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
65531 failed.
65532
65533 2011-01-14 Ulrich Drepper <drepper@gmail.com>
65534
65535 [BZ #10563]
65536 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
65537 to make the syscall.
65538 * sysdeps/unix/sysv/linux/setgroups.c: New file.
65539
65540 [BZ #12378]
65541 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
65542 and fall back to matching as normal character if the string ends before
65543 the matching ']' is found. This is what POSIX requires.
65544 * posix/testfnm.c: Adjust test result.
65545 * posix/globtest.sh: Adjust test result. Add new test.
65546 * posix/tst-fnmatch.input: Likewise.
65547 * posix/tst-fnmatch2.c: Add new test.
65548
65549 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
65550
65551 * elf/Makefile (check-execstack): Revert last change. Depend on
65552 check-execstack.h.
65553 (check-execstack.h): New target.
65554 (generated): Add check-execstack.h.
65555 * elf/check-execstack.c: Include "check-execstack.h".
65556 (main): Revert last change.
65557 (handle_file): Return zero if GNU_STACK is absent and
65558 DEFAULT_STACK_PERMS doesn't include PF_X.
65559
65560 2011-01-13 Ulrich Drepper <drepper@gmail.com>
65561
65562 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
65563 in child fails because the descriptor is already closed.
65564 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
65565 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
65566 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
65567
65568 [BZ #12397]
65569 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
65570 syscall.
65571
65572 [BZ #10484]
65573 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
65574 temporary buffer used to handle multi lookups locally.
65575 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
65576
65577 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65578
65579 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
65580 loader is ld.so.
65581
65582 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
65583
65584 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
65585 alignment for SSE2.
65586
65587 2011-01-12 Ulrich Drepper <drepper@gmail.com>
65588
65589 [BZ #12394]
65590 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
65591 characters. When rounding increased number of integer digits recompute
65592 number of groups.
65593 * stdio-common/tst-grouping.c: New file.
65594 * stdio-common/Makefile: Add rules to build and run tst-grouping.
65595
65596 2011-01-09 Ulrich Drepper <drepper@gmail.com>
65597
65598 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
65599 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
65600
65601 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
65602 void.
65603 * bits/select.h: Likewise.
65604
65605 2011-01-08 Ulrich Drepper <drepper@gmail.com>
65606
65607 * po/ja.po: Update from translation team.
65608
65609 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
65610
65611 [BZ #11155]
65612 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
65613 implementation just like for lxstat, fxstatat, et al.
65614
65615 2010-12-27 Jim Meyering <meyering@redhat.com>
65616
65617 [BZ #12348]
65618 * posix/regexec.c (build_trtable): Return failure indication upon
65619 calloc failure. Otherwise, re_search_internal could infloop on OOM.
65620
65621 2010-12-25 Ulrich Drepper <drepper@gmail.com>
65622
65623 [BZ #12201]
65624 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
65625 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
65626 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
65627 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
65628
65629 [BZ #12207]
65630 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
65631
65632 [BZ #12204]
65633 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
65634 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
65635
65636 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
65637
65638 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
65639 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
65640 script has SORT_BY_INIT_PRIORITY.
65641 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
65642 NO_CTORS_DTORS_SECTIONS is defined.
65643 * elf/soinit.c: Likewise.
65644 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
65645 NO_CTORS_DTORS_SECTIONS is defined.
65646 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
65647 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
65648 * sysdeps/sh/init-first.c: Likewise.
65649 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
65650
65651 2010-12-24 Ulrich Drepper <drepper@gmail.com>
65652
65653 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
65654 always use the slow path.
65655
65656 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
65657
65658 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
65659 similar rule which adds the sysdep directories to the header search in
65660 order to pick up the correct platform stackinfo.h.
65661 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
65662 perform test if it is, otherwise return successfully without testing.
65663 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
65664 DEFAULT_STACK_PERMS define in stackinfo.h.
65665 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
65666 defined in stackinfo.h.
65667 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
65668 DEFAULT_STACK_PERMS defined in stackinfo.h.
65669 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
65670 * sysdeps/ia64/stackinfo.h: Likewise.
65671 * sysdeps/s390/stackinfo.h: Likewise.
65672 * sysdeps/sh/stackinfo.h: Likewise.
65673 * sysdeps/sparc/stackinfo.h: Likewise.
65674 * sysdeps/x86_64/stackinfo.h: Likewise.
65675 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
65676 PF_X for powerpc64. Retain PF_X for powerpc32.
65677
65678 2010-12-19 Ulrich Drepper <drepper@gmail.com>
65679
65680 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
65681 accurately.
65682 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
65683 GETDENTS_64BIT_ALIGNED.
65684
65685 2010-12-14 Ulrich Drepper <dreper@gmail.com>
65686
65687 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
65688
65689 2010-12-10 Andreas Schwab <schwab@redhat.com>
65690
65691 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
65692 _GNU_SOURCE.
65693
65694 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
65695 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
65696 Remove __restrict.
65697 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
65698 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
65699
65700 2010-12-09 Ulrich Drepper <drepper@gmail.com>
65701
65702 [BZ #11655]
65703 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
65704 are initialized.
65705
65706 2010-12-09 Jakub Jelinek <jakub@redhat.com>
65707
65708 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
65709
65710 2010-12-03 Ulrich Drepper <drepper@gmail.com>
65711
65712 * po/it.po: Update from translation team.
65713
65714 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
65715
65716 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
65717 unused codes.
65718
65719 2010-11-30 Ulrich Drepper <drepper@gmail.com>
65720
65721 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
65722
65723 2010-11-24 Andreas Schwab <schwab@redhat.com>
65724
65725 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
65726 specially.
65727 (gaih_getanswer_slice): Likewise.
65728
65729 2010-10-20 Jakub Jelinek <jakub@redhat.com>
65730
65731 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
65732
65733 2010-05-31 Petr Baudis <pasky@suse.cz>
65734
65735 [BZ #11149]
65736 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
65737 silently even in the chroot mode.
65738
65739 2010-11-22 Ulrich Drepper <drepper@gmail.com>
65740
65741 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
65742 last patch a bit. Pretty printing
65743
65744 2010-05-31 Petr Baudis <pasky@suse.cz>
65745
65746 [BZ #10085]
65747 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
65748 initialization of skip_initgroups_dyn.
65749
65750 2010-11-19 Ulrich Drepper <drepper@gmail.com>
65751
65752 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
65753 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
65754
65755 2010-11-16 Ulrich Drepper <drepper@gmail.com>
65756
65757 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
65758
65759 2010-11-11 Andreas Schwab <schwab@redhat.com>
65760
65761 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
65762 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
65763 (tst-fnmatch-ENV): Set MALLOC_TRACE.
65764 ($(objpfx)tst-fnmatch-mem): New rule.
65765 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
65766 * posix/tst-fnmatch.c (main): Call mtrace.
65767
65768 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
65769
65770 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65771 Support Intel processor model 6 and model 0x2c.
65772
65773 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
65774
65775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
65776 signed comparison.
65777
65778 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
65779
65780 [BZ #12205]
65781 * string/test-strncasecmp.c (check_result): New function.
65782 (do_one_test): Use it.
65783 (check1): New function.
65784 (test_main): Use it.
65785 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
65786 Support strcasecmp and strncasecmp.
65787
65788 2010-11-08 Ulrich Drepper <drepper@gmail.com>
65789
65790 [BZ #12194]
65791 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
65792 * sysdeps/x86_64/bits/byteswap.h: Likewise.
65793
65794 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
65795
65796 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
65797 IFUNC support.
65798 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
65799 memset-x86-64.
65800 * sysdeps/x86_64/multiarch/bzero.S: New file.
65801 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
65802 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
65803 * sysdeps/x86_64/multiarch/memset.S: New file.
65804 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
65805 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
65806 Set bit_Prefer_SSE_for_memop for Intel processors.
65807 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
65808 Define.
65809 (index_Prefer_SSE_for_memop): Define.
65810 (HAS_PREFER_SSE_FOR_MEMOP): Define.
65811
65812 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
65813
65814 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
65815 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
65816
65817 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
65818
65819 [BZ #12191]
65820 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65821 (__x86_64_raw_data_cache_size_half): Likewise.
65822 (__x86_64_raw_shared_cache_size): Likewise.
65823 (__x86_64_raw_shared_cache_size_half): Likewise.
65824
65825 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
65826 (__x86_64_raw_data_cache_size_half): Likewise.
65827 (__x86_64_raw_shared_cache_size): Likewise.
65828 (__x86_64_raw_shared_cache_size_half): Likewise.
65829 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
65830 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
65831 and __x86_64_raw_shared_cache_size_half. Round
65832 __x86_64_data_cache_size_half, __x86_64_data_cache_size
65833 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
65834 to multiple of 256 bytes.
65835
65836 2010-11-03 Ulrich Drepper <drepper@gmail.com>
65837
65838 [BZ #12167]
65839 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
65840 of inacessible symlinks. Verify result of symlink before returning it.
65841 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
65842 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
65843
65844 2010-10-28 Erich Ritz <erichritz@gmail.com>
65845
65846 * math/math.h (isinf): Fix typo in comment.
65847
65848 2010-11-01 Ulrich Drepper <drepper@gmail.com>
65849
65850 * po/da.po: Update from translation team.
65851
65852 2010-10-26 Ulrich Drepper <drepper@gmail.com>
65853
65854 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
65855 is added to the list.
65856
65857 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
65858 Ulrich Drepper <drepper@gmail.com>
65859
65860 * elf/dl-object.c (_dl_new_object): Don't append the new object to
65861 the global list here. Move code to...
65862 (_dl_add_to_namespace_list): ...here. New function.
65863 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
65864 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
65865 * elf/dl-load.c (lose): Don't remove the element from the list.
65866 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
65867 (_dl_map_object): Likewise.
65868
65869 2010-10-25 Ulrich Drepper <drepper@gmail.com>
65870
65871 [BZ #12159]
65872 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
65873 into all bytes of SSE register.
65874 Patch by Richard Li <richardpku@gmail.com>.
65875
65876 2010-10-24 Ulrich Drepper <drepper@gmail.com>
65877
65878 [BZ #12140]
65879 * malloc/malloc.c (_int_free): Fill correct number of bytes when
65880 perturbing.
65881
65882 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
65883
65884 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
65885 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
65886 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
65887 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
65888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
65889 submachine.
65890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
65891
65892 2010-10-22 Andreas Schwab <schwab@redhat.com>
65893
65894 * include/dlfcn.h (__RTLD_SECURE): Define.
65895 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
65896 mode & __RTLD_SECURE instead.
65897 (open_path): Rename preloaded parameter to secure.
65898 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
65899 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
65900 * elf/dl-deps.c (openaux): Likewise.
65901 * elf/rtld.c (struct map_args): Remove is_preloaded.
65902 (map_doit): Don't use it.
65903 (dl_main): Likewise.
65904 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
65905 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
65906
65907 2010-09-09 Andreas Schwab <schwab@redhat.com>
65908
65909 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
65910 (sysd-rules-targets): Remove duplicates.
65911 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
65912 rtld-%.$o dependency.
65913
65914 2010-10-18 Andreas Schwab <schwab@redhat.com>
65915
65916 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
65917 _dl_map_object do it.
65918
65919 2010-10-19 Ulrich Drepper <drepper@gmail.com>
65920
65921 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
65922 fast fma builtins, define the macros in the C99 standard.
65923 (FP_FAST_FMAF): Likewise.
65924 (FP_FAST_FMAL): Likewise.
65925 * sysdeps/x86_64/bits/mathdef.h: Likewise.
65926
65927 * bits/mathdef.h: Update copyright year.
65928 * sysdeps/powerpc/bits/mathdef.h: Likewise.
65929
65930 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
65931
65932 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
65933 builtins, define the macros in the C99 standard.
65934 (FP_FAST_FMAF): Likewise.
65935 (FP_FAST_FMAL): Likewise.
65936 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
65937 multiply/add.
65938 (FP_FAST_FMAF): Likewise.
65939
65940 2010-10-15 Jakub Jelinek <jakub@redhat.com>
65941
65942 [BZ #3268]
65943 * math/libm-test.inc (fma_test): Some new testcases.
65944 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
65945 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
65946 y and infinite z. Do multiplication by C already in long double.
65947 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
65948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
65949 y and infinite z. Do bitwise or of inexact bit into u.d.
65950 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
65951 * sysdeps/i386/fpu/s_fmaf.S: Removed.
65952 * sysdeps/i386/fpu/s_fma.S: Removed.
65953 * sysdeps/i386/fpu/s_fmal.S: Removed.
65954
65955 2010-10-16 Jakub Jelinek <jakub@redhat.com>
65956
65957 [BZ #3268]
65958 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
65959 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
65960 computation is not scheduled after fetestexcept. Fix value
65961 of minimum denormal long double.
65962
65963 2010-10-14 Jakub Jelinek <jakub@redhat.com>
65964
65965 [BZ #3268]
65966 * math/libm-test.inc (fma_test): Add some more tests.
65967 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
65968 correctly.
65969
65970 2010-10-15 Andreas Schwab <schwab@redhat.com>
65971
65972 * scripts/data/localplt-s390-linux-gnu.data: New file.
65973 * scripts/data/localplt-s390x-linux-gnu.data: New file.
65974
65975 2010-10-13 Jakub Jelinek <jakub@redhat.com>
65976
65977 [BZ #3268]
65978 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
65979 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
65980 instead of dbl-64.
65981 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
65982 inlines.
65983 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
65984 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
65985 if one of x and y is very large and the other is subnormal.
65986 * sysdeps/s390/fpu/s_fmaf.c: New file.
65987 * sysdeps/s390/fpu/s_fma.c: New file.
65988 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
65989 * sysdeps/powerpc/fpu/s_fma.S: New file.
65990 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
65991 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
65992 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
65993
65994 2010-10-12 Jakub Jelinek <jakub@redhat.com>
65995
65996 [BZ #3268]
65997 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
65998 fma tests.
65999 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
66000 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
66001 * sysdeps/i386/i686/multiarch/s_fma.c: Include
66002 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
66003 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
66004 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
66005 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
66006
66007 2010-10-12 Ulrich Drepper <drepper@redhat.com>
66008
66009 [BZ #12078]
66010 * posix/regcomp.c (parse_branch): One more memory leak plugged.
66011 * posix/bug-regex31.input: Add test case.
66012
66013 2010-10-11 Ulrich Drepper <drepper@gmail.com>
66014
66015 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
66016 * posix/bug-regex31.input: New file.
66017
66018 [BZ #12078]
66019 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
66020 (parse_sub_exp): Fix last change, use postorder.
66021
66022 * posix/bug-regex31.c: New file.
66023 * posix/Makefile: Add rules to build and run bug-regex31.
66024
66025 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
66026
66027 [BZ #12078]
66028 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
66029
66030 [BZ #12108]
66031 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
66032 to have entries in sys_siglist.
66033
66034 [BZ #12093]
66035 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
66036 be NULL.
66037
66038 2010-10-07 Jakub Jelinek <jakub@redhat.com>
66039
66040 [BZ #3268]
66041 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
66042 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
66043 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
66044 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
66045 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
66046 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
66047 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
66048 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
66049 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
66050 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
66051 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
66052 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
66053 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
66054 * math/ftestexcept.c (fetestexcept): Likewise.
66055 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
66056 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
66057 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
66058 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
66059 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
66060 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
66061 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
66062
66063 2010-10-11 Ulrich Drepper <drepper@gmail.com>
66064
66065 [BZ #12107]
66066 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
66067 newline.
66068
66069 2010-10-06 Ulrich Drepper <drepper@gmail.com>
66070
66071 * string/bug-strstr1.c: New file.
66072 * string/Makefile: Add rules to build and run bug-strstr1.
66073
66074 2010-10-05 Eric Blake <eblake@redhat.com>
66075
66076 [BZ #12092]
66077 * string/str-two-way.h (two_way_long_needle): Always clear memory
66078 when skipping input due to the shift table.
66079
66080 2010-10-03 Ulrich Drepper <drepper@gmail.com>
66081
66082 [BZ #12005]
66083 * malloc/mcheck.c: Handle large requests.
66084
66085 [BZ #12077]
66086 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
66087 for strncmp and strncasecmp.
66088 * string/stratcliff.c: Add tests for strcmp and strncmp.
66089 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
66090
66091 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
66092
66093 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
66094 __set_fpscr.
66095
66096 2010-09-30 Andreas Jaeger <aj@suse.de>
66097
66098 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
66099 (CGROUP_SUPER_MAGIC): Define.
66100 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66101 Handle btrfs and cgroup file systems.
66102 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66103 Likewise.
66104
66105 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
66106
66107 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
66108 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
66109
66110 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
66111
66112 [BZ #12067]
66113 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
66114 trying to locate the ELF header.
66115
66116 2010-09-27 Andreas Schwab <schwab@redhat.com>
66117
66118 [BZ #11611]
66119 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
66120 Mask out sign-bit copies when constructing f_fsid.
66121
66122 2010-09-24 Petr Baudis <pasky@suse.cz>
66123
66124 * debug/stack_chk_fail_local.c: Add missing licence exception.
66125 * debug/warning-nop.c: Likewise.
66126
66127 2010-09-15 Joseph Myers <joseph@codesourcery.com>
66128
66129 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
66130 implementing getdents64 using getdents syscall, set d_type if
66131 __ASSUME_GETDENTS32_D_TYPE.
66132
66133 2010-09-16 Andreas Schwab <schwab@redhat.com>
66134
66135 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
66136 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
66137
66138 2010-09-21 Ulrich Drepper <drepper@redhat.com>
66139
66140 [BZ #12037]
66141 * posix/unistd.h: Undo change of feature selection for ftruncate from
66142 2010-01-11.
66143
66144 2010-09-20 Ulrich Drepper <drepper@redhat.com>
66145
66146 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
66147 detection.
66148
66149 2010-09-20 Andreas Schwab <schwab@redhat.com>
66150
66151 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
66152 fanotify_mark.
66153 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66154
66155 2010-09-14 Andreas Schwab <schwab@redhat.com>
66156
66157 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
66158 variables after CHECK_SP call.
66159 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
66160
66161 2010-09-13 Andreas Schwab <schwab@redhat.com>
66162 Ulrich Drepper <drepper@redhat.com>
66163
66164 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
66165 re-relocationg ld.so.
66166 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
66167 _dl_init_paths call.
66168 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
66169 here anymore.
66170
66171 2010-09-14 Ulrich Drepper <drepper@redhat.com>
66172
66173 * resolv/res_init.c (__res_vinit): Count the default server we added.
66174
66175 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
66176 Ulrich Drepper <drepper@redhat.com>
66177
66178 [BZ #11968]
66179 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
66180 (____longjmp_chk): Use %ebx for saving value across system call.
66181 Add unwind info.
66182
66183 2010-09-06 Andreas Schwab <schwab@redhat.com>
66184
66185 * manual/Makefile: Don't mix pattern rules with normal rules.
66186
66187 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
66188
66189 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
66190 operation.
66191 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
66192 * libio/iofopncook.c (_IO_cookie_init): Likewise.
66193 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
66194 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
66195 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
66196 Likewise.
66197
66198 2010-09-04 Ulrich Drepper <drepper@redhat.com>
66199
66200 [BZ #11979]
66201 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
66202 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
66203
66204 2010-09-02 Ulrich Drepper <drepper@redhat.com>
66205
66206 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
66207 * sysdeps/x86_64/addmul_1.S: Likewise.
66208 * sysdeps/x86_64/lshift.S: Likewise.
66209 * sysdeps/x86_64/mul_1.S: Likewise.
66210 * sysdeps/x86_64/rshift.S: Likewise.
66211 * sysdeps/x86_64/sub_n.S: Likewise.
66212 * sysdeps/x86_64/submul_1.S: Likewise.
66213
66214 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
66215
66216 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
66217 Define __sched_param instead of SCHED_* and sched_param when
66218 <bits/sched.h> is included with __need_schedparam defined.
66219 * bits/sched.h [__need_schedparam]
66220 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
66221 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
66222 (__defined_schedparam): Define to 1.
66223 (__sched_param): New structure, identical to sched_param.
66224 (__need_schedparam): Undefine.
66225
66226 2010-08-31 Mike Frysinger <vapier@gentoo.org>
66227
66228 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
66229 (epoll_create1): Declare.
66230
66231 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
66232
66233 2010-08-31 Andreas Schwab <schwab@redhat.com>
66234
66235 [BZ #7066]
66236 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
66237 shifting retval into place.
66238
66239 2010-09-01 Ulrich Drepper <drepper@redhat.com>
66240
66241 * nis/rpcsvc/nis.h: Update copyright notice.
66242 * nis/rpcsvc/nis.x: Likewise.
66243 * nis/rpcsvc/nis_callback.h: Likewise.
66244 * nis/rpcsvc/nis_callback.x: Likewise.
66245 * nis/rpcsvc/nis_object.x: Likewise.
66246 * nis/rpcsvc/nis_tags.h: Likewise.
66247 * nis/rpcsvc/yp.h: Likewise.
66248 * nis/rpcsvc/yp.x: Likewise.
66249 * nis/rpcsvc/ypupd.h: Likewise.
66250 * nis/yp_xdr.c: Likewise.
66251 * nis/ypupdate_xdr.c: Likewise.
66252
66253 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
66254 mainly the body of pmap_getport. Add parameters to specify timeouts.
66255 (pmap_getport): Use __libc_rpc_getport.
66256 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
66257 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
66258 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
66259
66260 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
66261
66262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
66263 fanotify_mark.
66264
66265 2010-08-27 Roland McGrath <roland@redhat.com>
66266
66267 * sysdeps/i386/i686/multiarch/Makefile
66268 (CFLAGS-varshift.c): New variable.
66269
66270 2010-08-27 Ulrich Drepper <drepper@redhat.com>
66271
66272 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
66273 * sysdeps/i386/i686/multiarch/varshift.c: New file.
66274
66275 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
66276
66277 * sysdeps/x86_64/strlen.S: Minimal code improvement.
66278
66279 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
66280
66281 * sysdeps/x86_64/strlen.S: Unroll the loop.
66282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66283 strlen-sse2 strlen-sse2-bsf.
66284 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
66285 __strlen_no_bsf if bit_Slow_BSF is set.
66286 (__strlen_sse42): Removed.
66287 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
66288 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
66289
66290 2010-08-25 Roland McGrath <roland@redhat.com>
66291
66292 * sysdeps/x86_64/multiarch/varshift.S: File removed.
66293 * sysdeps/x86_64/multiarch/varshift.c: New file.
66294 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
66295 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
66296 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
66297 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66298
66299 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
66300
66301 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66302 strlen-sse2 strlen-sse2-bsf.
66303 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
66304 __strlen_sse2_bsf if bit_Slow_BSF is unset.
66305 (__strlen_sse2): Removed.
66306 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
66307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
66308 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
66309 bit_Slow_BSF for Atom.
66310 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
66311 (index_Slow_BSF): Define.
66312 (HAS_SLOW_BSF): Define.
66313
66314 2010-08-25 Ulrich Drepper <drepper@redhat.com>
66315
66316 [BZ #10851]
66317 * resolv/res_init.c (__res_vinit): When no server address at all
66318 is given default to loopback.
66319
66320 2010-08-24 Roland McGrath <roland@redhat.com>
66321
66322 * configure.in: Remove config-name.h generation.
66323 * configure: Regenerated.
66324 * config-name.in: File removed.
66325 * scripts/config-uname.sh: New file.
66326 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
66327 ($(objdir)config-name.h): New target.
66328
66329 * sunrpc/rpc_parse.h: Avoid nested comment.
66330
66331 2010-08-24 Richard Henderson <rth@redhat.com>
66332 Ulrich Drepper <drepper@redhat.com>
66333 H.J. Lu <hongjiu.lu@intel.com>
66334
66335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
66336 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
66337 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
66338 Replace _mm_srli_si128 with __m128i_shift_right. Replace
66339 _mm_alignr_epi8 with _mm_loadu_si128.
66340 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
66341 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
66342 (__m128i_shift_right): Removed.
66343 * sysdeps/i386/i686/multiarch/varshift.h: New file.
66344 * sysdeps/i386/i686/multiarch/varshift.S: New file.
66345 * sysdeps/x86_64/multiarch/varshift.h: New file.
66346 * sysdeps/x86_64/multiarch/varshift.S: New file.
66347
66348 2010-08-21 Mike Frysinger <vapier@gentoo.org>
66349
66350 * configure.in: Move assembler checks to before sysdep dir checking.
66351
66352 2010-08-20 Petr Baudis <pasky@suse.cz>
66353
66354 * LICENSES: Sync the sunrpc license.
66355
66356 2010-08-19 Ulrich Drepper <drepper@redhat.com>
66357
66358 * sunrpc/auth_des.c: Update copyright notice once again.
66359 * sunrpc/auth_none.c: Likewise.
66360 * sunrpc/auth_unix.c: Likewise.
66361 * sunrpc/authdes_prot.c: Likewise.
66362 * sunrpc/authuxprot.c: Likewise.
66363 * sunrpc/bindrsvprt.c: Likewise.
66364 * sunrpc/clnt_gen.c: Likewise.
66365 * sunrpc/clnt_perr.c: Likewise.
66366 * sunrpc/clnt_raw.c: Likewise.
66367 * sunrpc/clnt_simp.c: Likewise.
66368 * sunrpc/clnt_tcp.c: Likewise.
66369 * sunrpc/clnt_udp.c: Likewise.
66370 * sunrpc/clnt_unix.c: Likewise.
66371 * sunrpc/des_crypt.c: Likewise.
66372 * sunrpc/des_soft.c: Likewise.
66373 * sunrpc/get_myaddr.c: Likewise.
66374 * sunrpc/getrpcport.c: Likewise.
66375 * sunrpc/key_call.c: Likewise.
66376 * sunrpc/key_prot.c: Likewise.
66377 * sunrpc/openchild.c: Likewise.
66378 * sunrpc/pm_getmaps.c: Likewise.
66379 * sunrpc/pm_getport.c: Likewise.
66380 * sunrpc/pmap_clnt.c: Likewise.
66381 * sunrpc/pmap_prot.c: Likewise.
66382 * sunrpc/pmap_prot2.c: Likewise.
66383 * sunrpc/pmap_rmt.c: Likewise.
66384 * sunrpc/rpc/auth.h: Likewise.
66385 * sunrpc/rpc/auth_unix.h: Likewise.
66386 * sunrpc/rpc/clnt.h: Likewise.
66387 * sunrpc/rpc/des_crypt.h: Likewise.
66388 * sunrpc/rpc/key_prot.h: Likewise.
66389 * sunrpc/rpc/netdb.h: Likewise.
66390 * sunrpc/rpc/pmap_clnt.h: Likewise.
66391 * sunrpc/rpc/pmap_prot.h: Likewise.
66392 * sunrpc/rpc/pmap_rmt.h: Likewise.
66393 * sunrpc/rpc/rpc.h: Likewise.
66394 * sunrpc/rpc/rpc_des.h: Likewise.
66395 * sunrpc/rpc/rpc_msg.h: Likewise.
66396 * sunrpc/rpc/svc.h: Likewise.
66397 * sunrpc/rpc/svc_auth.h: Likewise.
66398 * sunrpc/rpc/types.h: Likewise.
66399 * sunrpc/rpc/xdr.h: Likewise.
66400 * sunrpc/rpc_clntout.c: Likewise.
66401 * sunrpc/rpc_cmsg.c: Likewise.
66402 * sunrpc/rpc_common.c: Likewise.
66403 * sunrpc/rpc_cout.c: Likewise.
66404 * sunrpc/rpc_dtable.c: Likewise.
66405 * sunrpc/rpc_hout.c: Likewise.
66406 * sunrpc/rpc_main.c: Likewise.
66407 * sunrpc/rpc_parse.c: Likewise.
66408 * sunrpc/rpc_parse.h: Likewise.
66409 * sunrpc/rpc_prot.c: Likewise.
66410 * sunrpc/rpc_sample.c: Likewise.
66411 * sunrpc/rpc_scan.c: Likewise.
66412 * sunrpc/rpc_scan.h: Likewise.
66413 * sunrpc/rpc_svcout.c: Likewise.
66414 * sunrpc/rpc_tblout.c: Likewise.
66415 * sunrpc/rpc_util.c: Likewise.
66416 * sunrpc/rpc_util.h: Likewise.
66417 * sunrpc/rpcinfo.c: Likewise.
66418 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
66419 * sunrpc/rpcsvc/key_prot.x: Likewise.
66420 * sunrpc/rpcsvc/klm_prot.x: Likewise.
66421 * sunrpc/rpcsvc/mount.x: Likewise.
66422 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
66423 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
66424 * sunrpc/rpcsvc/rex.x: Likewise.
66425 * sunrpc/rpcsvc/rstat.x: Likewise.
66426 * sunrpc/rpcsvc/rusers.x: Likewise.
66427 * sunrpc/rpcsvc/sm_inter.x: Likewise.
66428 * sunrpc/rpcsvc/spray.x: Likewise.
66429 * sunrpc/rpcsvc/yppasswd.x: Likewise.
66430 * sunrpc/rtime.c: Likewise.
66431 * sunrpc/svc.c: Likewise.
66432 * sunrpc/svc_auth.c: Likewise.
66433 * sunrpc/svc_authux.c: Likewise.
66434 * sunrpc/svc_raw.c: Likewise.
66435 * sunrpc/svc_run.c: Likewise.
66436 * sunrpc/svc_simple.c: Likewise.
66437 * sunrpc/svc_tcp.c: Likewise.
66438 * sunrpc/svc_udp.c: Likewise.
66439 * sunrpc/svc_unix.c: Likewise.
66440 * sunrpc/svcauth_des.c: Likewise.
66441 * sunrpc/xcrypt.c: Likewise.
66442 * sunrpc/xdr.c: Likewise.
66443 * sunrpc/xdr_array.c: Likewise.
66444 * sunrpc/xdr_float.c: Likewise.
66445 * sunrpc/xdr_mem.c: Likewise.
66446 * sunrpc/xdr_rec.c: Likewise.
66447 * sunrpc/xdr_ref.c: Likewise.
66448 * sunrpc/xdr_sizeof.c: Likewise.
66449 * sunrpc/xdr_stdio.c: Likewise.
66450
66451 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
66452 handling.
66453
66454 2010-08-19 Andreas Schwab <schwab@redhat.com>
66455
66456 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
66457
66458 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
66459
66460 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
66461 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
66462 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
66463 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
66464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
66465 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
66466 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
66467 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
66468 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
66469 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
66470 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
66471 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
66472 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
66473 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
66474
66475 2010-07-26 Anton Blanchard <anton@samba.org>
66476
66477 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
66478 * malloc/arena.c (heap_trim): Likewise.
66479
66480 2010-08-16 Ulrich Drepper <drepper@redhat.com>
66481
66482 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
66483 here. Not...
66484 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
66485 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
66486
66487 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
66488
66489 * sysdeps/i386/elf/Makefile: New file.
66490
66491 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
66492
66493 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
66494 from fanotify_init.
66495 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
66496 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66497
66498 2010-08-15 Ulrich Drepper <drepper@redhat.com>
66499
66500 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
66501 of strncasecmp_l.
66502 * sysdeps/multiarch/strcmp.S: Likewise.
66503
66504 2010-08-14 Ulrich Drepper <drepper@redhat.com>
66505
66506 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66507 strncase_l-nonascii.
66508 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66509 Add strncase_l-ssse3.
66510 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
66511 * sysdeps/x86_64/strcmp.S: Likewise.
66512 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
66513 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
66514 * sysdeps/x86_64/strncase.S: New file.
66515 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
66516 * sysdeps/x86_64/strncase_l.S: New file.
66517 * string/Makefile (strop-tests): Add strncasecmp.
66518 * string/test-strncasecmp.c: New file.
66519
66520 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
66521 warning.
66522
66523 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
66524 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
66525
66526 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
66527
66528 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
66529
66530 2010-08-12 Ulrich Drepper <drepper@redhat.com>
66531
66532 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
66533 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
66534 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
66535
66536 2010-05-01 Alan Modra <amodra@gmail.com>
66537
66538 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
66539 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
66540 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
66541 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
66542 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
66543 tidying. Don't tail-call __sigjmp_save for static lib.
66544 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
66545 save location.
66546 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
66547 (CALL_MCOUNT): Add eh info, and nop after bl.
66548 (TAIL_CALL_SYSCALL_ERROR): New macro.
66549 (PSEUDO_RET): Use it.
66550 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
66551 Correct save location of integer regs and cr.
66552 (_dl_profile_resolve): Correct cr save location. Delete nops
66553 after bl when SHARED. Reduce cfi size a little by better
66554 placement of cfi directives.
66555 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
66556 make a stack frame. Instead use parm save area as a temp.
66557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
66558 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
66559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
66560 Don't make a stack frame for parent, use parm save area.
66561 Increase child stack frame to 112 bytes. Don't save unused reg,
66562 and adjust reg usage. Set up cfi on error recovery and
66563 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
66564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
66565 (__makecontext): Add dummy nop after jump to exit.
66566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
66567 Use correct parm save area and cr save, reduce stack frame.
66568 Correct cfi for possible PSEUDO_RET frame setup.
66569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
66570 Branch to local label emitted by PSEUDO_RET rather than
66571 __syscall_error.
66572
66573 2010-08-12 Andreas Schwab <schwab@redhat.com>
66574
66575 [BZ #11904]
66576 * locale/programs/locale.c (print_assignment): New function.
66577 (show_locale_vars): Use it.
66578
66579 2010-08-11 Ulrich Drepper <drepper@redhat.com>
66580
66581 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
66582 field.
66583 (struct statfs64): Likewise.
66584 (_STATFS_F_FLAGS): Define.
66585 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
66586 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66587 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
66588 (ST_VALID): Define locally.
66589 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
66590 __statvfs_getflags, use the provided value.
66591 * sysdeps/unix/sysv/linux/kernel-features.h: Define
66592 __ASSUME_STATFS_F_FLAGS.
66593
66594 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
66595
66596 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
66597 Add sys/fanotify.h.
66598 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
66599 fanotify_mask for GLIBC_2.13.
66600 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
66601 fanotify_init and fanotify_mark.
66602 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
66603 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
66604
66605 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
66606 Add prlimit.
66607 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
66608 prlimit64 for GLIBC_2.13.
66609 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
66610 prlimit64.
66611 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
66612 syscall.
66613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
66614 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
66615 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
66616 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
66617 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
66618 add prlimit alias.
66619 * sysdeps/unix/sysv/linux/prlimit.c: New file.
66620
66621 [BZ #11903]
66622 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
66623 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
66624
66625 * nss/Makefile: Add rules to build and run tst-nss-test1.
66626 * shlib-versions: Add entry for libnss_test1.
66627 * nss/nss_test1.c: New file.
66628 * nss/tst-nss-test1.c: New file.
66629
66630 * nss/nsswitch.c (__nss_database_custom): Define new variable.
66631 (__nss_configure_lookup): Set appropriate entry in
66632 __nss_configure_lookup to true.
66633 * nss/nsswitch.h: Define enum with indeces of databases in
66634 databases and __nss_database_custom arrays. Declare
66635 __nss_database_custom.
66636 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
66637 to avoid using nscd when custom rules are installed.
66638 * nss/getXXbyYY_r.c: Likewise.
66639 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
66640
66641 * nss/nss_files/files-parse.c: Whitespace fixes.
66642
66643 2010-08-09 Ulrich Drepper <drepper@redhat.com>
66644
66645 [BZ #11883]
66646 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
66647 * posix/fnmatch_loop.c: Likewise.
66648
66649 2010-07-17 Andi Kleen <ak@linux.intel.com>
66650
66651 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
66652 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
66653 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
66654 * Versions.def [GLIBC_2.13]: Add.
66655
66656 2010-08-06 Ulrich Drepper <drepper@redhat.com>
66657
66658 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66659 Also fail if tpwd after pwuid call is NULL.
66660
66661 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
66662
66663 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
66664 when converting to ms.
66665
66666 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
66667
66668 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
66669 EOPNOTSUPP errors with ENOTTY.
66670 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
66671 EOPNOTSUPP errors with ENOTTY.
66672
66673 2010-07-31 Ulrich Drepper <drepper@redhat.com>
66674
66675 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
66676 Add strcasecmp_l-ssse3.
66677 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
66678 strcasecmp.
66679 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
66680 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
66681 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
66682
66683 2010-07-30 Ulrich Drepper <drepper@redhat.com>
66684
66685 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
66686
66687 * string/Makefile (strop-tests): Add strcasecmp.
66688 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
66689 strcasecmp_l-nonascii.
66690 (gen-as-const-headers): Add locale-defines.sym.
66691 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
66692 * sysdeps/x86_64/strcasecmp.S: New file.
66693 * sysdeps/x86_64/strcasecmp_l.S: New file.
66694 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
66695 * sysdeps/x86_64/locale-defines.sym: New file.
66696 * string/test-strcasecmp.c: New file.
66697
66698 * string/test-strcasestr.c: Test both ends of the range of characters.
66699 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
66700
66701 2010-07-29 Roland McGrath <roland@redhat.com>
66702
66703 [BZ #11856]
66704 * manual/locale.texi (Yes-or-No Questions): Fix example code.
66705
66706 2010-07-27 Ulrich Drepper <drepper@redhat.com>
66707
66708 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
66709 for ld.so.
66710
66711 2010-07-27 Andreas Schwab <schwab@redhat.com>
66712
66713 * manual/memory.texi (Malloc Tunable Parameters): Document
66714 M_PERTURB.
66715
66716 2010-07-26 Roland McGrath <roland@redhat.com>
66717
66718 [BZ #11840]
66719 * configure.in (-fgnu89-inline check): Set and substitute
66720 gnu89_inline, not libc_cv_gnu89_inline.
66721 * configure: Regenerated.
66722 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
66723
66724 2010-07-26 Ulrich Drepper <drepper@redhat.com>
66725
66726 * string/test-strnlen.c: New file.
66727 * string/Makefile (strop-tests): Add strnlen.
66728 * string/tester.c (test_strnlen): Add a few more test cases.
66729 * string/tst-strlen.c: Better error reporting.
66730
66731 * sysdeps/x86_64/strnlen.S: New file.
66732
66733 2010-07-24 Ulrich Drepper <drepper@redhat.com>
66734
66735 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
66736 lower-latency instructions.
66737
66738 2010-07-23 Ulrich Drepper <drepper@redhat.com>
66739
66740 * string/test-strcasestr.c: New file.
66741 * string/test-strstr.c: New file.
66742 * string/Makefile (strop-tests): Add strstr and strcasestr.
66743 * string/str-two-way.h: Don't undefine MAX.
66744 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
66745
66746 2010-07-21 Andreas Schwab <schwab@redhat.com>
66747
66748 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
66749 strcasestr-nonascii.
66750 (CFLAGS-strcasestr-nonascii.c): Define.
66751 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
66752 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
66753 Remove unused attribute.
66754
66755 2010-07-20 Roland McGrath <roland@redhat.com>
66756
66757 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
66758 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
66759 ld.so.cache was broken. With it, there is no way to disable dsocaps
66760 like LD_HWCAP_MASK can disable hwcaps.
66761
66762 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66763
66764 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
66765
66766 2010-07-16 Ulrich Drepper <drepper@redhat.com>
66767
66768 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
66769 call in strcasestr.
66770 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
66771 __strcasestr_sse42_nonascii.
66772 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
66773 strcasestr-nonascii.c.
66774 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
66775
66776 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
66777
66778 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
66779 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
66780 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
66781 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
66782
66783 2010-07-09 Ulrich Drepper <drepper@redhat.com>
66784
66785 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
66786 fcntl.
66787
66788 2010-07-06 Andreas Schwab <schwab@redhat.com>
66789
66790 [BZ #11577]
66791 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
66792 dl_signal_cerror.
66793
66794 2010-07-06 Ulrich Drepper <drepper@redhat.com>
66795
66796 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
66797 _PC_PIPE_BUF using F_GETPIPE_SZ.
66798
66799 2010-07-05 Roland McGrath <roland@redhat.com>
66800
66801 * manual/arith.texi (Rounding Functions): Fix rint description
66802 implicit in round description.
66803
66804 2010-07-02 Ulrich Drepper <drepper@redhat.com>
66805
66806 * elf/Makefile: Fix linking for a few tests to make recent linker
66807 happy.
66808
66809 2010-06-30 Andreas Schwab <schwab@redhat.com>
66810
66811 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
66812 $(common-objpfx)libc_nonshared.a.
66813
66814 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
66815
66816 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
66817 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
66818 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66819 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66820 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
66821 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
66822 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66823 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
66825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
66826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
66827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
66828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
66829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
66830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
66831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
66832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
66833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
66834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
66835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
66836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
66837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
66838 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
66839 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
66840 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
66841 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
66842 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
66843 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
66844 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
66845 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
66846 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
66847 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
66848 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
66849 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
66850 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
66851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
66852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
66853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
66854 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
66855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
66856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
66857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
66858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
66859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
66860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
66861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
66862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
66863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
66864
66865 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
66866
66867 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
66868 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
66869 * string/memmove.c (memmove): Renamed to ...
66870 (MEMMOVE): ...this. Default to memmove.
66871 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
66872 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
66873 (END_CHK): Define.
66874 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
66875 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
66876 mempcpy-ssse3-back memmove-ssse3-back.
66877 * sysdeps/x86_64/multiarch/bcopy.S: New file .
66878 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
66879 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
66880 * sysdeps/x86_64/multiarch/memcpy.S: New file.
66881 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
66882 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
66883 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
66884 * sysdeps/x86_64/multiarch/memmove.c: New file.
66885 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
66886 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
66887 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
66888 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
66889 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
66890 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
66891 Define.
66892 (index_Fast_Copy_Backward): Define.
66893 (HAS_ARCH_FEATURE): Define.
66894 (HAS_FAST_REP_STRING): Define.
66895 (HAS_FAST_COPY_BACKWARD): Define.
66896
66897 2010-06-21 Andreas Schwab <schwab@redhat.com>
66898
66899 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
66900 Restore proper fallback handling.
66901
66902 2010-06-19 Ulrich Drepper <drepper@redhat.com>
66903
66904 [BZ #11701]
66905 * posix/group_member.c (__group_member): Correct checking loop.
66906
66907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
66908 OOM in getpwuid_r correctly. Return error number when the caller
66909 should return, otherwise -1.
66910 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
66911 call returning > 0 value.
66912 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
66913
66914 2010-06-07 Andreas Schwab <schwab@redhat.com>
66915
66916 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
66917 libc_nonshared.a from targets in modules-names.
66918
66919 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
66920
66921 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
66922 requires it.
66923
66924 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
66925
66926 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
66927 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
66928 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
66929 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
66930
66931 2010-06-02 Andreas Schwab <schwab@redhat.com>
66932
66933 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
66934
66935 2010-06-14 Ulrich Drepper <drepper@redhat.com>
66936
66937 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
66938 and F_GETPIPE_SZ.
66939 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
66940 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
66941 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
66942 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
66943 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
66944 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
66945
66946 2010-06-14 Roland McGrath <roland@redhat.com>
66947
66948 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
66949
66950 2010-06-07 Jakub Jelinek <jakub@redhat.com>
66951
66952 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
66953 __REDIRECT followed by __THROW.
66954 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
66955 * posix/getopt.h (getopt): Likewise.
66956
66957 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
66958
66959 * hurd/lookup-at.c (__file_name_lookup_at): Accept
66960 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
66961 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
66962 in AT_FLAGS.
66963 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
66964 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
66965
66966 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
66967
66968 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
66969
66970 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
66971
66972 [BZ #11640]
66973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66974 Properly check family and model.
66975
66976 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
66977
66978 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
66979
66980 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
66981
66982 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
66983
66984 2010-05-21 Ulrich Drepper <drepper@redhat.com>
66985
66986 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
66987 symbol reference.
66988
66989 2010-05-19 Andreas Schwab <schwab@redhat.com>
66990
66991 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
66992 symbol reference.
66993
66994 2010-05-21 Andreas Schwab <schwab@redhat.com>
66995
66996 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
66997 and internal_recvmmsg.
66998 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
66999 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
67000 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
67001 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
67002
67003 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
67004 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
67005 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
67006
67007 2010-05-20 Andreas Schwab <schwab@redhat.com>
67008
67009 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
67010
67011 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
67012
67013 POWER7 optimizations.
67014 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
67015 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
67016
67017 2010-05-19 Ulrich Drepper <drepper@redhat.com>
67018
67019 * version.h: Update for 2.13 development version.
67020
67021 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
67022
67023 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
67024 exceptions. Return 0.
67025
67026 2010-05-07 Roland McGrath <roland@redhat.com>
67027
67028 * elf/ldconfig.c (main): Add a const.
67029
67030 2010-05-06 Ulrich Drepper <drepper@redhat.com>
67031
67032 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
67033 (args_options): Add no-idn option.
67034 (ahosts_keys_int): Add idn_flags to ai_flags.
67035 (parse_option): Handle 'i' option to clear idn_flags.
67036
67037 * malloc/malloc.c (_int_free): Possible race in the most recently
67038 added check. Only act on the data if no current modification
67039 happened.
67040
67041 See ChangeLog.17 for earlier changes.